Updated SDC listener and dependent bundles
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / src / test / resources / input / CheckMandatoryVnfc.json
1 {
2   "request-info": {
3     "action": "Start",
4     "action-level": "vnf",
5     "action-identifier": {
6       "vnf-id": "dbgx0001v"
7     },
8     "payload": "ABC"
9   },
10   "inventory-info": {
11     "vnf-info": {
12       "vnf-id" : "abc",
13       "vnf-name": "vSCP",
14       "vnf-type": "vSCP",
15       "vnf-version" : "1.0",
16       "vm": [
17         {
18           "vserver-id" : "be_vserverid1",
19           "vnfc":
20           {
21             "vnfc-type": "BE",
22             "vnfc-name": "BE - Name"
23           }
24
25         },
26         {
27           "vserver-id" : "fe_vserverid1",
28           "vnfc":
29           {
30             "vnfc-type": "FE",
31             "vnfc-name": "FE - Name"
32           }
33
34         },
35         {
36           "vserver-id" : "fe_vserverid2",
37           "vnfc":
38           {
39             "vnfc-type": "FE",
40             "vnfc-name": "FE - Name"
41           }
42
43         },
44         {
45           "vserver-id" : "be_vserverid2",
46           "vnfc":
47           {
48             "vnfc-type": "BE",
49             "vnfc-name": "BE - Name"
50           }
51
52         },
53         {
54           "vserver-id" : "be_vserverid3",
55           "vnfc":
56           {
57             "vnfc-type": "BE",
58             "vnfc-name": "BE - Name"
59           }
60
61         },
62         {
63           "vserver-id" : "be_vserverid4",
64           "vnfc":
65           {
66             "vnfc-type": "BE",
67             "vnfc-name": "BE - Name"
68           }
69
70         },
71         {
72           "vserver-id" : "be_vserverid5",
73           "vnfc":
74           {
75             "vnfc-type": "BE",
76             "vnfc-name": "BE - Name"
77           }
78
79         }
80       ]
81     }
82   },
83   "dependency-info": {
84     "vnfcs" : [
85       {
86         "vnfc-type" : "BE",
87         "mandatory" : "true",
88         "resilience": "Active-Active",
89         "parents" : [
90           "SMP"
91         ]
92       },
93       {
94         "vnfc-type" : "FE",
95         "mandatory" : "true",
96         "resilience": "Active-Active",
97         "parents" : [
98           "BE"
99         ]
100       },
101       {
102         "vnfc-type" : "SMP",
103         "mandatory" : "true",
104         "resilience": "Active-Passive",
105         "parents" : [
106
107         ]
108       }
109
110     ]
111   },
112   "tunable-parameters": {
113     "strategy" : "FORWARD",
114     "wait-time": "120",
115     "retry-count": "5"
116   },
117   "capabilities" : {
118     "vnf": ["Stop", "Start", "StartApplication","StopApplication"],
119     "vf-module": ["Stop", "Start"],
120     "vm" : ["Stop", "Start"],
121     "vnfc": ["StopApplication", "StartApplication","HealthCheck"]
122   }
123 }
124