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