Updated SDC listener and dependent bundles
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / src / test / resources / input / restartNodep.json
1
2
3 {
4   "request-info": {
5     "action": "Restart",
6     "action-level": "vm",
7     "action-identifier": {
8       "vnf-id": "dbgx0001v"
9     },
10     "payload":  " {\"vnf-host-ip-address\": \"10.147.124.163\" }"
11
12   },
13   "inventory-info": {
14     "vnf-info": {
15       "vnf-id" : "abc",
16       "vnf-name": "vSCP",
17       "vnf-type": "vSCP",
18       "vnf-version" : "1.0",
19       "vm": [
20         {
21           "vserver-id" : "smp_vserverid2",
22           "vnfc":
23           {
24             "vnfc-type": "SMP",
25             "vnfc-name": "SMP - Name"
26           }
27         },
28         {
29           "vserver-id" : "be_vserverid2",
30           "vnfc":
31           {
32             "vnfc-type": "FE",
33             "vnfc-name": "FE - Name"
34           }
35
36         },
37         {
38           "vserver-id" : "fe_vserverid2",
39           "vnfc":
40           {
41             "vnfc-type": "BE",
42             "vnfc-name": "BE - Name"
43           }
44
45         },
46                {
47           "vserver-id" : "be_vserverid5",
48           "vnfc":
49           {
50             "vnfc-type": "BE",
51             "vnfc-name": "BE - Name"
52           }
53
54         }
55       ]
56     }
57   },
58   "dependency-info" : {
59     "vnfcs" : [
60       {
61         "vnfc-type" : "BE",
62         "mandatory" : "true",
63         "resilience": "Active-Active",
64         "parents" : [
65           "SMP"
66         ]
67       },
68       {
69         "vnfc-type" : "FE",
70         "mandatory" : "true",
71         "resilience": "Active-Active",
72         "parents" : [
73           "BE"
74         ]
75       },
76       {
77         "vnfc-type" : "SMP",
78         "mandatory" : "true",
79         "resilience": "Active-Passive",
80         "parents" : []
81       }
82     ]
83   },
84   "tunable-parameters" : {
85     "strategy" : "FORWARD",
86     "waitTime" : "120",
87     "retryCount" : "5"
88   },
89   "capabilities" : {
90     "vnf": ["Stop", "Start", "StartApplication","StopApplication"],
91     "vf-module": ["Stop", "Start"],
92     "vm" : ["Stop", "Start"],
93     "vnfc": ["StopApplication", "StartApplication","HealthCheck"]
94   }
95 }
96
97