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