Preload control loop coordination type in API
[policy/api.git] / main / src / main / resources / preloadedPolicyTypes / onap.policies.controlloop.guard.Blacklist.json
1 {
2    "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
3    "policy_types": [
4       {
5          "onap.policies.controlloop.Guard": {
6             "derived_from": "tosca.policies.Root",
7             "version": "1.0.0",
8             "description": "Guard Policies for Control Loop Operational Policies"
9          }
10       },
11       {
12          "onap.policies.controlloop.guard.Blacklist": {
13             "derived_from": "onap.policies.controlloop.Guard",
14             "version": "1.0.0",
15             "description": "Supports blacklist of VNF's from performing control loop actions on.",
16             "properties": {
17                "blacklist_policy": {
18                   "type": "map",
19                   "description": null,
20                   "entry_schema": {
21                      "type": "onap.datatypes.guard.Blacklist"
22                   }
23                }
24             }
25          }
26       }
27    ],
28    "data_types": [
29       {
30          "onap.datatypes.guard.Blacklist": {
31             "derived_from": "tosca.datatypes.Root",
32             "properties": {
33                "actor": {
34                   "type": "string",
35                   "description": "Specifies the Actor",
36                   "required": true
37                },
38                "recipe": {
39                   "type": "string",
40                   "description": "Specifies the Recipe",
41                   "required": true
42                },
43                "time_range": {
44                   "type": "tosca.datatypes.TimeInterval",
45                   "description": "An optional range of time during the day the blacklist is valid for.",
46                   "required": false
47                },
48                "controlLoopName": {
49                   "type": "string",
50                   "description": "An optional specific control loop to apply this guard to.",
51                   "required": false
52                },
53                "blacklist": {
54                   "type": "list",
55                   "description": "List of VNF's",
56                   "required": true
57                }
58             }
59          }
60       }
61    ]
62 }