blob: bfce6b3310c44f3f3ac01a960b66226bccd40b52 [file] [log] [blame]
sebdetdfa86ca2019-04-05 15:15:31 +02001{
2 "guard_policies": {
3 "guard1":{
4 "recipe": "Rebuild",
5 "actor": "SO",
6 "clname": "testloop",
sebdetb9a405e2019-05-06 13:51:45 +02007 "targets": ".*",
8 "min": "3",
9 "max": "7",
10 "limit": "",
11 "timeUnits": "",
12 "timeWindow": "",
sebdetdfa86ca2019-04-05 15:15:31 +020013 "guardActiveStart": "00:00:01-05:00",
14 "guardActiveEnd": "23:59:01-05:00"
15 },
16 "guard2":{
17 "recipe": "Migrate",
18 "actor": "SO",
19 "clname": "testloop",
sebdetb9a405e2019-05-06 13:51:45 +020020 "targets": ".*",
21 "min": "1",
22 "max": "2",
23 "limit": "",
24 "timeUnits": "",
25 "timeWindow": "",
sebdetdfa86ca2019-04-05 15:15:31 +020026 "guardActiveStart": "00:00:01-05:00",
27 "guardActiveEnd": "23:59:01-05:00"
28 }
29 },
30 "operational_policy": {
31 "controlLoop": {
32 "controlLoopName": "control loop",
33 "version": "2.0.0",
34 "trigger_policy": "new1",
35 "timeout": "30",
36 "abatement": "true"
37 },
38 "policies": [
39 {
40 "id": "new1",
41 "recipe": "Rebuild",
42 "retry": "10",
43 "timeout": "20",
44 "actor": "SO",
Determe, Sebastien (sd378r)785b1772019-05-28 11:54:27 +020045 "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\"}]'",
sebdetdfa86ca2019-04-05 15:15:31 +020046 "success": "new2",
47 "failure": "new2",
48 "failure_timeout": "new2",
49 "failure_retries": "new2",
50 "failure_exception": "new2",
51 "failure_guard": "new2",
52 "target": {
53 "type": "VFC",
54 "resourceTargetId": "test"
55 }
56 },
57 {
58 "id": "new2",
59 "recipe": "Migrate",
60 "retry": "30",
61 "timeout": "40",
62 "actor": "SDNC",
Determe, Sebastien (sd378r)785b1772019-05-28 11:54:27 +020063 "payload": "",
sebdetdfa86ca2019-04-05 15:15:31 +020064 "target": {
65 "type": "VFC",
66 "resourceTargetId": "test"
67 }
68 }
69 ]
70 }
71}