91a825212856733feb84134c663e57cb16514c9f
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.controlloop.guard.Blacklist.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 policy_types:
3    onap.policies.controlloop.Guard:
4       derived_from: tosca.policies.Root
5       version: 1.0.0
6       description: Guard Policies for Control Loop Operational Policies
7    onap.policies.controlloop.guard.Blacklist:
8       derived_from: onap.policies.controlloop.Guard
9       version: 1.0.0
10       description: Supports blacklist of VNF's from performing control loop actions on.
11       properties:
12          blacklist_policy:
13             type: map
14             description: null
15             entry_schema:
16                type: onap.datatypes.guard.Blacklist
17 data_types:
18    onap.datatypes.guard.Blacklist:
19       derived_from: tosca.datatypes.Root
20       properties:
21          actor:
22             type: string
23             description: Specifies the Actor
24             required: true
25          recipe:
26             type: string
27             description: Specified the Recipe
28             required: true
29          time_range:
30             type: tosca.datatypes.TimeInterval
31             description: An optional range of time during the day the blacklist is valid for.
32             required: false
33          controlLoopName:
34             type: string
35             description: An optional specific control loop to apply this guard to.
36             required: false
37          blacklist:
38             type: list
39             description: List of VNF's
40             required: true