Versions Compared

Key

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

This page contains a proposal for the design of the Control Loop Policy Types in order to address the problems not solved in the Dublin release.


Code Block
languagejs
titleExample of Common Datatype
linenumberstrue
tosca_definitions_version: tosca_simple_yaml_1_0_0
policy_types:
    -
        onap.policies.controlloop.Root:
            derived_from: tosca.policies.Root
            version: 1.0.0
            description: Root policy type for all Control Loop Policies
            properties:
                common:
                    type: map
                    required: true
                    description: Common Header
                    entry_schema:
                        type: onap.datatypes.controlloop.Common
data_types:
    -
        onap.datatypes.controlloop.Common:
            derived_from: tosca.datatypes.Root
            version: 1.0.0
            description: |
                This common data type captures common data that is
                shared between all the policies for a Control Loop
            properties:
                controlLoopName:
                    type: string
                    required: true
                    description: The unique ID identifying the control loop
                filters:
                    type: map
                    required: false
                    description: A map of service, vnf, pnf filters for the policy
                    entry_schema:
                        type: onap.datatypes.controlloop.Filter
    -
        onap.datatypes.controlloop.Filter:
            derived_from: tosca.datatypes.Root
            version: 1.0.0
            properties:
                # TODO