blob: ac1314ecb9392bcb460682420b18c8e85ab0ec1b [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 {
11 "id": "policy1",
12 "recipe": "Restart",
13 "retry": "0",
14 "timeout": "0",
15 "actor": "APPC",
16 "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\"}]'",
17 "success": "final_success",
18 "failure": "policy2",
19 "failure_timeout": "final_failure_timeout",
20 "failure_retries": "final_failure_retries",
21 "failure_exception": "final_failure_exception",
22 "failure_guard": "final_failure_guard",
23 "target": {
24 "type": "VNF",
25 "resourceID": "vLoadBalancerMS"
26 }
27 },
28 {
29 "id": "policy2",
30 "recipe": "VF Module Create",
31 "retry": "0",
32 "timeout": "0",
33 "actor": "SO",
34 "payload": "",
35 "success": "final_success",
36 "failure": "final_failure",
37 "failure_timeout": "final_failure_timeout",
38 "failure_retries": "final_failure_retries",
39 "failure_exception": "final_failure_exception",
40 "failure_guard": "final_failure_guard",
41 "target": {
42 "type": "VFMODULE",
43 "resourceID": "Vloadbalancerms..vpkg..module-1",
44 "modelInvariantId": "ca052563-eb92-4b5b-ad41-9111768ce043",
45 "modelVersionId": "1e725ccc-b823-4f67-82b9-4f4367070dbc",
46 "modelName": "Vloadbalancerms..vpkg..module-1",
47 "modelVersion": "1",
48 "modelCustomizationId": "1bffdc31-a37d-4dee-b65c-dde623a76e52"
49 }
50 }
51 ]
52 },
53 "guard_policies": [
54 {
55 "policy-id": "guard.minmax.new",
56 "content": {
57 "actor": "APPC",
58 "recipe": "Restart",
59 "targets": ".*",
60 "clname": "LOOP_ASJOy_v1_0_ResourceInstanceName1_tca",
61 "guardActiveStart": "00:00:00Z",
62 "guardActiveEnd": "10:00:00Z",
63 "min": "0",
64 "max": "1"
65 }
66 },
67 {
68 "policy-id": "guard.frequency.new",
69 "content": {
70 "actor": "APPC",
71 "recipe": "Rebuild",
72 "targets": ".*",
73 "clname": "LOOP_ASJOy_v1_0_ResourceInstanceName1_tca",
74 "guardActiveStart": "00:00:00Z",
75 "guardActiveEnd": "10:00:00Z",
76 "limit": "1",
77 "timeWindow": "2",
78 "timeUnits": "minute"
79 }
80 }
81 ]
sebdetdfa86ca2019-04-05 15:15:31 +020082}