X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Fcomposer%2Ftest%2Fhelpers%2Ftest-clean-input-output-model.json;fp=skyquake%2Fplugins%2Fcomposer%2Ftest%2Fhelpers%2Ftest-clean-input-output-model.json;h=2868f9120c51cf84672344aea4bd0f9d581f2690;hb=e29efc315df33d546237e270470916e26df391d6;hp=0000000000000000000000000000000000000000;hpb=9c5e457509ba5a1822c316635c6308874e61b4b9;p=osm%2FUI.git diff --git a/skyquake/plugins/composer/test/helpers/test-clean-input-output-model.json b/skyquake/plugins/composer/test/helpers/test-clean-input-output-model.json new file mode 100644 index 000000000..2868f9120 --- /dev/null +++ b/skyquake/plugins/composer/test/helpers/test-clean-input-output-model.json @@ -0,0 +1,583 @@ +[ + { + "id": "GUID-1", + "name": "RIFT.ware™ NS Descriptors Catalog", + "short-name": "rift.ware-nsd-cat", + "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.", + "vendor": "RIFT.io", + "version": "", + "created-on": "", + "type": "nsd", + "descriptors": [ + { + "id": "ba1dfbcc-626b-11e5-998d-6cb3113b406f", + "name": "ping-pong-nsd", + "short-name": "ping-pong-nsd", + "vendor": "RIFT.io", + "logo": "rift.png", + "description": "Toy NS", + "version": "1.0", + "connection-point": [ + { + "name": "ping-pong-nsd/cp0" + }, + { + "name": "ping-pong-nsd/cp1" + } + ], + "vld": [ + { + "id": "ba1c03a8-626b-11e5-998d-6cb3113b406f", + "name": "ping-pong-vld", + "short-name": "ping-pong-vld", + "vendor": "RIFT.io", + "description": "Toy VL", + "version": "1.0", + "type": "ELAN", + "vnfd-connection-point-ref": [ + { + "member-vnf-index-ref": 1, + "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f", + "vnfd-connection-point-ref": "ping-vnfd/cp1" + }, + { + "member-vnf-index-ref": 2, + "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f", + "vnfd-connection-point-ref": "pong-vnfd/cp1" + } + ], + "provider-network": { + "name": "physnet1", + "overlay-type": "VLAN" + } + } + ], + "constituent-vnfd": [ + { + "member-vnf-index": 1, + "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f" + }, + { + "member-vnf-index": 2, + "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f" + } + ], + "vnffgd": [{ + "id": "1d6382bb-52fa-43b6-9489-d764a0a27da9", + "name": "vnffgd-5", + "short-name": "FG-1", + "vendor": "", + "description": "", + "version": "", + "rsp": [ + { + "id": "a10b372d-19a1-4d84-a246-82bfceddae12", + "name": "rsp-6", + "vnfd-connection-point-ref": [ + { + "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f", + "member-vnf-index-ref": 1, + "vnfd-connection-point-ref": "ping-vnfd/cp1" + }, + { + "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f", + "member-vnf-index-ref": 2, + "vnfd-connection-point-ref": "pong-vnfd/cp0" + } + ] + } + ], + "classifier": [ + { + "id": "1-a5b8-45b5-8163-f2577555d561", + "name": "classifier-1", + "rsp-id-ref": "a10b372d-19a1-4d84-a246-82bfceddae12", + "match-attributes": [{ + "id": "1", + "ip-proto": "123.0.0.1", + "source-ip-address": "10.4.0.1", + "destination-ip-address": "10.4.0.2", + "source-port": "1234", + "destination-port": "4321" + }] + }, + { + "id": "2-a5b8-45b5-8163-f2577555d561", + "name": "classifier-2", + "rsp-id-ref": "a10b372d-19a1-4d84-a246-82bfceddae12", + "match-attributes": [{ + "id": "1", + "ip-proto": "123.0.0.1", + "source-ip-address": "10.4.0.1", + "destination-ip-address": "10.4.0.2", + "source-port": "1234", + "destination-port": "4321" + }] + }, + { + "id": "3-a5b8-45b5-8163-f2577555d561", + "name": "classifier-3", + "rsp-id-ref": "a10b372d-19a1-4d84-a246-82bfceddae12", + "match-attributes": [{ + "id": "1", + "ip-proto": "123.0.0.1", + "source-ip-address": "10.4.0.1", + "destination-ip-address": "10.4.0.2", + "source-port": "1234", + "destination-port": "4321" + }] + }, + { + "id": "4-a5b8-45b5-8163-f2577555d561", + "name": "classifier-4", + "rsp-id-ref": "a10b372d-19a1-4d84-a246-82bfceddae12", + "match-attributes": [{ + "id": "1", + "ip-proto": "123.0.0.1", + "source-ip-address": "10.4.0.1", + "destination-ip-address": "10.4.0.2", + "source-port": "1234", + "destination-port": "4321" + }] + } + + ] + }] + }, + { + "id": "test1-626b-11e5-998d-6cb3113b406f", + "name": "TEST ping-pong-nsd", + "short-name": "test-ping-pong-nsd", + "vendor": "RIFT.io", + "description": "TEST NS", + "version": "1.0", + "connection-point": [ + { + "name": "ping-pong-nsd/cp0" + }, + { + "name": "ping-pong-nsd/cp1" + } + ], + "vld": [ + { + "id": "test1-ba1c03a8-626b-11e5-998d-6cb3113b406f", + "name": "test1-ping-pong-vld", + "short-name": "test1-ping-pong-vld", + "vendor": "RIFT.io", + "description": "test1 VL", + "version": "1.0", + "type": "ELAN", + "vnfd-connection-point-ref": [ + { + "member-vnf-index-ref": 1, + "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f", + "vnfd-connection-point-ref": "ping-vnfd/cp1" + }, + { + "member-vnf-index-ref": 2, + "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f", + "vnfd-connection-point-ref": "pong-vnfd/cp1" + } + ], + "provider-network": { + "name": "physnet1", + "overlay-type": "VLAN" + } + } + ], + "constituent-vnfd": [ + { + "member-vnf-index": 1, + "vnfd-id-ref": "ba145e82-626b-11e5-998d-6cb3113b406f" + }, + { + "member-vnf-index": 2, + "vnfd-id-ref": "ba1947da-626b-11e5-998d-6cb3113b406f" + } + ] + } + ] + }, + { + "id": "GUID-2", + "name": "RIFT.ware™ VNF Descriptors Catalog", + "short-name": "rift.ware-vnfd-cat", + "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.", + "vendor": "RIFT.io", + "version": "", + "created-on": "", + "type": "vnfd", + "descriptors": [ + { + "id": "ba145e82-626b-11e5-998d-6cb3113b406f", + "name": "ping-vnfd", + "short-name": "ping-vnfd", + "vendor": "RIFT.io", + "description": "This is an example RIFT.ware VNF", + "version": "1.0", + "logo": "data:image/png", + "internal-vld": [ + { + "id": "ba1478fe-626b-11e5-998d-6cb3113b406f", + "name": "fabric", + "short-name": "fabric", + "description": "Virtual link for internal fabric", + "type": "ELAN" + } + ], + "connection-point": [ + { + "name": "ping-vnfd/cp0", + "type": "VPORT" + }, + { + "name": "ping-vnfd/cp1", + "type": "VPORT" + } + ], + "vdu": [ + { + "id": "ba14a504-626b-11e5-998d-6cb3113b406f", + "name": "iovdu", + "count": 2, + "vm-flavor": { + "vcpu-count": 4, + "memory-mb": 16384, + "storage-gb": 16 + }, + "guest-epa": { + "trusted-execution": true, + "mempage-size": "PREFER_LARGE", + "cpu-pinning-policy": "DEDICATED", + "cpu-thread-pinning-policy": "AVOID", + "numa-node-policy": { + "node-cnt": 2, + "mem-policy": "PREFERRED", + "node": [ + { + "id": 0, + "vcpu": [ + "0", + "1" + ], + "memory-mb": 8192 + }, + { + "id": 1, + "vcpu": [ + "2", + "3" + ], + "memory-mb": 8192 + } + ] + } + }, + "vswitch-epa": { + "ovs-acceleration": "DISABLED", + "ovs-offload": "DISABLED" + }, + "hypervisor-epa": { + "type": "PREFER_KVM" + }, + "host-epa": { + "cpu-model": "PREFER_SANDYBRIDGE", + "cpu-arch": "PREFER_X86_64", + "cpu-vendor": "PREFER_INTEL", + "cpu-socket-count": "PREFER_TWO", + "cpu-feature": [ + "PREFER_AES", + "PREFER_CAT" + ] + }, + "image": "rw_openstack.qcow2", + "internal-connection-point": [ + { + "id": "ba153744-626b-11e5-998d-6cb3113b406f", + "type": "VPORT" + }, + { + "id": "ba15577e-626b-11e5-998d-6cb3113b406f", + "type": "VPORT" + } + ], + "internal-interface": [ + { + "name": "eth0", + "vdu-internal-connection-point-ref": "ba153744-626b-11e5-998d-6cb3113b406f", + "virtual-interface": { + "type": "VIRTIO" + } + }, + { + "name": "eth1", + "vdu-internal-connection-point-ref": "ba15577e-626b-11e5-998d-6cb3113b406f", + "virtual-interface": { + "type": "VIRTIO" + } + } + ], + "external-interface": [ + { + "name": "eth0", + "vnfd-connection-point-ref": "ping-vnfd/cp0", + "virtual-interface": { + "type": "VIRTIO" + } + }, + { + "name": "eth1", + "vnfd-connection-point-ref": "ping-vnfd/cp1", + "virtual-interface": { + "type": "VIRTIO" + } + } + ] + } + ] + }, + { + "id": "ba1947da-626b-11e5-998d-6cb3113b406f", + "name": "pong-vnfd", + "short-name": "pong-vnfd", + "vendor": "RIFT.io", + "description": "This is an example RIFT.ware VNF", + "version": "1.0", + "logo": "", + "internal-vld": [ + { + "id": "ba195068-626b-11e5-998d-6cb3113b406f", + "name": "fabric", + "short-name": "fabric", + "description": "Virtual link for internal fabric", + "type": "ELAN", + "internal-connection-point-ref": [ + "ba197a98-626b-11e5-998d-6cb3113b406f", + "ba198696-626b-11e5-998d-6cb3113b406f" + ] + } + ], + "connection-point": [ + { + "name": "pong-vnfd/cp0", + "type": "VPORT" + }, + { + "name": "pong-vnfd/cp1", + "type": "VPORT" + } + ], + "vdu": [ + { + "id": "1-626b-11e5-998d-6cb3113b406f", + "name": "iovdu", + "count": 2, + "vm-flavor": { + "vcpu-count": 4, + "memory-mb": 16384, + "storage-gb": 16 + }, + "guest-epa": { + "trusted-execution": true, + "mempage-size": "PREFER_LARGE", + "cpu-pinning-policy": "DEDICATED", + "cpu-thread-pinning-policy": "AVOID", + "numa-node-policy": { + "node-cnt": 2, + "mem-policy": "PREFERRED", + "node": [ + { + "id": 0, + "vcpu": [ + "0", + "1" + ], + "memory-mb": 8192 + }, + { + "id": 1, + "vcpu": [ + "2", + "3" + ], + "memory-mb": 8192 + } + ] + } + }, + "vswitch-epa": { + "ovs-acceleration": "DISABLED", + "ovs-offload": "DISABLED" + }, + "hypervisor-epa": { + "type": "PREFER_KVM" + }, + "host-epa": { + "cpu-model": "PREFER_SANDYBRIDGE", + "cpu-arch": "PREFER_X86_64", + "cpu-vendor": "PREFER_INTEL", + "cpu-socket-count": "PREFER_TWO", + "cpu-feature": [ + "PREFER_AES", + "PREFER_CAT" + ] + }, + "image": "rw_openstack.qcow2", + "internal-connection-point": [ + { + "id": "ba197a98-626b-11e5-998d-6cb3113b406f", + "type": "VPORT" + }, + { + "id": "ba198696-626b-11e5-998d-6cb3113b406f", + "type": "VPORT" + } + ], + "internal-interface": [ + { + "name": "eth0", + "vdu-internal-connection-point-ref": "ba197a98-626b-11e5-998d-6cb3113b406f", + "virtual-interface": { + "type": "VIRTIO" + } + }, + { + "name": "eth1", + "vdu-internal-connection-point-ref": "ba198696-626b-11e5-998d-6cb3113b406f", + "virtual-interface": { + "type": "VIRTIO" + } + } + ], + "external-interface": [ + { + "name": "eth0", + "vnfd-connection-point-ref": "pong-vnfd/cp0", + "virtual-interface": { + "type": "VIRTIO" + } + }, + { + "name": "eth1", + "vnfd-connection-point-ref": "pong-vnfd/cp1", + "virtual-interface": { + "type": "VIRTIO" + } + } + ] + }, + { + "id": "2-626b-11e5-998d-6cb3113b406f", + "name": "iovdu", + "count": 2, + "vm-flavor": { + "vcpu-count": 4, + "memory-mb": 16384, + "storage-gb": 16 + }, + "guest-epa": { + "trusted-execution": true, + "mempage-size": "PREFER_LARGE", + "cpu-pinning-policy": "DEDICATED", + "cpu-thread-pinning-policy": "AVOID", + "numa-node-policy": { + "node-cnt": 2, + "mem-policy": "PREFERRED", + "node": [ + { + "id": 0, + "vcpu": [ + "0", + "1" + ], + "memory-mb": 8192 + }, + { + "id": 1, + "vcpu": [ + "2", + "3" + ], + "memory-mb": 8192 + } + ] + } + }, + "vswitch-epa": { + "ovs-acceleration": "DISABLED", + "ovs-offload": "DISABLED" + }, + "hypervisor-epa": { + "type": "PREFER_KVM" + }, + "host-epa": { + "cpu-model": "PREFER_SANDYBRIDGE", + "cpu-arch": "PREFER_X86_64", + "cpu-vendor": "PREFER_INTEL", + "cpu-socket-count": "PREFER_TWO", + "cpu-feature": [ + "PREFER_AES", + "PREFER_CAT" + ] + }, + "image": "rw_openstack.qcow2", + "internal-connection-point": [ + { + "id": "21-626b-11e5-998d-6cb3113b406f", + "type": "VPORT" + }, + { + "id": "22-626b-11e5-998d-6cb3113b406f", + "type": "VPORT" + } + ], + "internal-interface": [ + { + "name": "eth0", + "vdu-internal-connection-point-ref": "21-626b-11e5-998d-6cb3113b406f", + "virtual-interface": { + "type": "VIRTIO" + } + }, + { + "name": "eth1", + "vdu-internal-connection-point-ref": "22-626b-11e5-998d-6cb3113b406f", + "virtual-interface": { + "type": "VIRTIO" + } + } + ], + "external-interface": [ + { + "name": "eth0", + "vnfd-connection-point-ref": "pong-vnfd/cp0", + "virtual-interface": { + "type": "VIRTIO" + } + }, + { + "name": "eth1", + "vnfd-connection-point-ref": "pong-vnfd/cp1", + "virtual-interface": { + "type": "VIRTIO" + } + } + ] + } + ] + } + ] + }, + { + "id": "GUID-3", + "name": "RIFT.ware™ PNF Descriptors Catalog", + "short-name": "rift.ware-pnfd-cat", + "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.", + "vendor": "RIFT.io", + "version": "", + "created-on": "", + "type": "pnfd", + "descriptors": [] + } +] \ No newline at end of file