blob: a2de76a9828c72b1c98917aff477462f8bca8a21 [file] [log] [blame]
sebdetdfa86ca2019-04-05 15:15:31 +02001{
sebdetf9e2cee2019-08-09 18:36:09 +02002 "operational_policy": {
3 "controlLoop": {
4 "timeout": "0",
5 "abatement": "True",
6 "trigger_policy": "policy1",
7 "controlLoopName": "LOOP_ASJOy_v1_0_ResourceInstanceName1_tca"
8 },
9 "policies": [
10 {
Vidyashree-Huawei3121b5b2020-03-04 19:22:08 +053011 "actor": {
12 "actor": "APPC",
13 "type": "Restart",
14 "payload": "requestParameters: '{\"usePreload\":true,\"userParams\":[]}'\r\nconfigurationParameters: '[{\"ip-addr\":\"$.vf-module-topology.vf-module-parameters.param[10].value\",\"oam-ip-addr\":\"$.vf-module-topology.vf-module-parameters.param[15].value\",\"enabled\":\"$.vf-module-topology.vf-module-parameters.param[22].value\"}]'"
15 },
sebdetf9e2cee2019-08-09 18:36:09 +020016 "id": "policy1",
sebdetf9e2cee2019-08-09 18:36:09 +020017 "retry": "0",
18 "timeout": "0",
sebdetf9e2cee2019-08-09 18:36:09 +020019 "success": "final_success",
20 "failure": "policy2",
21 "failure_timeout": "final_failure_timeout",
22 "failure_retries": "final_failure_retries",
23 "failure_exception": "final_failure_exception",
24 "failure_guard": "final_failure_guard",
25 "target": {
26 "type": "VNF",
27 "resourceID": "vLoadBalancerMS"
28 }
29 },
30 {
Vidyashree-Huawei3121b5b2020-03-04 19:22:08 +053031 "actor": {
32 "actor": "SO",
33 "type": "VF Module Create",
34 "payload": ""
35 },
sebdetf9e2cee2019-08-09 18:36:09 +020036 "id": "policy2",
sebdetf9e2cee2019-08-09 18:36:09 +020037 "retry": "0",
38 "timeout": "0",
sebdetf9e2cee2019-08-09 18:36:09 +020039 "success": "final_success",
40 "failure": "final_failure",
41 "failure_timeout": "final_failure_timeout",
42 "failure_retries": "final_failure_retries",
43 "failure_exception": "final_failure_exception",
44 "failure_guard": "final_failure_guard",
45 "target": {
46 "type": "VFMODULE",
47 "resourceID": "Vloadbalancerms..vpkg..module-1",
48 "modelInvariantId": "ca052563-eb92-4b5b-ad41-9111768ce043",
49 "modelVersionId": "1e725ccc-b823-4f67-82b9-4f4367070dbc",
50 "modelName": "Vloadbalancerms..vpkg..module-1",
51 "modelVersion": "1",
52 "modelCustomizationId": "1bffdc31-a37d-4dee-b65c-dde623a76e52"
53 }
54 }
55 ]
56 },
57 "guard_policies": [
58 {
59 "policy-id": "guard.minmax.new",
60 "content": {
61 "actor": "APPC",
62 "recipe": "Restart",
63 "targets": ".*",
64 "clname": "LOOP_ASJOy_v1_0_ResourceInstanceName1_tca",
65 "guardActiveStart": "00:00:00Z",
66 "guardActiveEnd": "10:00:00Z",
67 "min": "0",
68 "max": "1"
69 }
70 },
71 {
72 "policy-id": "guard.frequency.new",
73 "content": {
74 "actor": "APPC",
75 "recipe": "Rebuild",
76 "targets": ".*",
77 "clname": "LOOP_ASJOy_v1_0_ResourceInstanceName1_tca",
78 "guardActiveStart": "00:00:00Z",
79 "guardActiveEnd": "10:00:00Z",
80 "limit": "1",
81 "timeWindow": "2",
82 "timeUnits": "minute"
83 }
84 }
85 ]
sebdetdfa86ca2019-04-05 15:15:31 +020086}