Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All policy templates must implement the ONAP Policy Framework PolicyTemplate interface. This interface allows the Policy Framework to manage policy templates and to generate concrete policies from policy templates in a uniform way regardless of the domain that the policy template is addressing or the PDP technology that will execute the policy. The interface is used by the Policy Framework to determine the PDP technology of the policy template, the structure, type, and definition of the model information that must be supplied to the policy template to generate a concrete policy, implementation specific rules or logic, and other relevant information.

The ONAP Policy Framework provides an API that allows other components to query policy templates, to determine the model information, rules, or logic that they require, and to generate concrete policies from policy templates.

Consider a policy template created for managing faults on vCPE equipment in a vendor independent way. The policy template captures the generic logic required to manage the faults and specifies the vendor specific information that must be supplied to te template for specific vendor vCPE VFs. The actual concrete vCPE policy that is used for managing particular vCPE equipment is generated using the policy template together with the specific modeled information, rules and logic for that vendor model of vCPE.

...

It is also possible to generate policy templates using MDD (Model Driven Development) techniques. Policies are expressed using a DSL (Domain Specific Language) or a policy specification environment for a particular application domain. For example, policies for specifying SLAs could be expressed in a SLA DSL and policies for managing SON features could be generated from a visual SON management tool. The ONAP Policy framework provides an API that allows tool chains to create policy templates.

Policy Design

Policy Design is the task of creating a concrete policy from a policy template.

Policy Design can occur in several places ways during a "design" process. During At design time the models should allow , a service designer and/or operations team to be able to can use the models specified on a policy template to express and capture a policy both at its highest abstraction as well as level. Alternatively, the logic of the policy can be expressed using a specific policy language if desired.

The information expressed during policy design is used to specialize a policy template to create an executable policy. A policy can be designed in many ways.

Model Driven VF Policy Design via VNF SDK Packaging

...