Versions Compared

Key

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

...

draw.io Diagram
bordertrue
viewerToolbartrue
fitWindowfalse
diagramNameAPIs in Policy Framework
simpleViewerfalse
width
diagramWidth581
revision5

1 Policy Design

...

7

1 Policy Design

During Model Design, a Policy Model and a Policy Model Parameter Schema is created. The Policy Model contains the definition of the policy together with its inputs and outputs, rules and logic. This model may be expressed in XACML, as Drools rules, or as an APEX model definition. The Policy Model Parameter Schema is a TOSCA definition of the parameters that a Policy Model must receive in order for it to be transformed into a policy. The schemas will ultimately be defined by the modeling team but for now are defined by the Policy Framework project.

In order to define a policy, Policy Parameters must be passed to Policy Design as a Yaml document. The structure of the Policy Parameters Yaml document must comply with the structure defined in the Policy Model Parameter Schema for the Policy model being used for policy design.

Certain Policy Models are preloaded and are always available for use in the Policy Framework.

Policy ModelDescription
onap.policies.MonitoringOverarching model that supports Policy driven DCAE microservice components used in a Control Loops
onap.policies.controlloop.Operational

...

Used to support actor/action operational policies for control loops

onap.policies.controlloop.Guard

...

Control Loop guard policies for policing control loops
onap.policies.controlloop.

...

CoordinationControl Loop Coordination policies to assist in coordinating multiple control loops at runtime

onap.policies.Monitoring model

...

Code Block
languageyml
titleBase Schema for onap.policies.Monitoring
linenumberstrue
collapsetrue
tosca_definitions_version: tosca_simple_yaml_1_0_0
policy_types:
    onap.policies.Monitoring:
        derived_from: tosca.policies.Root
        description: a base policy type for all policies that govern monitoring provision
Control Loop guard policies

Models derived from onap.policies.Monitoring

...