Versions Compared

Key

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

...

onap.controlloop.Guard.FrequencyLimiter model


Code Block
titleSchema For Frequency Limiter Guard Policy
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
    onap.policy.controlloop.guard.frequencylimiter:
        derived_from: onap.policies.controlloop.Guard
        description: Supports limiting the frequency of actions being taken by a Actor.
        properties:
            frequency_policy:
                type: map
                description:
                entry_schema:
                    type: onap.datatypes.guard.frequencylimiter
data_types:
    onap.datatypes.guard.frequencylimiter:
        derived_from: tosca.datatypes.Root
        properties:
            actor:
                type: string
                description: Specifies the Actor
                required: true
            recipe:
                type: string
                description: Specified the Recipe
                required: true
            time_window:
                type: scalar-unit.time
                description: The time window to count the actions against.
                required: true
            time_rangelimit:
                type: tosca.datatypes.TimeIntervalinteger
                description: AnThe limit
 optional range of time during the day the frequency is valid for.
    required: true
           required: false
    constraints:
        controlLoopName:
            - greater_than: 0
  type: string
         time_range:
       description: An optinoal specific control loop to apply this guard to.type: tosca.datatypes.TimeInterval
                requireddescription: false
An optional range of time during the day the frequency is valid for.
    target            required: false
            controlLoopName:
                type: string
                description: An optional specific control VNFloop to apply this guard to.
                required: false
            target:
                type: string

                description: An optional specific VNF to apply this guard to.
                required: false
          


onaponap.controlloop.Guard.Blacklist model


Code Block
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
    onap.policy.controlloop.guard.frequencylimiter:
        derived_from: onap.policies.controlloop.Guard
        description: Supports limiting the frequency of actions being taken by a Actor.
        properties:
            frequency_policy:
                type: map
                description:
                entry_schema:
                    type: onap.datatypes.guard.frequencylimiter
data_types:
    onap.datatypes.guard.frequencylimiter:
        derived_from: tosca.datatypes.Root
        properties:
            actor:
                type: string
                description: Specifies the Actor
                required: true
            recipe:
                type: string
                description: Specified the Recipe
                required: true
            time_window:
                type: scalar-unit.time
                description: The time window to count the actions against.
                required: true
            limit:
                type: integer
                description: The limit
                required: true
                constraints:
                    - greater_than: 0
            time_range:
                type: tosca.datatypes.TimeInterval
                description: An optional range of time during the day the frequency is valid for.
                required: false
            controlLoopName:
                type: string
                description: An optional specific control loop to apply this guard to.
                required: false
            target:
                type: string
                description: An optional specific VNF to apply this guard to.
                required: false





onap.controlloop.Guard.MinMax model


Code Block
policy_types:
    onap.policies.controlloop.Guard:
        derived_from: tosca.policies.Root
        description: Guard Policies for Control Loop Operational Policies
    onap.policy.controlloop.guard.minmax:
        derived_from: onap.policies.controlloop.Guard
        description: Supports Min/Max number of VF Modules
        properties:
            minmax_policy:
                type: map
                description:
                entry_schema:
                    type: onap.datatypes.guard.minmax
data_types:
    onap.datatypes.guard.minmax:
        derived_from: tosca.datatypes.Root
        properties:
            actor:
                type: string
                description: Specifies the Actor
                required: true
            recipe:
                type: string
                description: Specified the Recipe
                required: true
            time_range:
                type: tosca.datatypes.TimeInterval
                description: An optional range of time during the day the frequency is valid for.
                required: false
            controlLoopName:
                type: string
                description: An optional specific control loop to apply this guard to.
                required: false
            min_vf_module_instances:
                type: integer
                required: true
                description: The minimum instances of this VF-Module
            max_vf_module_instances:
                type: integer
                required: false
                description: The maximum instances of this VF-Module





onap.controlloop.Coordination model (STRETCH)

...