Versions Compared

Key

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

...

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

...

Code Block
languageyml
titlePolicyType onap.policy.Monitoring.MyDCAEComponent derived from onap.policy.Monitoring
linenumberstrue
collapsetrue
tosca_definitions_version: tosca_simple_yaml_1_0_0
policy_types:will be developed
    onap.policies.Monitoring:
        derived_from: tosca.policies.Root
        description: a base policy type for all policies that govern monitoring provision
    onap.policy.Monitoring.MyDCAEComponent:
        derived_from: onap.policies.Monitoring
        properties:
            mydcaecomponent_policy:
                type: map
                description: The Policy Body I need
                entry_schema:
					type: onap.datatypes.monitoring.mydatatype
data_types:
    onap.datatypes.monitoring.mydatatype:
        derived_from: tosca.datatypes.Root
        properties:
			my_property_1:
				type: string
				description: A description of this property
				constraints:
					- valid_values:
						- value example 1
						- value example 2

...

Code Block
languageyml
titleBase Policy Model Parameter Schema type definition for onap.policies.Operational
collapsetrue
tosca_definitions_version: tosca_simple_yaml_1_0_0
policy_types:
    onap.policies.controlloop.Operation:
        derived_from: tosca.policies.Root
        description: Operational Policy for Control Loops

...

1.3 onap.controlloop.Guard Policy Type

This model supports policy type is the the type definition for Control Loop guard policies for frequency limiting, blacklisting and min/max guards to help protect runtime Control Loop Actions from doing harm to the network. This model will be policy type is developed using the XACML PDP to support question/answer Policy Decisions during runtime for the Drools and Apex APEX onap.controlloop.Operational Policy Model policy type implementations.

The base schema is defined as such:

Code Block
languageyml
titleSchema for Control Loop GuardsBase Policy type definition for onap.policies.Operational
linenumberstrue
collapsetrue
tosca_definitions_version: tosca_simple_yaml_1_0_0
policy_types:
    onap.policies.controlloop.Guard:
        derived_from: tosca.policies.Root
        description: Guard Policies for Control Loop Operational Policies
        

...