Update license header in misc appc files
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / src / test / resources / input / optional-vnfc.json
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25
26
27
28 {
29         "request-info":
30         {
31                 "action": "Start",
32                 "action-level": "vnf",
33                 "action-identifier":
34                 {
35                         "vnf-id": "dbgx0001v"
36                 },
37                 "payload": "ABC"
38         },
39         "inventory-info":
40         {
41                 "vnf-info":
42                 {
43                         "vnf-id" : "abc",
44                         "vnf-name": "vVNF",
45                         "vnf-type": "vVNF",
46                         "vnf-version" : "1.0",
47                         "vm":
48                         [
49                                         {
50                                                 "vserver-id" : "vnfc2_vserverid1",
51                                                 "vnfc":
52                                                                 {
53                                                                         "vnfc-type": "VNFC2",
54                                                                         "vnfc-name": "VNFC2 - Name"
55                                                                 }
56
57                                         },
58                                         {
59                                                 "vserver-id" : "vnfc2_vserverid2",
60                                                 "vnfc":
61                                                                 {
62                                                                         "vnfc-type": "VNFC2",
63                                                                         "vnfc-name": "VNFC2 - Name"
64                                                                 }
65
66                                         },
67                                         {
68                                                 "vserver-id" : "vnfc2_vserverid3",
69                                                 "vnfc":
70                                                                 {
71                                                                         "vnfc-type": "VNFC2",
72                                                                         "vnfc-name": "VNFC2 - Name"
73                                                                 }
74
75                                         },
76                                         {
77                                                 "vserver-id" : "vnfc1_vserverid1",
78                                                 "vnfc":
79                                                                 {
80                                                                         "vnfc-type": "VNFC1",
81                                                                         "vnfc-name": "VNFC1 - Name"
82                                                                 }
83
84                                         },
85                                         {
86                                                 "vserver-id" : "vnfc1_vserverid2",
87                                                 "vnfc":
88                                                                 {
89                                                                         "vnfc-type": "VNFC1",
90                                                                         "vnfc-name": "VNFC1 - Name"
91                                                                 }
92                                         },
93                                         {
94                                                 "vserver-id" : "vnfc2_vserverid4",
95                                                 "vnfc":
96                                                 {
97                                                         "vnfc-type": "VNFC2",
98                                                         "vnfc-name": "VNFC2 - Name"
99                                                 }
100
101                                         },
102                                         {
103                                                 "vserver-id" : "vnfc2_vserverid5",
104                                                 "vnfc":
105                                                 {
106                                                         "vnfc-type": "VNFC2",
107                                                         "vnfc-name": "VNFC2 - Name"
108                                                 }
109
110                                         }
111                         ]
112                 }
113         },
114         "dependency-info":
115         {
116                 "vnfcs" :
117                 [
118                         {
119                                 "vnfc-type" : "VNFC2",
120                                 "mandatory" : "true",
121                                 "resilience": "Active-Active",
122                                 "parents" :
123                                 [
124                                         "VNFC1"
125                                 ]
126                         },
127                         {
128                                 "vnfc-type" : "VNFC3",
129                                 "mandatory" : "false",
130                                 "resilience": "Active-Active",
131                                 "parents" : [
132                                         "VNFC2"
133                                 ]
134                         },
135                         {
136                                 "vnfc-type" : "VNFC1",
137                                 "mandatory" : "true",
138                                 "resilience": "Active-Passive",
139                                 "parents" : []
140                         }
141                 ]
142         },
143         "tunable-parameters":
144         {
145                 "strategy" : "FORWARD",
146                 "wait-time": "120",
147                 "retry-count": "5"
148         },
149         "capabilities" : {
150                 "vnf":
151                 [
152                         "Stop",
153                         "Start",
154                         "StartApplication",
155                         "StopApplication"
156                 ],
157                 "vf-module":
158                 [
159                         "Stop",
160                         "Start"
161                 ],
162                 "vm" :
163                 [
164                         "Stop",
165                         "Start"
166                 ],
167                 "vnfc":
168                 [
169                         "StopApplication",
170                         "StartApplication",
171                         "HealthCheck"
172                 ]
173         }
174 }
175
176