Rift.IO OSM R1 Initial Submission
[osm/UI.git] / skyquake / plugins / composer / test / helpers / test-clean-input-output-model.json
1 [
2         {
3                 "id": "GUID-1",
4                 "name": "RIFT.ware™ NS Descriptors Catalog",
5                 "short-name": "rift.ware-nsd-cat",
6                 "description": "RIFT.ware™, an open source NFV development and deployment software platform that makes it simple to create, deploy and manage hyper-scale Virtual network functions and applications.",
7                 "vendor": "RIFT.io",
8                 "version": "",
9                 "created-on": "",
10                 "type": "nsd",
11                 "descriptors": [
12                         {
13                                 "id": "ba1dfbcc-626b-11e5-998d-6cb3113b406f",
14                                 "name": "ping-pong-nsd",
15                                 "short-name": "ping-pong-nsd",
16                                 "vendor": "RIFT.io",
17                                 "logo": "rift.png",
18                                 "description": "Toy NS",
19                                 "version": "1.0",
20                                 "connection-point": [
21                                         {
22                                                 "name": "ping-pong-nsd/cp0"
23                                         },
24                                         {
25                                                 "name": "ping-pong-nsd/cp1"
26                                         }
27                                 ],
28                                 "vld": [
29                                         {
30                                                 "id": "ba1c03a8-626b-11e5-998d-6cb3113b406f",
31                                                 "name": "ping-pong-vld",
32                                                 "short-name": "ping-pong-vld",
33                                                 "vendor": "RIFT.io",
34                                                 "description": "Toy VL",
35                                                 "version": "1.0",
36                                                 "type": "ELAN",
37                                                 "vnfd-connection-point-ref": [
38                                                         {
39                                                                 "member-vnf-index-ref": 1,
40                                                                 "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f",
41                                                                 "vnfd-connection-point-ref": "ping-vnfd/cp1"
42                                                         },
43                                                         {
44                                                                 "member-vnf-index-ref": 2,
45                                                                 "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f",
46                                                                 "vnfd-connection-point-ref": "pong-vnfd/cp1"
47                                                         }
48                                                 ],
49                                                 "provider-network": {
50                                                         "name": "physnet1",
51                                                         "overlay-type": "VLAN"
52                                                 }
53                                         }
54                                 ],
55                                 "constituent-vnfd": [
56                                         {
57                                                 "member-vnf-index": 1,
58                                                 "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f"
59                                         },
60                                         {
61                                                 "member-vnf-index": 2,
62                                                 "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f"
63                                         }
64                                 ],
65                                 "vnffgd": [{
66                                         "id": "1d6382bb-52fa-43b6-9489-d764a0a27da9",
67                                         "name": "vnffgd-5",
68                                         "short-name": "FG-1",
69                                         "vendor": "",
70                                         "description": "",
71                                         "version": "",
72                                         "rsp": [
73                                                 {
74                                                         "id": "a10b372d-19a1-4d84-a246-82bfceddae12",
75                                                         "name": "rsp-6",
76                                                         "vnfd-connection-point-ref": [
77                                                                 {
78                                                                         "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f",
79                                                                         "member-vnf-index-ref": 1,
80                                                                         "vnfd-connection-point-ref": "ping-vnfd/cp1"
81                                                                 },
82                                                                 {
83                                                                         "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f",
84                                                                         "member-vnf-index-ref": 2,
85                                                                         "vnfd-connection-point-ref": "pong-vnfd/cp0"
86                                                                 }
87                                                         ]
88                                                 }
89                                         ],
90                                         "classifier": [
91                                                 {
92                                                         "id": "1-a5b8-45b5-8163-f2577555d561",
93                                                         "name": "classifier-1",
94                                                         "rsp-id-ref": "a10b372d-19a1-4d84-a246-82bfceddae12",
95                                                         "match-attributes": [{
96                                                                 "id": "1",
97                                                                 "ip-proto": "123.0.0.1",
98                                                                 "source-ip-address": "10.4.0.1",
99                                                                 "destination-ip-address": "10.4.0.2",
100                                                                 "source-port": "1234",
101                                                                 "destination-port": "4321"
102                                                         }]
103                                                 },
104                                                 {
105                                                         "id": "2-a5b8-45b5-8163-f2577555d561",
106                                                         "name": "classifier-2",
107                                                         "rsp-id-ref": "a10b372d-19a1-4d84-a246-82bfceddae12",
108                                                         "match-attributes": [{
109                                                                 "id": "1",
110                                                                 "ip-proto": "123.0.0.1",
111                                                                 "source-ip-address": "10.4.0.1",
112                                                                 "destination-ip-address": "10.4.0.2",
113                                                                 "source-port": "1234",
114                                                                 "destination-port": "4321"
115                                                         }]
116                                                 },
117                                                 {
118                                                         "id": "3-a5b8-45b5-8163-f2577555d561",
119                                                         "name": "classifier-3",
120                                                         "rsp-id-ref": "a10b372d-19a1-4d84-a246-82bfceddae12",
121                                                         "match-attributes": [{
122                                                                 "id": "1",
123                                                                 "ip-proto": "123.0.0.1",
124                                                                 "source-ip-address": "10.4.0.1",
125                                                                 "destination-ip-address": "10.4.0.2",
126                                                                 "source-port": "1234",
127                                                                 "destination-port": "4321"
128                                                         }]
129                                                 },
130                                                 {
131                                                         "id": "4-a5b8-45b5-8163-f2577555d561",
132                                                         "name": "classifier-4",
133                                                         "rsp-id-ref": "a10b372d-19a1-4d84-a246-82bfceddae12",
134                                                         "match-attributes": [{
135                                                                 "id": "1",
136                                                                 "ip-proto": "123.0.0.1",
137                                                                 "source-ip-address": "10.4.0.1",
138                                                                 "destination-ip-address": "10.4.0.2",
139                                                                 "source-port": "1234",
140                                                                 "destination-port": "4321"
141                                                         }]
142                                                 }
143
144                                         ]
145                                 }]
146                         },
147                         {
148                                 "id": "test1-626b-11e5-998d-6cb3113b406f",
149                                 "name": "TEST ping-pong-nsd",
150                                 "short-name": "test-ping-pong-nsd",
151                                 "vendor": "RIFT.io",
152                                 "description": "TEST NS",
153                                 "version": "1.0",
154                                 "connection-point": [
155                                         {
156                                                 "name": "ping-pong-nsd/cp0"
157                                         },
158                                         {
159                                                 "name": "ping-pong-nsd/cp1"
160                                         }
161                                 ],
162                                 "vld": [
163                                         {
164                                                 "id": "test1-ba1c03a8-626b-11e5-998d-6cb3113b406f",
165                                                 "name": "test1-ping-pong-vld",
166                                                 "short-name": "test1-ping-pong-vld",
167                                                 "vendor": "RIFT.io",
168                                                 "description": "test1 VL",
169                                                 "version": "1.0",
170                                                 "type": "ELAN",
171                                                 "vnfd-connection-point-ref": [
172                                                         {
173                                                                 "member-vnf-index-ref": 1,
174                                                                 "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f",
175                                                                 "vnfd-connection-point-ref": "ping-vnfd/cp1"
176                                                         },
177                                                         {
178                                                                 "member-vnf-index-ref": 2,
179                                                                 "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f",
180                                                                 "vnfd-connection-point-ref": "pong-vnfd/cp1"
181                                                         }
182                                                 ],
183                                                 "provider-network": {
184                                                         "name": "physnet1",
185                                                         "overlay-type": "VLAN"
186                                                 }
187                                         }
188                                 ],
189                                 "constituent-vnfd": [
190                                         {
191                                                 "member-vnf-index": 1,
192                                                 "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f"
193                                         },
194                                         {
195                                                 "member-vnf-index": 2,
196                                                 "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f"
197                                         }
198                                 ]
199                         }
200                 ]
201         },
202         {
203                 "id": "GUID-2",
204                 "name": "RIFT.ware™ VNF Descriptors Catalog",
205                 "short-name": "rift.ware-vnfd-cat",
206                 "description": "RIFT.ware™, an open source NFV development and deployment software platform that makes it simple to create, deploy and manage hyper-scale Virtual network functions and applications.",
207                 "vendor": "RIFT.io",
208                 "version": "",
209                 "created-on": "",
210                 "type": "vnfd",
211                 "descriptors": [
212                         {
213                                 "id": "ba145e82-626b-11e5-998d-6cb3113b406f",
214                                 "name": "ping-vnfd",
215                                 "short-name": "ping-vnfd",
216                                 "vendor": "RIFT.io",
217                                 "description": "This is an example RIFT.ware VNF",
218                                 "version": "1.0",
219                                 "logo": "data:image/png",
220                                 "internal-vld": [
221                                         {
222                                                 "id": "ba1478fe-626b-11e5-998d-6cb3113b406f",
223                                                 "name": "fabric",
224                                                 "short-name": "fabric",
225                                                 "description": "Virtual link for internal fabric",
226                                                 "type": "ELAN"
227                                         }
228                                 ],
229                                 "connection-point": [
230                                         {
231                                                 "name": "ping-vnfd/cp0",
232                                                 "type": "VPORT"
233                                         },
234                                         {
235                                                 "name": "ping-vnfd/cp1",
236                                                 "type": "VPORT"
237                                         }
238                                 ],
239                                 "vdu": [
240                                         {
241                                                 "id": "ba14a504-626b-11e5-998d-6cb3113b406f",
242                                                 "name": "iovdu",
243                                                 "count": 2,
244                                                 "vm-flavor": {
245                                                         "vcpu-count": 4,
246                                                         "memory-mb": 16384,
247                                                         "storage-gb": 16
248                                                 },
249                                                 "guest-epa": {
250                                                         "trusted-execution": true,
251                                                         "mempage-size": "PREFER_LARGE",
252                                                         "cpu-pinning-policy": "DEDICATED",
253                                                         "cpu-thread-pinning-policy": "AVOID",
254                                                         "numa-node-policy": {
255                                                                 "node-cnt": 2,
256                                                                 "mem-policy": "PREFERRED",
257                                                                 "node": [
258                                                                         {
259                                                                                 "id": 0,
260                                                                                 "vcpu": [
261                                                                                         "0",
262                                                                                         "1"
263                                                                                 ],
264                                                                                 "memory-mb": 8192
265                                                                         },
266                                                                         {
267                                                                                 "id": 1,
268                                                                                 "vcpu": [
269                                                                                         "2",
270                                                                                         "3"
271                                                                                 ],
272                                                                                 "memory-mb": 8192
273                                                                         }
274                                                                 ]
275                                                         }
276                                                 },
277                                                 "vswitch-epa": {
278                                                         "ovs-acceleration": "DISABLED",
279                                                         "ovs-offload": "DISABLED"
280                                                 },
281                                                 "hypervisor-epa": {
282                                                         "type": "PREFER_KVM"
283                                                 },
284                                                 "host-epa": {
285                                                         "cpu-model": "PREFER_SANDYBRIDGE",
286                                                         "cpu-arch": "PREFER_X86_64",
287                                                         "cpu-vendor": "PREFER_INTEL",
288                                                         "cpu-socket-count": "PREFER_TWO",
289                                                         "cpu-feature": [
290                                                                 "PREFER_AES",
291                                                                 "PREFER_CAT"
292                                                         ]
293                                                 },
294                                                 "image": "rw_openstack.qcow2",
295                                                 "internal-connection-point": [
296                                                         {
297                                                                 "id": "ba153744-626b-11e5-998d-6cb3113b406f",
298                                                                 "type": "VPORT"
299                                                         },
300                                                         {
301                                                                 "id": "ba15577e-626b-11e5-998d-6cb3113b406f",
302                                                                 "type": "VPORT"
303                                                         }
304                                                 ],
305                                                 "internal-interface": [
306                                                         {
307                                                                 "name": "eth0",
308                                                                 "vdu-internal-connection-point-ref": "ba153744-626b-11e5-998d-6cb3113b406f",
309                                                                 "virtual-interface": {
310                                                                         "type": "VIRTIO"
311                                                                 }
312                                                         },
313                                                         {
314                                                                 "name": "eth1",
315                                                                 "vdu-internal-connection-point-ref": "ba15577e-626b-11e5-998d-6cb3113b406f",
316                                                                 "virtual-interface": {
317                                                                         "type": "VIRTIO"
318                                                                 }
319                                                         }
320                                                 ],
321                                                 "external-interface": [
322                                                         {
323                                                                 "name": "eth0",
324                                                                 "vnfd-connection-point-ref": "ping-vnfd/cp0",
325                                                                 "virtual-interface": {
326                                                                         "type": "VIRTIO"
327                                                                 }
328                                                         },
329                                                         {
330                                                                 "name": "eth1",
331                                                                 "vnfd-connection-point-ref": "ping-vnfd/cp1",
332                                                                 "virtual-interface": {
333                                                                         "type": "VIRTIO"
334                                                                 }
335                                                         }
336                                                 ]
337                                         }
338                                 ]
339                         },
340                         {
341                                 "id": "ba1947da-626b-11e5-998d-6cb3113b406f",
342                                 "name": "pong-vnfd",
343                                 "short-name": "pong-vnfd",
344                                 "vendor": "RIFT.io",
345                                 "description": "This is an example RIFT.ware VNF",
346                                 "version": "1.0",
347                                 "logo": "",
348                                 "internal-vld": [
349                                         {
350                                                 "id": "ba195068-626b-11e5-998d-6cb3113b406f",
351                                                 "name": "fabric",
352                                                 "short-name": "fabric",
353                                                 "description": "Virtual link for internal fabric",
354                                                 "type": "ELAN",
355                                                 "internal-connection-point-ref": [
356                                                         "ba197a98-626b-11e5-998d-6cb3113b406f",
357                                                         "ba198696-626b-11e5-998d-6cb3113b406f"
358                                                 ]
359                                         }
360                                 ],
361                                 "connection-point": [
362                                         {
363                                                 "name": "pong-vnfd/cp0",
364                                                 "type": "VPORT"
365                                         },
366                                         {
367                                                 "name": "pong-vnfd/cp1",
368                                                 "type": "VPORT"
369                                         }
370                                 ],
371                                 "vdu": [
372                                         {
373                                                 "id": "1-626b-11e5-998d-6cb3113b406f",
374                                                 "name": "iovdu",
375                                                 "count": 2,
376                                                 "vm-flavor": {
377                                                         "vcpu-count": 4,
378                                                         "memory-mb": 16384,
379                                                         "storage-gb": 16
380                                                 },
381                                                 "guest-epa": {
382                                                         "trusted-execution": true,
383                                                         "mempage-size": "PREFER_LARGE",
384                                                         "cpu-pinning-policy": "DEDICATED",
385                                                         "cpu-thread-pinning-policy": "AVOID",
386                                                         "numa-node-policy": {
387                                                                 "node-cnt": 2,
388                                                                 "mem-policy": "PREFERRED",
389                                                                 "node": [
390                                                                         {
391                                                                                 "id": 0,
392                                                                                 "vcpu": [
393                                                                                         "0",
394                                                                                         "1"
395                                                                                 ],
396                                                                                 "memory-mb": 8192
397                                                                         },
398                                                                         {
399                                                                                 "id": 1,
400                                                                                 "vcpu": [
401                                                                                         "2",
402                                                                                         "3"
403                                                                                 ],
404                                                                                 "memory-mb": 8192
405                                                                         }
406                                                                 ]
407                                                         }
408                                                 },
409                                                 "vswitch-epa": {
410                                                         "ovs-acceleration": "DISABLED",
411                                                         "ovs-offload": "DISABLED"
412                                                 },
413                                                 "hypervisor-epa": {
414                                                         "type": "PREFER_KVM"
415                                                 },
416                                                 "host-epa": {
417                                                         "cpu-model": "PREFER_SANDYBRIDGE",
418                                                         "cpu-arch": "PREFER_X86_64",
419                                                         "cpu-vendor": "PREFER_INTEL",
420                                                         "cpu-socket-count": "PREFER_TWO",
421                                                         "cpu-feature": [
422                                                                 "PREFER_AES",
423                                                                 "PREFER_CAT"
424                                                         ]
425                                                 },
426                                                 "image": "rw_openstack.qcow2",
427                                                 "internal-connection-point": [
428                                                         {
429                                                                 "id": "ba197a98-626b-11e5-998d-6cb3113b406f",
430                                                                 "type": "VPORT"
431                                                         },
432                                                         {
433                                                                 "id": "ba198696-626b-11e5-998d-6cb3113b406f",
434                                                                 "type": "VPORT"
435                                                         }
436                                                 ],
437                                                 "internal-interface": [
438                                                         {
439                                                                 "name": "eth0",
440                                                                 "vdu-internal-connection-point-ref": "ba197a98-626b-11e5-998d-6cb3113b406f",
441                                                                 "virtual-interface": {
442                                                                         "type": "VIRTIO"
443                                                                 }
444                                                         },
445                                                         {
446                                                                 "name": "eth1",
447                                                                 "vdu-internal-connection-point-ref": "ba198696-626b-11e5-998d-6cb3113b406f",
448                                                                 "virtual-interface": {
449                                                                         "type": "VIRTIO"
450                                                                 }
451                                                         }
452                                                 ],
453                                                 "external-interface": [
454                                                         {
455                                                                 "name": "eth0",
456                                                                 "vnfd-connection-point-ref": "pong-vnfd/cp0",
457                                                                 "virtual-interface": {
458                                                                         "type": "VIRTIO"
459                                                                 }
460                                                         },
461                                                         {
462                                                                 "name": "eth1",
463                                                                 "vnfd-connection-point-ref": "pong-vnfd/cp1",
464                                                                 "virtual-interface": {
465                                                                         "type": "VIRTIO"
466                                                                 }
467                                                         }
468                                                 ]
469                                         },
470                                         {
471                                                 "id": "2-626b-11e5-998d-6cb3113b406f",
472                                                 "name": "iovdu",
473                                                 "count": 2,
474                                                 "vm-flavor": {
475                                                         "vcpu-count": 4,
476                                                         "memory-mb": 16384,
477                                                         "storage-gb": 16
478                                                 },
479                                                 "guest-epa": {
480                                                         "trusted-execution": true,
481                                                         "mempage-size": "PREFER_LARGE",
482                                                         "cpu-pinning-policy": "DEDICATED",
483                                                         "cpu-thread-pinning-policy": "AVOID",
484                                                         "numa-node-policy": {
485                                                                 "node-cnt": 2,
486                                                                 "mem-policy": "PREFERRED",
487                                                                 "node": [
488                                                                         {
489                                                                                 "id": 0,
490                                                                                 "vcpu": [
491                                                                                         "0",
492                                                                                         "1"
493                                                                                 ],
494                                                                                 "memory-mb": 8192
495                                                                         },
496                                                                         {
497                                                                                 "id": 1,
498                                                                                 "vcpu": [
499                                                                                         "2",
500                                                                                         "3"
501                                                                                 ],
502                                                                                 "memory-mb": 8192
503                                                                         }
504                                                                 ]
505                                                         }
506                                                 },
507                                                 "vswitch-epa": {
508                                                         "ovs-acceleration": "DISABLED",
509                                                         "ovs-offload": "DISABLED"
510                                                 },
511                                                 "hypervisor-epa": {
512                                                         "type": "PREFER_KVM"
513                                                 },
514                                                 "host-epa": {
515                                                         "cpu-model": "PREFER_SANDYBRIDGE",
516                                                         "cpu-arch": "PREFER_X86_64",
517                                                         "cpu-vendor": "PREFER_INTEL",
518                                                         "cpu-socket-count": "PREFER_TWO",
519                                                         "cpu-feature": [
520                                                                 "PREFER_AES",
521                                                                 "PREFER_CAT"
522                                                         ]
523                                                 },
524                                                 "image": "rw_openstack.qcow2",
525                                                 "internal-connection-point": [
526                                                         {
527                                                                 "id": "21-626b-11e5-998d-6cb3113b406f",
528                                                                 "type": "VPORT"
529                                                         },
530                                                         {
531                                                                 "id": "22-626b-11e5-998d-6cb3113b406f",
532                                                                 "type": "VPORT"
533                                                         }
534                                                 ],
535                                                 "internal-interface": [
536                                                         {
537                                                                 "name": "eth0",
538                                                                 "vdu-internal-connection-point-ref": "21-626b-11e5-998d-6cb3113b406f",
539                                                                 "virtual-interface": {
540                                                                         "type": "VIRTIO"
541                                                                 }
542                                                         },
543                                                         {
544                                                                 "name": "eth1",
545                                                                 "vdu-internal-connection-point-ref": "22-626b-11e5-998d-6cb3113b406f",
546                                                                 "virtual-interface": {
547                                                                         "type": "VIRTIO"
548                                                                 }
549                                                         }
550                                                 ],
551                                                 "external-interface": [
552                                                         {
553                                                                 "name": "eth0",
554                                                                 "vnfd-connection-point-ref": "pong-vnfd/cp0",
555                                                                 "virtual-interface": {
556                                                                         "type": "VIRTIO"
557                                                                 }
558                                                         },
559                                                         {
560                                                                 "name": "eth1",
561                                                                 "vnfd-connection-point-ref": "pong-vnfd/cp1",
562                                                                 "virtual-interface": {
563                                                                         "type": "VIRTIO"
564                                                                 }
565                                                         }
566                                                 ]
567                                         }
568                                 ]
569                         }
570                 ]
571         },
572         {
573                 "id": "GUID-3",
574                 "name": "RIFT.ware™ PNF Descriptors Catalog",
575                 "short-name": "rift.ware-pnfd-cat",
576                 "description": "RIFT.ware™, an open source NFV development and deployment software platform that makes it simple to create, deploy and manage hyper-scale Virtual network functions and applications.",
577                 "vendor": "RIFT.io",
578                 "version": "",
579                 "created-on": "",
580                 "type": "pnfd",
581                 "descriptors": []
582         }
583 ]