Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / csit / tests / sdnc / resources / grafiles / preload-vf-module.json
1 {
2   "input": {
3     "preload-vf-module-topology-information": {
4       "vf-module-topology": {
5         "aic-clli": "AIC12345",
6         "aic-cloud-region": "rdm61a",
7         "cloud-owner": "att-nc",
8         "onap-model-information": {
9           "model-customization-uuid": "123123123",
10           "model-invariant-uuid": "123123123",
11           "model-name": "frankfurt",
12           "model-uuid": "121212",
13           "model-version": "frankfurt"
14         },
15         "sdnc-generated-cloud-resources": true,
16         "tenant": "tenant",
17         "vf-module-assignments": {
18           "dhcp-subnet-assignments": {
19             "dhcp-subnet-assignment": [
20               {
21                 "ip-version": "ipv4",
22                 "network-role": "secret",
23                 "neutron-subnet-id": "sub1"
24               }
25             ]
26           },
27           "vf-module-status": "Active",
28           "vlan-vnfc-instance-groups": {
29             "vlan-vnfc-instance-group": [
30               {
31                 "instance-group-function": "function",
32                 "instance-group-id": "groupid",
33                 "vnf-id": "123",
34                 "vnfcs": {
35                   "vnfc": [
36                     {
37                       "vnfc-name": "vnc1",
38                       "vnic-groups": {
39                         "vnic-group": [
40                           {
41                             "network-instance-group-function": "func1",
42                             "vlan-assignment-policy-name": "policy1",
43                             "vlan-common-ip-addresses": {
44                               "ip-addresses": {
45                                 "ipv4-address": "10.1.2.1"
46                               }
47                             },
48                             "vlan-tag-index-next": 0,
49                             "vlan-vnics": {
50                               "vlan-vnic": [
51                                 {
52                                   "vnic-port-id": "8080",
53                                   "vnic-sub-interfaces": {
54                                     "sub-interface-network-data": [
55                                       {
56                                         "floating-ips": {
57                                           "floating-ip-v4": [
58                                             "10.1.2.1"
59                                           ]
60                                         },
61                                         "network-id": "string",
62                                         "network-information-items": {
63                                           "network-information-item": [
64                                             {
65                                               "ip-count": 0,
66                                               "ip-version": "ipv4",
67                                               "network-ips": {
68                                                 "network-ip": [
69                                                   "10.1.2.2"
70                                                 ]
71                                               },
72                                               "use-dhcp": "Y"
73                                             }
74                                           ]
75                                         },
76                                         "network-name": 0,
77                                         "network-role": "secret",
78                                         "network-role-tag": "tag1",
79                                         "neutron-network-id": "net1",
80                                         "vlan-tag-id": 0
81                                       }
82                                     ]
83                                   }
84                                 }
85                               ]
86                             },
87                             "vnic-interface-role": "vnicrole1"
88                           }
89                         ]
90                       }
91                     }
92                   ]
93                 }
94               }
95             ]
96           },
97           "vms": {
98             "vm": [
99               {
100                 "nfc-naming-code": "name1",
101                 "onap-model-information": {
102                   "model-customization-uuid": "456456456",
103                   "model-invariant-uuid": "456456456",
104                   "model-name": "model2",
105                   "model-uuid": "678678678",
106                   "model-version": "version2"
107                 },
108                 "vm-count": 0,
109                 "vm-names": {
110                   "vm-name": [
111                     "vm1"
112                   ],
113                   "vnfc-names": [
114                     {
115                       "vnfc-name": "vnc1",
116                       "vnfc-networks": {
117                         "vnfc-network-data": [
118                           {
119                             "connection-point": {
120                               "connection-point-id": "conn1",
121                               "port-id": "8181",
122                               "vlan-data": [
123                                 {
124                                   "vlan-role": "role2",
125                                   "vlan-tag-description": "tag2",
126                                   "vlan-tag-id": "1",
127                                   "vlan-uuid": "78789789"
128                                 }
129                               ]
130                             },
131                             "vnfc-network-role": "role3",
132                             "vnfc-ports": {
133                               "vnfc-port": [
134                                 {
135                                   "common-sub-interface-role": "subrole1",
136                                   "vnfc-port-id": "8787",
137                                   "vnic-sub-interfaces": {
138                                     "sub-interface-network-data": [
139                                       {
140                                         "floating-ips": {
141                                           "floating-ip-v4": [
142                                             "10.1.3.10"
143                                           ]
144                                         },
145                                         "network-id": "net2",
146                                         "network-information-items": {
147                                           "network-information-item": [
148                                             {
149                                               "ip-count": 0,
150                                               "ip-version": "ipv4",
151                                               "network-ips": {
152                                                 "network-ip": [
153                                                   "10.1.3.4"
154                                                 ]
155                                               },
156                                               "use-dhcp": "Y"
157                                             }
158                                           ]
159                                         },
160                                         "network-name": 0,
161                                         "network-role": "secret",
162                                         "network-role-tag": "tag5",
163                                         "neutron-network-id": "nnet5",
164                                         "vlan-tag-id": 0
165                                       }
166                                     ]
167                                   }
168                                 }
169                               ]
170                             },
171                             "vnfc-subnet": [
172                               {
173                                 "vnfc-ip-assignments": [
174                                   {
175                                     "vnfc-address-family": "ipv4",
176                                     "vnfc-subnet-dhcp": "Y",
177                                     "vnfc-subnet-ip": [
178                                       {
179                                         "ip-type": "FIXED",
180                                         "vnfc-client-key": "string",
181                                         "vnfc-ip-address": "10.1.7.1"
182                                       }
183                                     ],
184                                     "vnfc-subnet-ip-count": 0
185                                   }
186                                 ],
187                                 "vnfc-subnet-role": "string"
188                               }
189                             ],
190                             "vnfc-type": "string"
191                           }
192                         ]
193                       }
194                     }
195                   ]
196                 },
197                 "vm-networks": {
198                   "vm-network": [
199                     {
200                       "floating-ips": {
201                         "floating-ip-v4": [
202                           "10.1.9.1"
203                         ]
204                       },
205                       "interface-route-prefixes": {
206                         "interface-route-prefix": [
207                           "10"
208                         ]
209                       },
210                       "is-trunked": true,
211                       "mac-addresses": {
212                         "mac-address": [
213                           "cafe:beef"
214                         ]
215                       },
216                       "network-information-items": {
217                         "network-information-item": [
218                           {
219                             "ip-count": 0,
220                             "ip-version": "ipv4",
221                             "network-ips": {
222                               "network-ip": [
223                                 "10.2.3.10"
224                               ]
225                             },
226                             "use-dhcp": "Y"
227                           }
228                         ]
229                       },
230                       "network-role": "secret",
231                       "network-role-tag": "tag9",
232                       "related-networks": {
233                         "related-network": [
234                           {
235                             "network-id": "net9",
236                             "network-role": "secret",
237                             "vlan-tags": {
238                               "is-private": true,
239                               "lower-tag-id": 0,
240                               "upper-tag-id": 0,
241                               "vlan-interface": "vlan0"
242                             }
243                           }
244                         ]
245                       },
246                       "segmentation-id": "seg1",
247                       "sriov-parameters": {
248                         "application-tags": {
249                           "c-tags": {
250                             "c-tag": [
251                               "ctag1"
252                             ]
253                           },
254                           "s-tags": {
255                             "s-tag": [
256                               "stag1"
257                             ]
258                           }
259                         },
260                         "heat-vlan-filters": {
261                           "heat-vlan-filter": [
262                             "10"
263                           ]
264                         }
265                       }
266                     }
267                   ]
268                 },
269                 "vm-type": "vgmux",
270                 "vm-type-tag": "vgmux"
271               }
272             ]
273           }
274         },
275         "vf-module-parameters": {
276           "param": [
277             {
278               "name": "vfmodname",
279               "resource-resolution-data": {
280                 "capability-name": "cap1",
281                 "payload": "payload1",
282                 "resource-key": [
283                   {
284                     "name": "key1",
285                     "value": "value1"
286                   }
287                 ],
288                 "status": "active"
289               },
290               "value": "value1"
291             }
292           ]
293         },
294         "vf-module-topology-identifier": {
295           "vf-module-id": "vfmodule1",
296           "vf-module-name": "vfmodule1",
297           "vf-module-type": "router"
298         }
299       },
300       "vnf-resource-assignments": {
301         "availability-zones": {
302           "availability-zone": [
303             "zone1"
304           ],
305           "max-count": 0
306         },
307         "vnf-networks": {
308           "vnf-network": [
309             {
310               "contrail-network-fqdn": "skynet.net",
311               "is-trunked": true,
312               "network-id": "net1",
313               "network-name": "net1",
314               "network-role": "secret",
315               "neutron-id": "neutron1",
316               "related-networks": {
317                 "related-network": [
318                   {
319                     "network-id": "net2",
320                     "network-role": "secret",
321                     "vlan-tags": {
322                       "is-private": true,
323                       "lower-tag-id": 0,
324                       "upper-tag-id": 0,
325                       "vlan-interface": "vlan2"
326                     }
327                   }
328                 ]
329               },
330               "segmentation-id": "seg2",
331               "subnets-data": {
332                 "subnet-data": [
333                   {
334                     "cidr-mask": "255.255",
335                     "dhcp-enabled": "Y",
336                     "gateway-address": "10.1.2.254",
337                     "ip-version": "ipv4",
338                     "network-start-address": "10.1.2.1",
339                     "sdnc-subnet-id": "sub1",
340                     "subnet-id": "sub1",
341                     "subnet-name": "sub1",
342                     "subnet-role": "subrole1"
343                   }
344                 ]
345               }
346             }
347           ]
348         },
349         "vnf-status": "active"
350       },
351       "vnf-topology-identifier-structure": {
352         "nf-code": "code1",
353         "nf-function": "function1",
354         "nf-role": "role1",
355         "nf-type": "type1",
356         "vnf-id": "preload1",
357         "vnf-name": "vnf1",
358         "vnf-type": "vnftype1"
359       }
360     },
361     "request-information": {
362       "notification-url": "http://dev.null",
363       "order-number": "order123",
364       "order-version": "1",
365       "request-action": "CreateNetworkInstance",
366       "request-id": "req001",
367       "source": "curl"
368     },
369     "sdnc-request-header": {
370       "svc-action": "reserve",
371       "svc-notification-url": "http://dev.null",
372       "svc-request-id": "svcreq001"
373     }
374   }
375 }