Abstract

ETSI OSA APIs Phase 4.   Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1.  ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.The present document is part 13 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Policy Management Service Capability Feature (SCF) aspects of the interface. All aspects of the Policy Management SCF are defined here, these being:
• Sequence Diagrams.
• Class Diagrams.
• Interface specification plus detailed method descriptions.
• State Transition diagrams.
• Data Definitions.
• IDL Description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

Status
Published
Publication Date
02-Jul-2008
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
11-Jun-2008
Due Date
16-Aug-2008
Completion Date
03-Jul-2008

Buy Documents

Standard

ETSI ES 204 915-13 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 13: Policy Management SCF (Parlay 6)

English language (120 pages)
sale 15% off
Preview
sale 15% off
Preview
Standard

ETSI ES 204 915-13 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 13: Policy Management SCF (Parlay 6)

English language (120 pages)
sale 15% off
Preview
sale 15% off
Preview
Standardization document

SIST ES 204 915-13 V1.1.1:2008

English language (120 pages)
Preview
Preview
e-Library read for
×1 day

SIST ES 204 915-13 V1.1.1:2008 is the ETSI standard for Open Service Access (OSA) Application Programming Interface (API) Part 13, the Policy Management SCF (Parlay 6). It specifies the Policy Management interfaces that let applications provision policy information, evaluate policies, and receive policy-event notifications through the OSA APIs.

What does SIST ES 204 915-13 V1.1.1:2008 specify?

SIST ES 204 915-13 V1.1.1:2008 specifies the Policy Management Service Capability Feature (SCF) for OSA Stage 3. The document covers the object model, service interfaces, data definitions, and interface descriptions needed to manage policy-enabled services through a standardized network-facing API.

Clause 1 gives the scope, clause 2 points to the shared OSA overview reference, clause 3 defers common definitions and abbreviations to the base part, and clause 4 explains the Policy Management architecture. The remainder of the document is organized around examples, class diagrams, interface specifications, state and data models, and exception handling.

AnnexWhat it covers
AOMG IDL Description of Policy Management SCF
BW3C WSDL Description of the Policy Management SCF
CJava API Description of the Policy Management SCF
DContents of 3GPP OSA R7 Policy Management
EDescription of Policy Management for 3GPP2 cdma2000 networks
FChange categories for interfaces, methods, data definitions, service properties, exceptions, and other items

What are the key requirements of SIST ES 204 915-13 V1.1.1:2008?

SIST ES 204 915-13 V1.1.1:2008 defines two service interface families: PM Provisioning SCF and PM Policy Evaluation SCF. In practice, that means one interface set is used to create and maintain policy information, while the other is used to ask for policy evaluation, subscribe to events, and receive callbacks.

Policy information is organized into domains, groups, rules, repositories, and signatures

Clause 8 defines the main container objects. IpPolicyManager creates and manages top-level policy domains and repositories, while IpPolicyDomain, IpPolicyGroup, IpPolicyRule, and IpPolicyRepository provide nested containers for policy content.

This structure matters because policy objects are not free-floating. A domain, group, rule, or repository gives names and scope to the objects you create, retrieve, iterate, or remove.

Changes are controlled through transactions

Clause 8.1.1 defines startTransaction(), commitTransaction(), and abortTransaction() on IpPolicyManager. The sequence diagrams in clause 5 repeatedly show that creating or modifying policy objects is done inside a transaction bracket.

For implementers and integrators, this means policy updates are intended to be staged and committed as a unit. That helps avoid partially applied policy changes.

Rules combine conditions, actions, ordering, and validity

Clause 8.1.6 defines the IpPolicyRule attributes and methods that make a rule usable. A rule can be enabled or disabled, given a priority, marked mandatory, assigned policy roles, and built from condition and action lists.

The condition side can be expressed in Disjunctive Normal Form (DNF) or Conjunctive Normal Form (CNF), using TpPolicyConditionListType and TpPolicyConditionList. The action side can also be ordered through SequencedActions, so a policy administrator can say whether action order is mandatory, recommended, or irrelevant.

In practice, this lets a service provider describe both the logic of a rule and how strictly its actions must be executed.

Reusable repository objects and rule-specific objects are both supported

Clause 5.1 and clauses 8.1.5, 8.1.7, and 8.1.9 show two ways to work with conditions and actions. A policy repository holds reusable conditions and actions, while a rule can also contain its own condition or action instances.

That distinction matters for reuse and governance. Shared policy objects can be maintained centrally, while rule-specific objects stay local to a single policy rule.

Policy events are defined separately from rules

Clause 8.1.10 defines IpPolicyEventDefinition, which supplies required and optional attributes for an event type. Clause 8.1.11 defines IpPolicyEventCondition, and clause 8.1.13 defines IpPolicyEventAction, which generates a formal event.

This is important when a policy rule must not only decide something, but also emit a policy event that other clients can subscribe to. Clause 5.3 and clause 5.8 show how event definitions, subscriptions, and notifications fit together.

Policy evaluation uses signatures to select the evaluation context

Clause 8.1.16 defines IpPolicySignature, including input variables, output variables, group names, and policy roles. Clause 5.6 and clause 5.7 show how a client defines the evaluation context and then requests evaluation through IpPolicyEvalManager.

This matters because policy evaluation is not just "run all rules". The signature narrows the request to the relevant domain, groups, and roles, and the evaluation result is returned as name-value data.

Expressions, variables, and service properties are part of the model

Clause 11 defines the policy-specific data types, variable types, and the eBNF for condition and action expressions. Clause 8.1.12 and clause 8.1.14 show that expressions may be represented in XML or eBNF form, with the tag information indicating which syntax is used.

Clause 10 defines service properties that advertise the supported attribute tags, variable tags, and supported type families. In practice, this tells an implementation or buyer which attribute and variable forms the API can handle.

What terms does SIST ES 204 915-13 V1.1.1:2008 define?

SIST ES 204 915-13 V1.1.1:2008 uses the shared definitions from ES 204 915-1, but several terms are central to this part:

  • Open Service Access (OSA) - the architecture that exposes network functionality through an open standardized interface.
  • Service Capability Feature (SCF) - a service area within OSA, such as Policy Management.
  • Unified Modelling Language (UML) - the modeling notation used for sequence diagrams, class diagrams, and state diagrams.
  • Application Service Provider (ASP) - an external application provider that can create and use policy-enabled services.
  • Disjunctive Normal Form (DNF) - one allowed way to structure a rule's condition list.
  • Conjunctive Normal Form (CNF) - the alternative allowed way to structure a rule's condition list.
  • Policy Repository - a container for reusable policy conditions and actions.
  • Policy Signature - the object that defines the evaluation context for a policy request.

Who uses SIST ES 204 915-13 V1.1.1:2008?

SIST ES 204 915-13 V1.1.1:2008 is used by network operators, service providers, ASPs, and application developers working with policy-enabled network services. Clause 4 and the sequence diagrams show use cases such as load balancing, charging, call management, and prepaid-service checks.

It is also relevant to architects and implementation teams that build the OSA Framework, policy engines, provisioning tools, or policy-evaluation clients. Quality and integration teams use it to check whether an implementation exposes the expected interfaces, object model, and data definitions.

What changed in SIST ES 204 915-13 V1.1.1:2008 from the previous edition?

SIST ES 204 915-13 V1.1.1:2008 is based on ES 203 915 and the new requirements for OSA Phase 4. The foreword also states that OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.

Which standards are used with SIST ES 204 915-13 V1.1.1:2008?

SIST ES 204 915-13 V1.1.1:2008 relies on several related documents and references:

  • ES 204 915-1 - provides the OSA overview and the common terms and abbreviations used by this part.
  • ES 204 915-2 - provides common data definitions that clause 11 reuses when a data type is not defined locally.
  • RFC 3460 - supplies the policy core information model that the document says its API is derived from.
  • RFC 2445 - is used in the time-period syntax for IpPolicyTimePeriodCondition.
  • RFC 2591 - is referenced for the bit encoding of the day-of-month and related schedule-style masks.
  • RFC 3060 - is referenced for CIM handling of single-valued octet string attributes and related policy-expression conventions.

What does the SIST ES 204 915-13 V1.1.1:2008 document contain?

SIST ES 204 915-13 V1.1.1:2008 contains sequence diagrams for repository use, rule creation, event creation, domain management, policy evaluation, and event notification. These examples show the normal order of calls and the objects that are passed between the application, policy manager, policy engine, and callbacks.

It also contains class diagrams for the provisioning and evaluation sides of the policy model, plus detailed method descriptions for IpPolicyManager, IpPolicyDomain, IpPolicyGroup, IpPolicyRepository, IpPolicyRule, IpPolicyCondition, IpPolicyAction, IpPolicyEventDefinition, IpPolicySignature, IpPolicyEvalManager, and IpAppPolicyDomain.

Clause 11 adds data definitions for policy conditions, actions, events, variables, name-value lists, and expression syntax, including eBNF rules and example scenarios. Clause 12 lists the exception classes used by the interface, and the annexes provide IDL, WSDL, Java API, and additional mapping material for implementation and interoperability work.

Buy Documents

Standard

ETSI ES 204 915-13 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 13: Policy Management SCF (Parlay 6)

English language (120 pages)
sale 15% off
Preview
sale 15% off
Preview
Standard

ETSI ES 204 915-13 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 13: Policy Management SCF (Parlay 6)

English language (120 pages)
sale 15% off
Preview
sale 15% off
Preview
Standardization document

SIST ES 204 915-13 V1.1.1:2008

English language (120 pages)
Preview
Preview
e-Library read for
×1 day

Get Certified

Connect with accredited certification bodies for this standard

BSI Group

BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.

UKAS United Kingdom Verified

NYCE

Mexican standards and certification body.

EMA Mexico Verified

Sponsored listings

Frequently Asked Questions

SIST ES 204 915-13 V1.1.1:2008 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Open Service Access (OSA) - Application Programming Interface (API) - Part 13: Policy Management SCF (Parlay 6)". This standard covers: ETSI OSA APIs Phase 4. Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1. ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.The present document is part 13 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA). The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs. The present document specifies the Policy Management Service Capability Feature (SCF) aspects of the interface. All aspects of the Policy Management SCF are defined here, these being: • Sequence Diagrams. • Class Diagrams. • Interface specification plus detailed method descriptions. • State Transition diagrams. • Data Definitions. • IDL Description of the interfaces. The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

ETSI OSA APIs Phase 4. Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1. ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.The present document is part 13 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA). The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs. The present document specifies the Policy Management Service Capability Feature (SCF) aspects of the interface. All aspects of the Policy Management SCF are defined here, these being: • Sequence Diagrams. • Class Diagrams. • Interface specification plus detailed method descriptions. • State Transition diagrams. • Data Definitions. • IDL Description of the interfaces. The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

SIST ES 204 915-13 V1.1.1:2008 is classified under the following ICS (International Classification for Standards) categories: 35.100.01 - Open systems interconnection in general. The ICS classification helps identify the subject area and facilitates finding related standards.

SIST ES 204 915-13 V1.1.1:2008 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.

Standards Content (Sample)

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 11 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 4 Policy Management SCF
  • 5 Sequence Diagrams
  • 5.1 Use of Policy Repository
  • 12 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 13 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 5.2 Introduce condition and action into rule
  • 14 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 15 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 5.3 Create event
  • 16 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 17 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 5.4 Create and modify domain
  • 18 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 19 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 5.5 ASP offering services to prepaid subscribers
  • 20 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 21 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 5.6 Create Signature for an evaluation context
  • 22 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 23 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 5.7 Request Evaluation of Policies
  • 5.8 Register for and Receive Notification of a Policy Event
  • 24 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 6 Class Diagrams
  • 25 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 6.1 PM Provisioning SCF Class Diagrams
  • 26 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 27 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 6.2 PM Policy Evaluation SCF Class Diagrams
  • 7 The Service Interface Specifications
  • 7.1 Interface Specification Format
  • 28 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 7.2 Base Interface
  • 7.3 Service Interfaces
  • 7.4 Generic Service Interface
  • 29 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 8 Policy Management (PM) Interface Classes
  • 8.1 PM Provisioning SCF Interface Classes
  • 30 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 31 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 32 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 33 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 34 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 35 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 36 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 37 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 38 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 39 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 40 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 41 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 42 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 43 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 44 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 45 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 46 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 47 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 48 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 49 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 50 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 51 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 52 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 53 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 54 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 55 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 56 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 57 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 58 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 59 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 60 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 61 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 62 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 63 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 64 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)
  • 65 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

1 Scope

The present document is part 13 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).

The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.

The present document specifies the Policy Management Service Capability Feature (SCF) aspects of the interface. All aspects of the Policy Management SCF are defined here, these being:

  • Sequence Diagrams.
  • Class Diagrams.
  • Interface specification plus detailed method descriptions.
  • State Transition diagrams.
  • Data Definitions.
  • IDL Description of the interfaces.

The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

2 References

The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute provisions of the present document.

ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6)".

3 Definitions and abbreviations

3.1 Definitions

For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.

3.2 Abbreviations

For the purposes of the present document, the abbreviations given in ES 204 915-1 apply. ETSI

11 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

4 Policy Management SCF

It is expected that more and more OSA services will use policies to express operational criteria. It is also expected that rd network providers will host policy-enabled services that have been written by 3 party application service providers. In order to manage policy information, control access to it and to request evaluation of policies a policy management service is needed. Consistent with this, a policy management provisioning manager, IpPolicyManager, and a policy evaluation manager, IpPolicyEvalManager have been defined.

APIs have been defined to offer provisioning services. These include APIs to create, update or view policy information rd for any policy enabled service. Similarly APIs have been defined to facilitate interactions between clients (e.g. a 3 party application) and the policies of any policy enabled service. These include APIs to subscribe to policy events, to request evaluation of policies and to request the generation of policy events . All APIs conform to an underlying policy information model that is a derived from the policy core information model defined by the IETF in RFC 3460. Clients that perform administrative tasks of behalf of a policy enabled service, e.g. create, update or delete policy information must obtain access to IpPolicyManager via the Framework. Administrative tasks may then be performed through methods supported by IpPolicyManager. Similarly, clients that need to invoke evaluation of policies of a specific policy enabled service may do so by obtaining access to IpPolicyEvalManager via the Framework. Consistent with the above the Policy Management Service supports two classes of service interfaces for policy provisioning and policy evaluation. These are the PM Provisioning SCF and the PM Policy Evaluation SCF respectively.

Examples of policy enabled services include: A load balancing service that uses policies to manage application loads on the network, a charging service that determines charging criteria based on policies, a call management service that uses policies to direct end-user calls to appropriate call agents, etc. Information in the present document is organized as follows:

  • The Sequence diagrams give the reader a practical idea of how PM provisioning and PM evaluation SCFs are used by clients.
  • The Class relationships clause shows relationships between the various interfaces supported by the PM provisioning and PM evaluation SCFs respectively.
  • The Interface specification clauses describe in detail each of the interfaces shown within the Class diagram clause.
  • The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part ES 204 915-2.

An implementation of this API which supports or implements a method described in the present document, shall support or implement the functionality described for that method, for at least one valid set of values for the parameters of that method. Where a method is not supported by an implementation of a Service interface, the exception P_METHOD_NOT_SUPPORTED shall be returned to any call of that method.

5 Sequence Diagrams

5.1 Use of Policy Repository

The example shown here shows the use of a Policy Repository. The repository is meant to hold unattached conditions and actions. The Network Operator can populate the repository with the conditions and actions that it can support. These may indeed be based on 'off-line' negotiations with the application developer. The application developer uses the conditions and actions in the Policy Repository to create rules for his own application. In the example application logic represented by AppLogic1 belongs to the Network Operator, whereas the application logic represented by AppLogic2 belongs to the ASP. This example uses the same conditions, actions, and rules as the ASP example. ETSI

12 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

AppLogic1 AppLogic2 : IpPolicy Manager : IpPolicyRepository : IpPolicy ExpressionCondition : IpPolicyExpressionAction : IpPolicyDomain : IpPolicyRule 1: startTransaction( ) 2: createRepository ( ) 3: new() 4: createCondition( ) 5: new() 6: createAction( ) 7: new() 8: commitTransaction( ) 9: startTransaction( ) 10: getRepository( ) 11: getRepos itory Count( ) 12: getConditionCount( ) 13: getConditionIterator( ) 14: getCondition( ) 15: getActionCount( ) 16: getActionIterator( ) 17: getAction( ) 18: createDomain( ) 19: new() 20: createRule( ) 21: new() 22: setConditionList( ) 23: setActionList( ) 24: commitTransaction( )

1: The creation of the repository by the Network Operator takes place within one transaction. 2: The method createRepository is invoked on the IpPolicyManager interface to create a new repository. 3: As a result of the createRepository method a new instance of the IpPolicyRepository interface is created. Its interface reference is returned as return parameter of the createRepository method. 4: The Network Operator creates an unattached condition in the new repository by invoking the createCondition method. For simplicity reasons, this is the same condition as in sequence 8 of the ASP example. The same condition attributes apply.

5: A new instance of the IpPolicyExpressionCondition interface is created. ETSI

13 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

6: The Network Operator creates an unattached action in the repository. Again, this is the same action as in sequence 10 of the ASP example. The same action attributes apply. 7: A new instance of the IpPolicyExpressionAction interface is created. 8: The Network Operator is finished with creating and populating the repository and closes the transaction. 9: Now that a repository exists, the ASP application can open a transaction to start creating a rule based on the conditions and actions stored in the repository.

10: The application invokes the getRepository to obtain a reference to the top-level repository. The returned reference in this case is the reference to the new repository just created by the Network Operator. 11: The application can invoke the getRepositoryCount method on the IpPolicyRepository interface to check whether there are any sub-repositories available. This is not the case for this example. 12: Before trying to obtain all available conditions in this repository the application retrieves the number of conditions by invoking the method getConditionCount.

13: The application can now invoke the getConditioniterator method to obtain the reference to an iterator that contains the names of each of the conditions contained by this repository that the application is authorized to see. As the previous method only return one available condition, this would be only one name, i.e. "SufficientCredit".

14: A reference to the condition can be obtained by invoking getCondition, with the condition name from the iterator as input parameter.

15: Similar to 12.

16: Similar to 13.

17: Similar to 14.

18: At this point in time the application has the names and references to the unattached condition and action from the repository it wants to use to create the rule. First a domain is created by invoking the createDomain method on the IpPolicyManager interface.

19: A new instance of the IpPolicyDomain interface is created. 20: The application invokes createRule to create a rule within the domain that was just created in flow 18 and 19. 21: A new instance of the IpPolicyRule interface is created.

22: By invoking the method setConditionList, the application can now apply the condition from the repository to this rule, by passing the condition reference, obtained by getCondition in flow 14, as an input parameter. 23: Similarly the application can apply the action to the rule by invoking setActionList. 24: Finally, once the rule is created using the condition and action from the policy repository, the transaction can be closed.

5.2 Introduce condition and action into rule

This sequence diagram describes how a specific policy rule is managed. A rule consists generally of conditions and of actions, the latter being evaluated if all conditions evaluate to true. This sequence includes:

  • creation of a condition and introduction of it into the rule;
  • retrieval of an already defined action object from a repository and introduction into the rule;
  • establishing a transaction bracket.

Presumption: the Application got a reference to the group, e.g. by having performed the sequence "create and modify domain" as in clause 5.4.

ETSI

14 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

: IpPolicyRule : (Logical : : :

View::Application) IpPolicyGroup IpPolicyManager IpPol ic yRepository 1: startTransaction( ) 2: createRule( ) 3: commitTransaction( ) 4: startTransaction( ) 5: createCondition( ) 6: commitTransaction( ) 7: getRepository( ) 8: getAction( ) 9: startTransaction( ) 10: setActionList( ) 11: setConditionList( ) 12: commitTransaction( )

1: Opens the transaction bracket.

2: creates a rule object in the group by passing the name as parameter. The method returns the reference to the new rule object.

3: Closes the transaction bracket.

4: Opens the transaction bracket.

5: After having created the rule object one can "fill" it with actions and conditions. Here a condition is created on the rule object, thus becoming a part of the rule. Conditions defined in such a way cannot be reused in other rules. For this the repository approach should be used.

Parameters passed are the condition name and the condition type. Returns a reference to this condition object.

Note that: the type of condition object that is to be created must be one of those specified in TpPolicyConditionType, clause 11.1.4.

ETSI

15 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

The method createCondition() is used to create a new instance of a condition type in the repository or rule. This method passes the name of the condition, the type of the condition and an appropriate set of attribute-value pairs. Note that it is necessary to include, within the conditionAttributes argument of createCondition(), all those attributevalue pairs that are not inherited from IpPolicyCondition - if the inherited attribute-value pairs are included in this argument then their assigned values will override the values assigned prior to this assignment. Thus, for example, if the new condition type to be created is TpPolicyExpressionCondition, then the attribute named "Expression" and its value must be included in conditionAttributes (also see clause 8.1.12). Note that this call may throw an exception if the value of "Expression" is not parsable.

The steps to create an action object instance are similar to those taken to create a condition object instance. We use the method createAction() to create a new action instance. Note that an action object must be one of those specified in TpPolicyActionType, clause 11.1.7. It is necessary to include all the attribute-value pairs that are not inherited from IpPolicyAction, in the actionAttributes argument of createAction() . 6: Closes the transaction bracket.

7: Now we're using the repository approach, i.e. reusable condition or action objects. In this example we reuse an action.

For that purpose we ask at the IpPolicyManager interface for a reference to a named repository. The repository name is passed.

Returns the reference to the repository.

8: If we know already the name of the action object one retrieves the action directly by passing the name as parameter. Otherwise one has to retrieve the name first by using an action iterator. Returns a reference to the action object.

9: Opens the transaction bracket.

10: Now, the action(s) must be assigned to the rule. Furthermore and different to the conditions, one has to assign an ordering number to the action.

Passed parameter is the action list, which is a list of action reference/ sequence pairs. 11: After having created or retrieved all needed conditions they must be assigned to the rule. This is done by passing the list of condition to that method.

This is explicitly done by passing TpPolicyConditionList again consisting of TpPolicyConditionListElements which contains the reference the IpPolicyRule object created with message 2. If the rule is active, this will then cause the expression defined in the condition to be evaluated (as often as necessary). Note that the binding between the variables referenced in the expression and the instances of the variable available is done each time the expression is evaluated. That is, when evaluating a variable reference, each enclosing domain is searched in order (from closest to farthest) for a matching variable. If one is found, it is used. If no matching variable is set, the expression condition fails (evaluates to FALSE). Activation of actions is done similarly.

12: Closes the transaction bracket.

5.3 Create event

This sequence shows how policy events are used.

For clarification we list the different policy related objects used:

  • IpPolicyEventDefinition: The "template" used to define allowable events. The template is used to define formally a distinct type of rule condition and rule action, namely, IpPolicyEventCondition and IpPolicyEventAction.
  • IpPolicyEventCondition: A special instance of a policy condition used in a rule. The condition evaluates to "True" on the occurrence of the event instance that is formally associated with it. ETSI

16 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

  • IpPolicyEventAction: A special instance of a policy action used in a rule. The action results in the generation of an instance of the formal event associated with it.
  • TpPolicyEvent: This data type is passed as a parameter in the formal notification (to a client) of the occurrence of an instance of an event.

Presumption: the reference to a rule has been somehow retrieved. : (Logical : : : IpPolicyR ule : : : (Logical View::Application) IpAppPolicyDomain IpPolicyManager IpPolicyDomain IpPolicyEventDefinition View::PolicyEng... 1: startTransaction( ) 2: createEventDefinition( ) 3: setRequiredAttributes( ) 4: setOptionalAttributes( ) 5: createCondition( ) 6: setValidityPeriodCondition( ) 7: createAction( ) 8: setActionList( ) 9: com mitTransaction( )

1: All changes of policy objects must be performed in a transaction bracket. This method opens the bracket. 2: This method creates a new event type. Event definitions describe the attributes of a specific event class, which can than be instantiated as policy condition or policy event. Returns the reference to the newly created EventDefinition instance which then can be modified according to ones needs. 3: Now, after having created a new instance of a policy event definition, one can set the required attributes by passing the respective attribute set ...

4: ... and the optional attributes. Such attributes may be (...). 5: This createCondition() method creates locally an instance of PolicyTimePeriodCondition defining the validity period of this rule.

Returns a reference to the new instance of IpPolicyTimePeriodCondition object. Using createCondition() assign the appropriate values to relevant attributes of this new instance of IpPolicyTimePeriodCondition. For example, TpAttribute.AttributeName = "TimePeriod" ETSI

17 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

TpAttribute.AttributeValue.SimpleValue.StringValue = "20000101T080000/20000131T120000" the latter indicating the time period "January 1, 2000, 0800 through January 31, 2000, noon". 6: Using the reference got with createCondition() the validity period is set to rule. Before this created condition will not become valid.

7: The assignment of a policy event is made as for other actions. The difference is the action type passed as parameter: it MUST be of type IpPolicyEventAction.

Passed parameters are the name of the created action, the action type and the attributes of the action; one of these attributes refers by name to the event definition as created before in this sequence. Returns the reference to the newly created action object.

8: This method activates the action (here the action event) for this rule. After creation this action is not yet active. The name of the action object is passed.

9: This closes the transaction bracket.

5.4 Create and modify domain

This sequence describes how:

  • a top-level policy domain is created which is then maintained by the policy manager object;
  • a list of domains managed by the policy manager is retrieved and a specific domain is accessed;
  • how manipulations on this domain (in this example creation of group and removal of a rule) are performed;
  • how the transaction control is initiated.

Presumption: the Application has received a reference to the IpPolicyManager interface. ETSI

18 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

: (Logical : : :

View::Application) IpPolicyManager IpPolicyIterator IpPolicyDomain 1: startTransaction( ) 2: c reateDom a in( ) 3: commitTransaction( ) 4: getDomainIterator( ) 5: getList( ) 6: getDomain( ) 7: startTransaction( ) 8: createGroup( ) 9: removeRule( ) 10: commitTransaction( )

1: Opens the transaction bracket.

2: Creates a domain by providing the name of the domain object to be created as parameter. The method returns the reference to the domain object.

3: Closes the transaction bracket.

4: The user wants to get all domains handled by the policy manager. This method returns a policy iterator object which can be used to go through the available domains.

5: This method returns the list of domains starting with "index". For efficiency reasons the number of returned entries can be set with the parameter "numberRequested".

6: After having extracted one of the domain name as returned with getList(), the reference to this specific domain get be retrieved by passing the domain name with getDomain(). Returns the domain reference. 7: Opens the transaction bracket.

ETSI

19 Final draft ETSI ES 204 915-13 V1.1.1 (2008-02)

8: Now, one can act upon the domain, i.e. one can create, modify or delete objects in that domain. Valid objects are domains, groups, and rules.

In this example one creates a group by passing the name of the group to be created with createGroup(). Returns the reference to the new group.

...

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 11 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 4 Policy Management SCF
  • 5 Sequence Diagrams
  • 5.1 Use of Policy Repository
  • 12 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 13 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.2 Introduce condition and action into rule
  • 14 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 15 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.3 Create event
  • 16 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 17 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.4 Create and modify domain
  • 18 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 19 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.5 ASP offering services to prepaid subscribers
  • 20 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 21 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.6 Create Signature for an evaluation context
  • 22 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 23 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.7 Request Evaluation of Policies
  • 5.8 Register for and Receive Notification of a Policy Event
  • 24 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 6 Class Diagrams
  • 25 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 6.1 PM Provisioning SCF Class Diagrams
  • 26 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 27 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 6.2 PM Policy Evaluation SCF Class Diagrams
  • 7 The Service Interface Specifications
  • 7.1 Interface Specification Format
  • 28 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 7.2 Base Interface
  • 7.3 Service Interfaces
  • 7.4 Generic Service Interface
  • 29 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 8 Policy Management (PM) Interface Classes
  • 8.1 PM Provisioning SCF Interface Classes
  • 30 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 31 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 32 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 33 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 34 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 35 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 36 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 37 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 38 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 39 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 40 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 41 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 42 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 43 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 44 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 45 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 46 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 47 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 48 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 49 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 50 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 51 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 52 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 53 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 54 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 55 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 56 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 57 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 58 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 59 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 60 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 61 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 62 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 63 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 64 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 65 ETSI ES 204 915-13 V1.1.1 (2008-05)

1 Scope

The present document is part 13 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).

The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.

The present document specifies the Policy Management Service Capability Feature (SCF) aspects of the interface. All aspects of the Policy Management SCF are defined here, these being:

  • Sequence Diagrams.
  • Class Diagrams.
  • Interface specification plus detailed method descriptions.
  • State Transition diagrams.
  • Data Definitions.
  • IDL Description of the interfaces.

The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

2 References

The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute provisions of the present document.

ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6)".

3 Definitions and abbreviations

3.1 Definitions

For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.

3.2 Abbreviations

For the purposes of the present document, the abbreviations given in ES 204 915-1 apply. ETSI

11 ETSI ES 204 915-13 V1.1.1 (2008-05)

4 Policy Management SCF

It is expected that more and more OSA services will use policies to express operational criteria. It is also expected that rd network providers will host policy-enabled services that have been written by 3 party application service providers. In order to manage policy information, control access to it and to request evaluation of policies a policy management service is needed. Consistent with this, a policy management provisioning manager, IpPolicyManager, and a policy evaluation manager, IpPolicyEvalManager have been defined.

APIs have been defined to offer provisioning services. These include APIs to create, update or view policy information rd for any policy enabled service. Similarly APIs have been defined to facilitate interactions between clients (e.g. a 3 party application) and the policies of any policy enabled service. These include APIs to subscribe to policy events, to request evaluation of policies and to request the generation of policy events . All APIs conform to an underlying policy information model that is a derived from the policy core information model defined by the IETF in RFC 3460. Clients that perform administrative tasks of behalf of a policy enabled service, e.g. create, update or delete policy information must obtain access to IpPolicyManager via the Framework. Administrative tasks may then be performed through methods supported by IpPolicyManager. Similarly, clients that need to invoke evaluation of policies of a specific policy enabled service may do so by obtaining access to IpPolicyEvalManager via the Framework. Consistent with the above the Policy Management Service supports two classes of service interfaces for policy provisioning and policy evaluation. These are the PM Provisioning SCF and the PM Policy Evaluation SCF respectively.

Examples of policy enabled services include: A load balancing service that uses policies to manage application loads on the network, a charging service that determines charging criteria based on policies, a call management service that uses policies to direct end-user calls to appropriate call agents, etc. Information in the present document is organized as follows:

  • The Sequence diagrams give the reader a practical idea of how PM provisioning and PM evaluation SCFs are used by clients.
  • The Class relationships clause shows relationships between the various interfaces supported by the PM provisioning and PM evaluation SCFs respectively.
  • The Interface specification clauses describe in detail each of the interfaces shown within the Class diagram clause.
  • The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part ES 204 915-2.

An implementation of this API which supports or implements a method described in the present document, shall support or implement the functionality described for that method, for at least one valid set of values for the parameters of that method. Where a method is not supported by an implementation of a Service interface, the exception P_METHOD_NOT_SUPPORTED shall be returned to any call of that method.

5 Sequence Diagrams

5.1 Use of Policy Repository

The example shown here shows the use of a Policy Repository. The repository is meant to hold unattached conditions and actions. The Network Operator can populate the repository with the conditions and actions that it can support. These may indeed be based on 'off-line' negotiations with the application developer. The application developer uses the conditions and actions in the Policy Repository to create rules for his own application. In the example application logic represented by AppLogic1 belongs to the Network Operator, whereas the application logic represented by AppLogic2 belongs to the ASP. This example uses the same conditions, actions, and rules as the ASP example. ETSI

12 ETSI ES 204 915-13 V1.1.1 (2008-05)

AppLogic1 AppLogic2 : IpPolicy Manager : IpPolicyRepository : IpPolicy ExpressionCondition : IpPolicyExpressionAction : IpPolicyDomain : IpPolicyRule 1: startTransaction( ) 2: createRepository ( ) 3: new() 4: createCondition( ) 5: new() 6: createAction( ) 7: new() 8: commitTransaction( ) 9: startTransaction( ) 10: getRepository( ) 11: getRepos itory Count( ) 12: getConditionCount( ) 13: getConditionIterator( ) 14: getCondition( ) 15: getActionCount( ) 16: getActionIterator( ) 17: getAction( ) 18: createDomain( ) 19: new() 20: createRule( ) 21: new() 22: setConditionList( ) 23: setActionList( ) 24: commitTransaction( )

1: The creation of the repository by the Network Operator takes place within one transaction. 2: The method createRepository is invoked on the IpPolicyManager interface to create a new repository. 3: As a result of the createRepository method a new instance of the IpPolicyRepository interface is created. Its interface reference is returned as return parameter of the createRepository method. 4: The Network Operator creates an unattached condition in the new repository by invoking the createCondition method. For simplicity reasons, this is the same condition as in sequence 8 of the ASP example. The same condition attributes apply.

5: A new instance of the IpPolicyExpressionCondition interface is created. ETSI

13 ETSI ES 204 915-13 V1.1.1 (2008-05)

6: The Network Operator creates an unattached action in the repository. Again, this is the same action as in sequence 10 of the ASP example. The same action attributes apply. 7: A new instance of the IpPolicyExpressionAction interface is created. 8: The Network Operator is finished with creating and populating the repository and closes the transaction. 9: Now that a repository exists, the ASP application can open a transaction to start creating a rule based on the conditions and actions stored in the repository.

10: The application invokes the getRepository to obtain a reference to the top-level repository. The returned reference in this case is the reference to the new repository just created by the Network Operator. 11: The application can invoke the getRepositoryCount method on the IpPolicyRepository interface to check whether there are any sub-repositories available. This is not the case for this example. 12: Before trying to obtain all available conditions in this repository the application retrieves the number of conditions by invoking the method getConditionCount.

13: The application can now invoke the getConditioniterator method to obtain the reference to an iterator that contains the names of each of the conditions contained by this repository that the application is authorized to see. As the previous method only return one available condition, this would be only one name, i.e. "SufficientCredit".

14: A reference to the condition can be obtained by invoking getCondition, with the condition name from the iterator as input parameter.

15: Similar to 12.

16: Similar to 13.

17: Similar to 14.

18: At this point in time the application has the names and references to the unattached condition and action from the repository it wants to use to create the rule. First a domain is created by invoking the createDomain method on the IpPolicyManager interface.

19: A new instance of the IpPolicyDomain interface is created. 20: The application invokes createRule to create a rule within the domain that was just created in flow 18 and 19. 21: A new instance of the IpPolicyRule interface is created.

22: By invoking the method setConditionList, the application can now apply the condition from the repository to this rule, by passing the condition reference, obtained by getCondition in flow 14, as an input parameter. 23: Similarly the application can apply the action to the rule by invoking setActionList. 24: Finally, once the rule is created using the condition and action from the policy repository, the transaction can be closed.

5.2 Introduce condition and action into rule

This sequence diagram describes how a specific policy rule is managed. A rule consists generally of conditions and of actions, the latter being evaluated if all conditions evaluate to true. This sequence includes:

  • creation of a condition and introduction of it into the rule;
  • retrieval of an already defined action object from a repository and introduction into the rule;
  • establishing a transaction bracket.

Presumption: the Application got a reference to the group, e.g. by having performed the sequence "create and modify domain" as in clause 5.4.

ETSI

14 ETSI ES 204 915-13 V1.1.1 (2008-05)

: IpPolicyRule : (Logical : : :

View::Application) IpPolicyGroup IpPolicyManager IpPol ic yRepository 1: startTransaction( ) 2: createRule( ) 3: commitTransaction( ) 4: startTransaction( ) 5: createCondition( ) 6: commitTransaction( ) 7: getRepository( ) 8: getAction( ) 9: startTransaction( ) 10: setActionList( ) 11: setConditionList( ) 12: commitTransaction( )

1: Opens the transaction bracket.

2: creates a rule object in the group by passing the name as parameter. The method returns the reference to the new rule object.

3: Closes the transaction bracket.

4: Opens the transaction bracket.

5: After having created the rule object one can "fill" it with actions and conditions. Here a condition is created on the rule object, thus becoming a part of the rule. Conditions defined in such a way cannot be reused in other rules. For this the repository approach should be used.

Parameters passed are the condition name and the condition type. Returns a reference to this condition object.

Note that: the type of condition object that is to be created must be one of those specified in TpPolicyConditionType, clause 11.1.4.

ETSI

15 ETSI ES 204 915-13 V1.1.1 (2008-05)

The method createCondition() is used to create a new instance of a condition type in the repository or rule. This method passes the name of the condition, the type of the condition and an appropriate set of attribute-value pairs. Note that it is necessary to include, within the conditionAttributes argument of createCondition(), all those attributevalue pairs that are not inherited from IpPolicyCondition - if the inherited attribute-value pairs are included in this argument then their assigned values will override the values assigned prior to this assignment. Thus, for example, if the new condition type to be created is TpPolicyExpressionCondition, then the attribute named "Expression" and its value must be included in conditionAttributes (also see clause 8.1.12). Note that this call may throw an exception if the value of "Expression" is not parsable.

The steps to create an action object instance are similar to those taken to create a condition object instance. We use the method createAction() to create a new action instance. Note that an action object must be one of those specified in TpPolicyActionType, clause 11.1.7. It is necessary to include all the attribute-value pairs that are not inherited from IpPolicyAction, in the actionAttributes argument of createAction() . 6: Closes the transaction bracket.

7: Now we're using the repository approach, i.e. reusable condition or action objects. In this example we reuse an action.

For that purpose we ask at the IpPolicyManager interface for a reference to a named repository. The repository name is passed.

Returns the reference to the repository.

8: If we know already the name of the action object one retrieves the action directly by passing the name as parameter. Otherwise one has to retrieve the name first by using an action iterator. Returns a reference to the action object.

9: Opens the transaction bracket.

10: Now, the action(s) must be assigned to the rule. Furthermore and different to the conditions, one has to assign an ordering number to the action.

Passed parameter is the action list, which is a list of action reference/ sequence pairs. 11: After having created or retrieved all needed conditions they must be assigned to the rule. This is done by passing the list of condition to that method.

This is explicitly done by passing TpPolicyConditionList again consisting of TpPolicyConditionListElements which contains the reference the IpPolicyRule object created with message 2. If the rule is active, this will then cause the expression defined in the condition to be evaluated (as often as necessary). Note that the binding between the variables referenced in the expression and the instances of the variable available is done each time the expression is evaluated. That is, when evaluating a variable reference, each enclosing domain is searched in order (from closest to farthest) for a matching variable. If one is found, it is used. If no matching variable is set, the expression condition fails (evaluates to FALSE). Activation of actions is done similarly.

12: Closes the transaction bracket.

5.3 Create event

This sequence shows how policy events are used.

For clarification we list the different policy related objects used:

  • IpPolicyEventDefinition: The "template" used to define allowable events. The template is used to define formally a distinct type of rule condition and rule action, namely, IpPolicyEventCondition and IpPolicyEventAction.
  • IpPolicyEventCondition: A special instance of a policy condition used in a rule. The condition evaluates to "True" on the occurrence of the event instance that is formally associated with it. ETSI

16 ETSI ES 204 915-13 V1.1.1 (2008-05)

  • IpPolicyEventAction: A special instance of a policy action used in a rule. The action results in the generation of an instance of the formal event associated with it.
  • TpPolicyEvent: This data type is passed as a parameter in the formal notification (to a client) of the occurrence of an instance of an event.

Presumption: the reference to a rule has been somehow retrieved. : (Logical : : : IpPolicyR ule : : : (Logical View::Application) IpAppPolicyDomain IpPolicyManager IpPolicyDomain IpPolicyEventDefinition View::PolicyEng... 1: startTransaction( ) 2: createEventDefinition( ) 3: setRequiredAttributes( ) 4: setOptionalAttributes( ) 5: createCondition( ) 6: setValidityPeriodCondition( ) 7: createAction( ) 8: setActionList( ) 9: com mitTransaction( )

1: All changes of policy objects must be performed in a transaction bracket. This method opens the bracket. 2: This method creates a new event type. Event definitions describe the attributes of a specific event class, which can than be instantiated as policy condition or policy event. Returns the reference to the newly created EventDefinition instance which then can be modified according to ones needs. 3: Now, after having created a new instance of a policy event definition, one can set the required attributes by passing the respective attribute set ...

4: ... and the optional attributes. Such attributes may be (...). 5: This createCondition() method creates locally an instance of PolicyTimePeriodCondition defining the validity period of this rule.

Returns a reference to the new instance of IpPolicyTimePeriodCondition object. Using createCondition() assign the appropriate values to relevant attributes of this new instance of IpPolicyTimePeriodCondition. For example, TpAttribute.AttributeName = "TimePeriod" ETSI

17 ETSI ES 204 915-13 V1.1.1 (2008-05)

TpAttribute.AttributeValue.SimpleValue.StringValue = "20000101T080000/20000131T120000" the latter indicating the time period "January 1, 2000, 0800 through January 31, 2000, noon". 6: Using the reference got with createCondition() the validity period is set to rule. Before this created condition will not become valid.

7: The assignment of a policy event is made as for other actions. The difference is the action type passed as parameter: it MUST be of type IpPolicyEventAction.

Passed parameters are the name of the created action, the action type and the attributes of the action; one of these attributes refers by name to the event definition as created before in this sequence. Returns the reference to the newly created action object.

8: This method activates the action (here the action event) for this rule. After creation this action is not yet active. The name of the action object is passed.

9: This closes the transaction bracket.

5.4 Create and modify domain

This sequence describes how:

  • a top-level policy domain is created which is then maintained by the policy manager object;
  • a list of domains managed by the policy manager is retrieved and a specific domain is accessed;
  • how manipulations on this domain (in this example creation of group and removal of a rule) are performed;
  • how the transaction control is initiated.

Presumption: the Application has received a reference to the IpPolicyManager interface. ETSI

18 ETSI ES 204 915-13 V1.1.1 (2008-05)

: (Logical : : :

View::Application) IpPolicyManager IpPolicyIterator IpPolicyDomain 1: startTransaction( ) 2: c reateDom a in( ) 3: commitTransaction( ) 4: getDomainIterator( ) 5: getList( ) 6: getDomain( ) 7: startTransaction( ) 8: createGroup( ) 9: removeRule( ) 10: commitTransaction( )

1: Opens the transaction bracket.

2: Creates a domain by providing the name of the domain object to be created as parameter. The method returns the reference to the domain object.

3: Closes the transaction bracket.

4: The user wants to get all domains handled by the policy manager. This method returns a policy iterator object which can be used to go through the available domains.

5: This method returns the list of domains starting with "index". For efficiency reasons the number of returned entries can be set with the parameter "numberRequested".

6: After having extracted one of the domain name as returned with getList(), the reference to this specific domain get be retrieved by passing the domain name with getDomain(). Returns the domain reference. 7: Opens the transaction bracket.

ETSI

19 ETSI ES 204 915-13 V1.1.1 (2008-05)

8: Now, one can act upon the domain, i.e. one can create, modify or delete objects in that domain. Valid objects are domains, groups, and rules.

In this example one creates a group by passing the name of the group to be created with createGroup(). Returns the reference to the new group.

...

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 11 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 4 Policy Management SCF
  • 5 Sequence Diagrams
  • 5.1 Use of Policy Repository
  • 12 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 13 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.2 Introduce condition and action into rule
  • 14 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 15 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.3 Create event
  • 16 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 17 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.4 Create and modify domain
  • 18 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 19 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.5 ASP offering services to prepaid subscribers
  • 20 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 21 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.6 Create Signature for an evaluation context
  • 22 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 23 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 5.7 Request Evaluation of Policies
  • 5.8 Register for and Receive Notification of a Policy Event
  • 24 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 6 Class Diagrams
  • 25 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 6.1 PM Provisioning SCF Class Diagrams
  • 26 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 27 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 6.2 PM Policy Evaluation SCF Class Diagrams
  • 7 The Service Interface Specifications
  • 7.1 Interface Specification Format
  • 28 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 7.2 Base Interface
  • 7.3 Service Interfaces
  • 7.4 Generic Service Interface
  • 29 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 8 Policy Management (PM) Interface Classes
  • 8.1 PM Provisioning SCF Interface Classes
  • 30 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 31 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 32 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 33 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 34 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 35 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 36 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 37 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 38 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 39 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 40 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 41 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 42 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 43 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 44 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 45 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 46 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 47 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 48 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 49 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 50 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 51 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 52 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 53 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 54 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 55 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 56 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 57 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 58 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 59 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 60 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 61 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 62 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 63 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 64 ETSI ES 204 915-13 V1.1.1 (2008-05)
  • 65 ETSI ES 204 915-13 V1.1.1 (2008-05)

1 Scope

The present document is part 13 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).

The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.

The present document specifies the Policy Management Service Capability Feature (SCF) aspects of the interface. All aspects of the Policy Management SCF are defined here, these being:

  • Sequence Diagrams.
  • Class Diagrams.
  • Interface specification plus detailed method descriptions.
  • State Transition diagrams.
  • Data Definitions.
  • IDL Description of the interfaces.

The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

2 References

The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute provisions of the present document.

ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6)".

3 Definitions and abbreviations

3.1 Definitions

For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.

3.2 Abbreviations

For the purposes of the present document, the abbreviations given in ES 204 915-1 apply. ETSI

SIST ES 204 915-13 V1.1.1:2008

11 ETSI ES 204 915-13 V1.1.1 (2008-05)

4 Policy Management SCF

It is expected that more and more OSA services will use policies to express operational criteria. It is also expected that rd network providers will host policy-enabled services that have been written by 3 party application service providers. In order to manage policy information, control access to it and to request evaluation of policies a policy management service is needed. Consistent with this, a policy management provisioning manager, IpPolicyManager, and a policy evaluation manager, IpPolicyEvalManager have been defined.

APIs have been defined to offer provisioning services. These include APIs to create, update or view policy information rd for any policy enabled service. Similarly APIs have been defined to facilitate interactions between clients (e.g. a 3 party application) and the policies of any policy enabled service. These include APIs to subscribe to policy events, to request evaluation of policies and to request the generation of policy events . All APIs conform to an underlying policy information model that is a derived from the policy core information model defined by the IETF in RFC 3460. Clients that perform administrative tasks of behalf of a policy enabled service, e.g. create, update or delete policy information must obtain access to IpPolicyManager via the Framework. Administrative tasks may then be performed through methods supported by IpPolicyManager. Similarly, clients that need to invoke evaluation of policies of a specific policy enabled service may do so by obtaining access to IpPolicyEvalManager via the Framework. Consistent with the above the Policy Management Service supports two classes of service interfaces for policy provisioning and policy evaluation. These are the PM Provisioning SCF and the PM Policy Evaluation SCF respectively.

Examples of policy enabled services include: A load balancing service that uses policies to manage application loads on the network, a charging service that determines charging criteria based on policies, a call management service that uses policies to direct end-user calls to appropriate call agents, etc. Information in the present document is organized as follows:

  • The Sequence diagrams give the reader a practical idea of how PM provisioning and PM evaluation SCFs are used by clients.
  • The Class relationships clause shows relationships between the various interfaces supported by the PM provisioning and PM evaluation SCFs respectively.
  • The Interface specification clauses describe in detail each of the interfaces shown within the Class diagram clause.
  • The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part ES 204 915-2.

An implementation of this API which supports or implements a method described in the present document, shall support or implement the functionality described for that method, for at least one valid set of values for the parameters of that method. Where a method is not supported by an implementation of a Service interface, the exception P_METHOD_NOT_SUPPORTED shall be returned to any call of that method.

5 Sequence Diagrams

5.1 Use of Policy Repository

The example shown here shows the use of a Policy Repository. The repository is meant to hold unattached conditions and actions. The Network Operator can populate the repository with the conditions and actions that it can support. These may indeed be based on 'off-line' negotiations with the application developer. The application developer uses the conditions and actions in the Policy Repository to create rules for his own application. In the example application logic represented by AppLogic1 belongs to the Network Operator, whereas the application logic represented by AppLogic2 belongs to the ASP. This example uses the same conditions, actions, and rules as the ASP example. ETSI

SIST ES 204 915-13 V1.1.1:2008

12 ETSI ES 204 915-13 V1.1.1 (2008-05)

AppLogic1 AppLogic2 : IpPolicy Manager : IpPolicyRepository : IpPolicy ExpressionCondition : IpPolicyExpressionAction : IpPolicyDomain : IpPolicyRule 1: startTransaction( ) 2: createRepository ( ) 3: new() 4: createCondition( ) 5: new() 6: createAction( ) 7: new() 8: commitTransaction( ) 9: startTransaction( ) 10: getRepository( ) 11: getRepos itory Count( ) 12: getConditionCount( ) 13: getConditionIterator( ) 14: getCondition( ) 15: getActionCount( ) 16: getActionIterator( ) 17: getAction( ) 18: createDomain( ) 19: new() 20: createRule( ) 21: new() 22: setConditionList( ) 23: setActionList( ) 24: commitTransaction( )

1: The creation of the repository by the Network Operator takes place within one transaction. 2: The method createRepository is invoked on the IpPolicyManager interface to create a new repository. 3: As a result of the createRepository method a new instance of the IpPolicyRepository interface is created. Its interface reference is returned as return parameter of the createRepository method. 4: The Network Operator creates an unattached condition in the new repository by invoking the createCondition method. For simplicity reasons, this is the same condition as in sequence 8 of the ASP example. The same condition attributes apply.

5: A new instance of the IpPolicyExpressionCondition interface is created. ETSI

SIST ES 204 915-13 V1.1.1:2008

13 ETSI ES 204 915-13 V1.1.1 (2008-05)

6: The Network Operator creates an unattached action in the repository. Again, this is the same action as in sequence 10 of the ASP example. The same action attributes apply. 7: A new instance of the IpPolicyExpressionAction interface is created. 8: The Network Operator is finished with creating and populating the repository and closes the transaction. 9: Now that a repository exists, the ASP application can open a transaction to start creating a rule based on the conditions and actions stored in the repository.

10: The application invokes the getRepository to obtain a reference to the top-level repository. The returned reference in this case is the reference to the new repository just created by the Network Operator. 11: The application can invoke the getRepositoryCount method on the IpPolicyRepository interface to check whether there are any sub-repositories available. This is not the case for this example. 12: Before trying to obtain all available conditions in this repository the application retrieves the number of conditions by invoking the method getConditionCount.

13: The application can now invoke the getConditioniterator method to obtain the reference to an iterator that contains the names of each of the conditions contained by this repository that the application is authorized to see. As the previous method only return one available condition, this would be only one name, i.e. "SufficientCredit".

14: A reference to the condition can be obtained by invoking getCondition, with the condition name from the iterator as input parameter.

15: Similar to 12.

16: Similar to 13.

17: Similar to 14.

18: At this point in time the application has the names and references to the unattached condition and action from the repository it wants to use to create the rule. First a domain is created by invoking the createDomain method on the IpPolicyManager interface.

19: A new instance of the IpPolicyDomain interface is created. 20: The application invokes createRule to create a rule within the domain that was just created in flow 18 and 19. 21: A new instance of the IpPolicyRule interface is created.

22: By invoking the method setConditionList, the application can now apply the condition from the repository to this rule, by passing the condition reference, obtained by getCondition in flow 14, as an input parameter. 23: Similarly the application can apply the action to the rule by invoking setActionList. 24: Finally, once the rule is created using the condition and action from the policy repository, the transaction can be closed.

5.2 Introduce condition and action into rule

This sequence diagram describes how a specific policy rule is managed. A rule consists generally of conditions and of actions, the latter being evaluated if all conditions evaluate to true. This sequence includes:

  • creation of a condition and introduction of it into the rule;
  • retrieval of an already defined action object from a repository and introduction into the rule;
  • establishing a transaction bracket.

Presumption: the Application got a reference to the group, e.g. by having performed the sequence "create and modify domain" as in clause 5.4.

ETSI

SIST ES 204 915-13 V1.1.1:2008

14 ETSI ES 204 915-13 V1.1.1 (2008-05)

: IpPolicyRule : (Logical : : :

View::Application) IpPolicyGroup IpPolicyManager IpPol ic yRepository 1: startTransaction( ) 2: createRule( ) 3: commitTransaction( ) 4: startTransaction( ) 5: createCondition( ) 6: commitTransaction( ) 7: getRepository( ) 8: getAction( ) 9: startTransaction( ) 10: setActionList( ) 11: setConditionList( ) 12: commitTransaction( )

1: Opens the transaction bracket.

2: creates a rule object in the group by passing the name as parameter. The method returns the reference to the new rule object.

3: Closes the transaction bracket.

4: Opens the transaction bracket.

5: After having created the rule object one can "fill" it with actions and conditions. Here a condition is created on the rule object, thus becoming a part of the rule. Conditions defined in such a way cannot be reused in other rules. For this the repository approach should be used.

Parameters passed are the condition name and the condition type. Returns a reference to this condition object.

Note that: the type of condition object that is to be created must be one of those specified in TpPolicyConditionType, clause 11.1.4.

ETSI

SIST ES 204 915-13 V1.1.1:2008

15 ETSI ES 204 915-13 V1.1.1 (2008-05)

The method createCondition() is used to create a new instance of a condition type in the repository or rule. This method passes the name of the condition, the type of the condition and an appropriate set of attribute-value pairs. Note that it is necessary to include, within the conditionAttributes argument of createCondition(), all those attributevalue pairs that are not inherited from IpPolicyCondition - if the inherited attribute-value pairs are included in this argument then their assigned values will override the values assigned prior to this assignment. Thus, for example, if the new condition type to be created is TpPolicyExpressionCondition, then the attribute named "Expression" and its value must be included in conditionAttributes (also see clause 8.1.12). Note that this call may throw an exception if the value of "Expression" is not parsable.

The steps to create an action object instance are similar to those taken to create a condition object instance. We use the method createAction() to create a new action instance. Note that an action object must be one of those specified in TpPolicyActionType, clause 11.1.7. It is necessary to include all the attribute-value pairs that are not inherited from IpPolicyAction, in the actionAttributes argument of createAction() . 6: Closes the transaction bracket.

7: Now we're using the repository approach, i.e. reusable condition or action objects. In this example we reuse an action.

For that purpose we ask at the IpPolicyManager interface for a reference to a named repository. The repository name is passed.

Returns the reference to the repository.

8: If we know already the name of the action object one retrieves the action directly by passing the name as parameter. Otherwise one has to retrieve the name first by using an action iterator. Returns a reference to the action object.

9: Opens the transaction bracket.

10: Now, the action(s) must be assigned to the rule. Furthermore and different to the conditions, one has to assign an ordering number to the action.

Passed parameter is the action list, which is a list of action reference/ sequence pairs. 11: After having created or retrieved all needed conditions they must be assigned to the rule. This is done by passing the list of condition to that method.

This is explicitly done by passing TpPolicyConditionList again consisting of TpPolicyConditionListElements which contains the reference the IpPolicyRule object created with message 2. If the rule is active, this will then cause the expression defined in the condition to be evaluated (as often as necessary). Note that the binding between the variables referenced in the expression and the instances of the variable available is done each time the expression is evaluated. That is, when evaluating a variable reference, each enclosing domain is searched in order (from closest to farthest) for a matching variable. If one is found, it is used. If no matching variable is set, the expression condition fails (evaluates to FALSE). Activation of actions is done similarly.

12: Closes the transaction bracket.

5.3 Create event

This sequence shows how policy events are used.

For clarification we list the different policy related objects used:

  • IpPolicyEventDefinition: The "template" used to define allowable events. The template is used to define formally a distinct type of rule condition and rule action, namely, IpPolicyEventCondition and IpPolicyEventAction.
  • IpPolicyEventCondition: A special instance of a policy condition used in a rule. The condition evaluates to "True" on the occurrence of the event instance that is formally associated with it. ETSI

SIST ES 204 915-13 V1.1.1:2008

16 ETSI ES 204 915-13 V1.1.1 (2008-05)

  • IpPolicyEventAction: A special instance of a policy action used in a rule. The action results in the generation of an instance of the formal event associated with it.
  • TpPolicyEvent: This data type is passed as a parameter in the formal notification (to a client) of the occurrence of an instance of an event.

Presumption: the reference to a rule has been somehow retrieved. : (Logical : : : IpPolicyR ule : : : (Logical View::Application) IpAppPolicyDomain IpPolicyManager IpPolicyDomain IpPolicyEventDefinition View::PolicyEng... 1: startTransaction( ) 2: createEventDefinition( ) 3: setRequiredAttributes( ) 4: setOptionalAttributes( ) 5: createCondition( ) 6: setValidityPeriodCondition( ) 7: createAction( ) 8: setActionList( ) 9: com mitTransaction( )

1: All changes of policy objects must be performed in a transaction bracket. This method opens the bracket. 2: This method creates a new event type. Event definitions describe the attributes of a specific event class, which can than be instantiated as policy condition or policy event. Returns the reference to the newly created EventDefinition instance which then can be modified according to ones needs. 3: Now, after having created a new instance of a policy event definition, one can set the required attributes by passing the respective attribute set ...

4: ... and the optional attributes. Such attributes may be (...). 5: This createCondition() method creates locally an instance of PolicyTimePeriodCondition defining the validity period of this rule.

Returns a reference to the new instance of IpPolicyTimePeriodCondition object. Using createCondition() assign the appropriate values to relevant attributes of this new instance of IpPolicyTimePeriodCondition. For example, TpAttribute.AttributeName = "TimePeriod" ETSI

SIST ES 204 915-13 V1.1.1:2008

17 ETSI ES 204 915-13 V1.1.1 (2008-05)

TpAttribute.AttributeValue.SimpleValue.StringValue = "20000101T080000/20000131T120000" the latter indicating the time period "January 1, 2000, 0800 through January 31, 2000, noon". 6: Using the reference got with createCondition() the validity period is set to rule. Before this created condition will not become valid.

7: The assignment of a policy event is made as for other actions. The difference is the action type passed as parameter: it MUST be of type IpPolicyEventAction.

Passed parameters are the name of the created action, the action type and the attributes of the action; one of these attributes refers by name to the event definition as created before in this sequence. Returns the reference to the newly created action object.

8: This method activates the action (here the action event) for this rule. After creation this action is not yet active. The name of the action object is passed.

9: This closes the transaction bracket.

5.4 Create and modify domain

This sequence describes how:

  • a top-level policy domain is created which is then maintained by the policy manager object;
  • a list of domains managed by the policy manager is retrieved and a specific domain is accessed;
  • how manipulations on this domain (in this example creation of group and removal of a rule) are performed;
  • how the transaction control is initiated.

Presumption: the Application has received a reference to the IpPolicyManager interface. ETSI

SIST ES 204 915-13 V1.1.1:2008

18 ETSI ES 204 915-13 V1.1.1 (2008-05)

: (Logical : : :

View::Application) IpPolicyManager IpPolicyIterator IpPolicyDomain 1: startTransaction( ) 2: c reateDom a in( ) 3: commitTransaction( ) 4: getDomainIterator( ) 5: getList( ) 6: getDomain( ) 7: startTransaction( ) 8: createGroup( ) 9: removeRule( ) 10: commitTransaction( )

1: Opens the transaction bracket.

2: Creates a domain by providing the name of the domain object to be created as parameter. The method returns the reference to the domain object.

3: Closes the transaction bracket.

4: The user wants to get all domains handled by the policy manager. This method returns a policy iterator object which can be used to go through the available domains.

5: This method returns the list of domains starting with "index". For efficiency reasons the number of returned entries can be set with the parameter "numberRequested".

6: After having extracted one of the domain name as returned with getList(), the reference to this specific domain get be retrieved by passing the domain name with getDomain(). Returns the domain reference. 7: Opens the transaction bracket.

ETSI

SIST ES 204 915-13 V1.1.1:2008

19 ETSI ES 204 915-13 V1.1.1 (2008-05)

8: Now, one can act upon the domain, i.e. one can create, modify or delete objects in that domain. Valid objects are domains, groups, and rules.

...