summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/test/resources
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-06-08 12:16:24 -0400
committerDan Timoney <dtimoney@att.com>2020-06-19 14:15:10 -0400
commitd99e2dfa5c1db6daed4e98ea208089969a0867cf (patch)
tree9c4cdfdfff13d37f184cb4f1aa86a6d23bebf6f1 /ms/generic-resource-api/src/test/resources
parent5563f521d8ca0b38f93d51246d2aea8c6648c3a4 (diff)
Implement GRA preload and service data objects
Implements CRUD operations and RPCs for GRA preload data, as well as adding data object for service-data. Change-Id: I93d268e7f1cfbcd4e839e122f72ce02928dad807 Issue-ID: SDNC-1205 Issue-ID: SDNC-1209 Issue-ID: SDNC-1210 Issue-ID: SDNC-1213 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/generic-resource-api/src/test/resources')
-rw-r--r--ms/generic-resource-api/src/test/resources/preload-net.json91
-rw-r--r--ms/generic-resource-api/src/test/resources/preload.data518
-rw-r--r--ms/generic-resource-api/src/test/resources/preload1.json84
-rw-r--r--ms/generic-resource-api/src/test/resources/preload2.json482
4 files changed, 1175 insertions, 0 deletions
diff --git a/ms/generic-resource-api/src/test/resources/preload-net.json b/ms/generic-resource-api/src/test/resources/preload-net.json
new file mode 100644
index 0000000..8cc41c1
--- /dev/null
+++ b/ms/generic-resource-api/src/test/resources/preload-net.json
@@ -0,0 +1,91 @@
+{
+ "input": {
+ "preload-network-topology-information": {
+ "host-routes": [
+ {
+ "next-hop": "10.1.12.1",
+ "route-prefix": "12"
+ }
+ ],
+ "is-external-network": true,
+ "is-provider-network": true,
+ "is-shared-network": true,
+ "network-policy": [
+ {
+ "network-policy-fqdn": "policy-sdnc.onap.org",
+ "network-policy-id": "123"
+ }
+ ],
+ "network-topology-identifier-structure": {
+ "eipam-v4-address-plan": "plan9",
+ "eipam-v6-address-plan": "plan9v6",
+ "is-trunked": true,
+ "network-id": "321",
+ "network-instance-group-id": "abc123",
+ "network-name": "syfy",
+ "network-role": "secret",
+ "network-technology": "soupcan",
+ "network-type": "fake",
+ "related-networks": {
+ "related-network": [
+ {
+ "network-id": "skynet",
+ "network-role": "master",
+ "vlan-tags": {
+ "is-private": true,
+ "lower-tag-id": 0,
+ "upper-tag-id": 0,
+ "vlan-interface": "le0"
+ }
+ }
+ ]
+ },
+ "segmentation-id": "seg1"
+ },
+ "physical-network-name": "skynet",
+ "route-table-reference": [
+ {
+ "route-table-reference-fqdn": "sky.net",
+ "route-table-reference-id": "ref1"
+ }
+ ],
+ "subnets": [
+ {
+ "addr-from-start": "Y",
+ "cidr-mask": "255.255.0.0",
+ "dhcp-enabled": "Y",
+ "dhcp-end-address": "10.1.2.254",
+ "dhcp-start-address": "10.1.2.1",
+ "gateway-address": "10.1.2.255",
+ "ip-version": "ipv4",
+ "start-address": "10.1.2.1",
+ "subnet-name": "subnet1",
+ "subnet-role": "puppies",
+ "subnet-sequence": 0
+ }
+ ],
+ "vpn-bindings": [
+ {
+ "aic-zone": "zone1",
+ "global-route-target": "string",
+ "route-target-role": "string",
+ "vpn-binding-id": "string",
+ "vpn-name": "string"
+ }
+ ]
+ },
+ "request-information": {
+ "notification-url": "http://dev.null.com",
+ "order-number": "123456",
+ "order-version": "2010.06",
+ "request-action": "CreateNetworkInstance",
+ "request-id": "REQ123456",
+ "source": "curl"
+ },
+ "sdnc-request-header": {
+ "svc-action": "reserve",
+ "svc-notification-url": "http://dev.null.com",
+ "svc-request-id": "SVCREQ123456"
+ }
+ }
+}
diff --git a/ms/generic-resource-api/src/test/resources/preload.data b/ms/generic-resource-api/src/test/resources/preload.data
new file mode 100644
index 0000000..d1e52f5
--- /dev/null
+++ b/ms/generic-resource-api/src/test/resources/preload.data
@@ -0,0 +1,518 @@
+{
+ "preload-list": [
+ {
+ "preload-data": {
+ "preload-network-topology-information": {
+ "host-routes": null,
+ "network-policy": null,
+ "network-topology-identifier-structure": {
+ "related-networks": null,
+ "network-role": "master",
+ "is-trunked": false,
+ "network-technology": "AI",
+ "network-id": "123",
+ "eipam-v4-address-plan": "evilv4",
+ "network-instance-group-id": null,
+ "network-name": "sky-net",
+ "segmentation-id": null,
+ "eipam-v6-address-plan": "evilv6",
+ "network-type": "evil"
+ },
+ "physical-network-name": null,
+ "is-external-network": null,
+ "is-shared-network": null,
+ "is-provider-network": null,
+ "route-table-reference": null,
+ "subnets": null,
+ "vpn-bindings": null
+ },
+ "preload-oper-status": null,
+ "preload-vf-module-topology-information": null
+ },
+ "preload-type": "network",
+ "preload-id": "preload1"
+ },
+ {
+ "preload-data": {
+ "preload-network-topology-information": {
+ "host-routes": [
+ {
+ "route-prefix": "12",
+ "next-hop": "10.1.12.1"
+ }
+ ],
+ "network-policy": [
+ {
+ "network-policy-fqdn": "policy-sdnc.onap.org",
+ "network-policy-id": "123"
+ }
+ ],
+ "network-topology-identifier-structure": {
+ "related-networks": {
+ "related-network": [
+ {
+ "vlan-tags": {
+ "is-private": true,
+ "vlan-interface": "string",
+ "upper-tag-id": 0,
+ "lower-tag-id": 0
+ },
+ "network-role": "string",
+ "network-id": "string"
+ }
+ ]
+ },
+ "network-role": "secret",
+ "is-trunked": true,
+ "network-technology": "soupcan",
+ "network-id": "321",
+ "eipam-v4-address-plan": "plan9",
+ "network-instance-group-id": "abc123",
+ "network-name": "syfy",
+ "segmentation-id": "string",
+ "eipam-v6-address-plan": "plan9v6",
+ "network-type": "fake"
+ },
+ "physical-network-name": "string",
+ "is-external-network": true,
+ "is-shared-network": true,
+ "is-provider-network": true,
+ "route-table-reference": [
+ {
+ "route-table-reference-id": "string",
+ "route-table-reference-fqdn": "string"
+ }
+ ],
+ "subnets": [
+ {
+ "subnet-role": "string",
+ "cidr-mask": "string",
+ "subnet-sequence": 0,
+ "addr-from-start": "Y",
+ "dhcp-start-address": "string",
+ "gateway-address": "string",
+ "dhcp-end-address": "string",
+ "ip-version": "string",
+ "start-address": "string",
+ "dhcp-enabled": "Y",
+ "subnet-name": "string"
+ }
+ ],
+ "vpn-bindings": [
+ {
+ "vpn-name": "string",
+ "vpn-binding-id": "string",
+ "route-target-role": "string",
+ "aic-zone": "string",
+ "global-route-target": "string"
+ }
+ ]
+ },
+ "preload-oper-status": null,
+ "preload-vf-module-topology-information": null
+ },
+ "preload-type": null,
+ "preload-id": null
+ },
+ {
+ "preload-data": {
+ "preload-network-topology-information": null,
+ "preload-oper-status": null,
+ "preload-vf-module-topology-information": {
+ "vf-module-topology": {
+ "onap-model-information": {
+ "model-name": "string",
+ "model-version": "string",
+ "model-customization-uuid": "string",
+ "model-uuid": "string",
+ "model-invariant-uuid": "string"
+ },
+ "aic-clli": "string",
+ "aic-cloud-region": "string",
+ "cloud-owner": "string",
+ "tenant": "string",
+ "vf-module-assignments": {
+ "vlan-vnfc-instance-groups": {
+ "vlan-vnfc-instance-group": [
+ {
+ "vnf-id": "string",
+ "vnfcs": {
+ "vnfc": [
+ {
+ "vnic-groups": {
+ "vnic-group": [
+ {
+ "vlan-vnics": {
+ "vlan-vnic": [
+ {
+ "vnic-sub-interfaces": {
+ "sub-interface-network-data": [
+ {
+ "network-role": "string",
+ "floating-ips": {
+ "floating-ip-v4": [
+ "string"
+ ],
+ "floating-ip-v6": [
+ "string"
+ ]
+ },
+ "network-id": "string",
+ "network-information-items": {
+ "network-information-item": [
+ {
+ "ip-version": "string",
+ "network-ips": {
+ "network-ip": [
+ "string"
+ ]
+ },
+ "ip-count": 0,
+ "use-dhcp": "Y"
+ }
+ ]
+ },
+ "neutron-network-id": "string",
+ "network-name": 0,
+ "network-role-tag": "string",
+ "vlan-tag-id": 0
+ }
+ ]
+ },
+ "vnic-port-id": "string"
+ }
+ ]
+ },
+ "vlan-assignment-policy-name": "string",
+ "vlan-common-ip-addresses": {
+ "ip-addresses": {
+ "vipv6-address": "string",
+ "ipv4-address": "string",
+ "vipv4-address": "string",
+ "ipv6-address": "string"
+ }
+ },
+ "network-instance-group-function": "string",
+ "vlan-tag-index-next": 0,
+ "vnic-interface-role": "string"
+ }
+ ]
+ },
+ "vnfc-name": "string"
+ }
+ ]
+ },
+ "instance-group-id": "string",
+ "instance-group-function": "string"
+ }
+ ]
+ },
+ "vf-module-status": "string",
+ "vms": {
+ "vm": [
+ {
+ "onap-model-information": {
+ "model-name": "string",
+ "model-version": "string",
+ "model-customization-uuid": "string",
+ "model-uuid": "string",
+ "model-invariant-uuid": "string"
+ },
+ "vm-type": "string",
+ "vm-names": {
+ "vnfc-names": [
+ {
+ "vnfc-networks": {
+ "vnfc-network-data": [
+ {
+ "connection-point": {
+ "vlan-data": [
+ {
+ "vlan-tag-description": "string",
+ "vlan-uuid": "string",
+ "vlan-role": "string",
+ "vlan-tag-id": "string"
+ }
+ ],
+ "port-id": "string",
+ "connection-point-id": "string"
+ },
+ "vnfc-ports": {
+ "vnfc-port": [
+ {
+ "vnfc-port-id": "string",
+ "vnic-sub-interfaces": {
+ "sub-interface-network-data": [
+ {
+ "network-role": "string",
+ "floating-ips": {
+ "floating-ip-v4": [
+ "string"
+ ],
+ "floating-ip-v6": [
+ "string"
+ ]
+ },
+ "network-id": "string",
+ "network-information-items": {
+ "network-information-item": [
+ {
+ "ip-version": "string",
+ "network-ips": {
+ "network-ip": [
+ "string"
+ ]
+ },
+ "ip-count": 0,
+ "use-dhcp": "Y"
+ }
+ ]
+ },
+ "neutron-network-id": "string",
+ "network-name": 0,
+ "network-role-tag": "string",
+ "vlan-tag-id": 0
+ }
+ ]
+ },
+ "common-sub-interface-role": "string"
+ }
+ ]
+ },
+ "vnfc-type": "string",
+ "vnfc-subnet": [
+ {
+ "vnfc-subnet-role": "string",
+ "vnfc-ip-assignments": [
+ {
+ "vnfc-subnet-dhcp": "Y",
+ "vnfc-address-family": "ipv4",
+ "vnfc-subnet-ip": [
+ {
+ "vnfc-ip-address": "string",
+ "vnfc-client-key": "string",
+ "ip-type": "FIXED"
+ }
+ ],
+ "vnfc-subnet-ip-count": 0
+ }
+ ]
+ }
+ ],
+ "vnfc-network-role": "string"
+ }
+ ]
+ },
+ "vnfc-name": "string"
+ }
+ ],
+ "vm-name": [
+ "string"
+ ]
+ },
+ "vm-type-tag": "string",
+ "vm-count": 0,
+ "vm-networks": {
+ "vm-network": [
+ {
+ "related-networks": {
+ "related-network": [
+ {
+ "vlan-tags": {
+ "is-private": true,
+ "vlan-interface": "string",
+ "upper-tag-id": 0,
+ "lower-tag-id": 0
+ },
+ "network-role": "string",
+ "network-id": "string"
+ }
+ ]
+ },
+ "network-role": "string",
+ "is-trunked": true,
+ "floating-ips": {
+ "floating-ip-v4": [
+ "string"
+ ],
+ "floating-ip-v6": [
+ "string"
+ ]
+ },
+ "sriov-parameters": {
+ "application-tags": {
+ "stags": {
+ "stag": [
+ "string"
+ ],
+ "s-tag": [
+ "string"
+ ]
+ },
+ "ctags": {
+ "ctag": [
+ "string"
+ ],
+ "c-tag": [
+ "string"
+ ]
+ },
+ "s-tags": {
+ "stag": [
+ "string"
+ ],
+ "s-tag": [
+ "string"
+ ]
+ },
+ "c-tags": {
+ "ctag": [
+ "string"
+ ],
+ "c-tag": [
+ "string"
+ ]
+ }
+ },
+ "heat-vlan-filters": {
+ "heat-vlan-filter": [
+ "string"
+ ]
+ }
+ },
+ "network-information-items": {
+ "network-information-item": [
+ {
+ "ip-version": "string",
+ "network-ips": {
+ "network-ip": [
+ "string"
+ ]
+ },
+ "ip-count": 0,
+ "use-dhcp": "Y"
+ }
+ ]
+ },
+ "mac-addresses": {
+ "mac-address": [
+ "string"
+ ]
+ },
+ "network-role-tag": "string",
+ "segmentation-id": "string",
+ "interface-route-prefixes": {
+ "interface-route-prefix": [
+ "string"
+ ]
+ }
+ }
+ ]
+ },
+ "nfc-naming-code": "string"
+ }
+ ]
+ },
+ "dhcp-subnet-assignments": {
+ "dhcp-subnet-assignment": [
+ {
+ "network-role": "string",
+ "neutron-subnet-id": "string",
+ "ip-version": "string"
+ }
+ ]
+ }
+ },
+ "vf-module-topology-identifier": {
+ "vf-module-name": "string",
+ "vf-module-id": "string",
+ "vf-module-type": "string"
+ },
+ "vf-module-parameters": {
+ "param": [
+ {
+ "name": "string",
+ "resource-resolution-data": {
+ "payload": "string",
+ "resource-key": [
+ {
+ "name": "string",
+ "value": "string"
+ }
+ ],
+ "capability-name": "string",
+ "status": "string"
+ },
+ "value": "string"
+ }
+ ]
+ },
+ "sdnc-generated-cloud-resources": true
+ },
+ "vnf-resource-assignments": {
+ "availability-zones": {
+ "max-count": 0,
+ "availability-zone": [
+ "string"
+ ]
+ },
+ "vnf-status": "string",
+ "vnf-networks": {
+ "vnf-network": [
+ {
+ "related-networks": {
+ "related-network": [
+ {
+ "vlan-tags": {
+ "is-private": true,
+ "vlan-interface": "string",
+ "upper-tag-id": 0,
+ "lower-tag-id": 0
+ },
+ "network-role": "string",
+ "network-id": "string"
+ }
+ ]
+ },
+ "network-role": "string",
+ "is-trunked": true,
+ "network-id": "string",
+ "subnets-data": {
+ "subnet-data": [
+ {
+ "network-start-address": "string",
+ "subnet-role": "string",
+ "cidr-mask": "string",
+ "gateway-address": "string",
+ "sdnc-subnet-id": "string",
+ "subnet-id": "string",
+ "ip-version": "string",
+ "dhcp-enabled": "Y",
+ "subnet-name": "string"
+ }
+ ]
+ },
+ "contrail-network-fqdn": "string",
+ "network-name": "string",
+ "segmentation-id": "string",
+ "neutron-id": "string"
+ }
+ ]
+ }
+ },
+ "vnf-topology-identifier-structure": {
+ "nf-role": "string",
+ "nf-function": "string",
+ "nf-type": "string",
+ "vnf-id": "string",
+ "nf-code": "string",
+ "vnf-name": "string",
+ "vnf-type": "string"
+ }
+ }
+ },
+ "preload-type": null,
+ "preload-id": null
+ }
+ ]
+}
diff --git a/ms/generic-resource-api/src/test/resources/preload1.json b/ms/generic-resource-api/src/test/resources/preload1.json
new file mode 100644
index 0000000..cf504e8
--- /dev/null
+++ b/ms/generic-resource-api/src/test/resources/preload1.json
@@ -0,0 +1,84 @@
+{
+ "preload-list": [
+ {
+ "preload-id": "preload1",
+ "preload-type": "network",
+ "preload-data": {
+ "preload-network-topology-information": {
+ "host-routes": [
+ {
+ "next-hop": "10.1.12.1",
+ "route-prefix": "12"
+ }
+ ],
+ "is-external-network": true,
+ "is-provider-network": true,
+ "is-shared-network": true,
+ "network-policy": [
+ {
+ "network-policy-fqdn": "policy-sdnc.onap.org",
+ "network-policy-id": "123"
+ }
+ ],
+ "network-topology-identifier-structure": {
+ "eipam-v4-address-plan": "plan9",
+ "eipam-v6-address-plan": "plan9v6",
+ "is-trunked": true,
+ "network-id": "321",
+ "network-instance-group-id": "abc123",
+ "network-name": "syfy",
+ "network-role": "secret",
+ "network-technology": "soupcan",
+ "network-type": "fake",
+ "related-networks": {
+ "related-network": [
+ {
+ "network-id": "skynet",
+ "network-role": "master",
+ "vlan-tags": {
+ "is-private": true,
+ "lower-tag-id": 0,
+ "upper-tag-id": 0,
+ "vlan-interface": "le0"
+ }
+ }
+ ]
+ },
+ "segmentation-id": "seg1"
+ },
+ "physical-network-name": "skynet",
+ "route-table-reference": [
+ {
+ "route-table-reference-fqdn": "sky.net",
+ "route-table-reference-id": "ref1"
+ }
+ ],
+ "subnets": [
+ {
+ "addr-from-start": "Y",
+ "cidr-mask": "255.255.0.0",
+ "dhcp-enabled": "Y",
+ "dhcp-end-address": "10.1.2.254",
+ "dhcp-start-address": "10.1.2.1",
+ "gateway-address": "10.1.2.255",
+ "ip-version": "ipv4",
+ "start-address": "10.1.2.1",
+ "subnet-name": "subnet1",
+ "subnet-role": "puppies",
+ "subnet-sequence": 0
+ }
+ ],
+ "vpn-bindings": [
+ {
+ "aic-zone": "zone1",
+ "global-route-target": "string",
+ "route-target-role": "string",
+ "vpn-binding-id": "string",
+ "vpn-name": "string"
+ }
+ ]
+ }
+ }
+ }
+ ]
+}
diff --git a/ms/generic-resource-api/src/test/resources/preload2.json b/ms/generic-resource-api/src/test/resources/preload2.json
new file mode 100644
index 0000000..009d548
--- /dev/null
+++ b/ms/generic-resource-api/src/test/resources/preload2.json
@@ -0,0 +1,482 @@
+{
+ "preload-list": [
+ {
+ "preload-id": "preload2",
+ "preload-type": "network",
+ "preload-data": {
+ "preload-network-topology-information": {
+ "host-routes": [
+ {
+ "next-hop": "10.1.12.1",
+ "route-prefix": "12"
+ }
+ ],
+ "is-external-network": true,
+ "is-provider-network": true,
+ "is-shared-network": true,
+ "network-policy": [
+ {
+ "network-policy-fqdn": "policy-sdnc.onap.org",
+ "network-policy-id": "123"
+ }
+ ],
+ "network-topology-identifier-structure": {
+ "eipam-v4-address-plan": "plan9",
+ "eipam-v6-address-plan": "plan9v6",
+ "is-trunked": true,
+ "network-id": "321",
+ "network-instance-group-id": "abc123",
+ "network-name": "syfy",
+ "network-role": "secret",
+ "network-technology": "soupcan",
+ "network-type": "fake",
+ "related-networks": {
+ "related-network": [
+ {
+ "network-id": "string",
+ "network-role": "string",
+ "vlan-tags": {
+ "is-private": true,
+ "lower-tag-id": 0,
+ "upper-tag-id": 0,
+ "vlan-interface": "string"
+ }
+ }
+ ]
+ },
+ "segmentation-id": "string"
+ },
+ "physical-network-name": "string",
+ "route-table-reference": [
+ {
+ "route-table-reference-fqdn": "string",
+ "route-table-reference-id": "string"
+ }
+ ],
+ "subnets": [
+ {
+ "addr-from-start": "Y",
+ "cidr-mask": "string",
+ "dhcp-enabled": "Y",
+ "dhcp-end-address": "string",
+ "dhcp-start-address": "string",
+ "gateway-address": "string",
+ "ip-version": "string",
+ "start-address": "string",
+ "subnet-name": "string",
+ "subnet-role": "string",
+ "subnet-sequence": 0
+ }
+ ],
+ "vpn-bindings": [
+ {
+ "aic-zone": "string",
+ "global-route-target": "string",
+ "route-target-role": "string",
+ "vpn-binding-id": "string",
+ "vpn-name": "string"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "preload-id": "preload2",
+ "preload-type": "vf-module",
+ "preload-data": {
+ "preload-vf-module-topology-information": {
+ "vf-module-topology": {
+ "aic-clli": "string",
+ "aic-cloud-region": "string",
+ "cloud-owner": "string",
+ "onap-model-information": {
+ "model-customization-uuid": "string",
+ "model-invariant-uuid": "string",
+ "model-name": "string",
+ "model-uuid": "string",
+ "model-version": "string"
+ },
+ "sdnc-generated-cloud-resources": true,
+ "tenant": "string",
+ "vf-module-assignments": {
+ "dhcp-subnet-assignments": {
+ "dhcp-subnet-assignment": [
+ {
+ "ip-version": "string",
+ "network-role": "string",
+ "neutron-subnet-id": "string"
+ }
+ ]
+ },
+ "vf-module-status": "string",
+ "vlan-vnfc-instance-groups": {
+ "vlan-vnfc-instance-group": [
+ {
+ "instance-group-function": "string",
+ "instance-group-id": "string",
+ "vnf-id": "string",
+ "vnfcs": {
+ "vnfc": [
+ {
+ "vnfc-name": "string",
+ "vnic-groups": {
+ "vnic-group": [
+ {
+ "network-instance-group-function": "string",
+ "vlan-assignment-policy-name": "string",
+ "vlan-common-ip-addresses": {
+ "ip-addresses": {
+ "ipv4-address": "string",
+ "ipv6-address": "string",
+ "vipv4-address": "string",
+ "vipv6-address": "string"
+ }
+ },
+ "vlan-tag-index-next": 0,
+ "vlan-vnics": {
+ "vlan-vnic": [
+ {
+ "vnic-port-id": "string",
+ "vnic-sub-interfaces": {
+ "sub-interface-network-data": [
+ {
+ "floating-ips": {
+ "floating-ip-v4": [
+ "string"
+ ],
+ "floating-ip-v6": [
+ "string"
+ ]
+ },
+ "network-id": "string",
+ "network-information-items": {
+ "network-information-item": [
+ {
+ "ip-count": 0,
+ "ip-version": "string",
+ "network-ips": {
+ "network-ip": [
+ "string"
+ ]
+ },
+ "use-dhcp": "Y"
+ }
+ ]
+ },
+ "network-name": 0,
+ "network-role": "string",
+ "network-role-tag": "string",
+ "neutron-network-id": "string",
+ "vlan-tag-id": 0
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "vnic-interface-role": "string"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "vms": {
+ "vm": [
+ {
+ "nfc-naming-code": "string",
+ "onap-model-information": {
+ "model-customization-uuid": "string",
+ "model-invariant-uuid": "string",
+ "model-name": "string",
+ "model-uuid": "string",
+ "model-version": "string"
+ },
+ "vm-count": 0,
+ "vm-names": {
+ "vm-name": [
+ "string"
+ ],
+ "vnfc-names": [
+ {
+ "vnfc-name": "string",
+ "vnfc-networks": {
+ "vnfc-network-data": [
+ {
+ "connection-point": {
+ "connection-point-id": "string",
+ "port-id": "string",
+ "vlan-data": [
+ {
+ "vlan-role": "string",
+ "vlan-tag-description": "string",
+ "vlan-tag-id": "string",
+ "vlan-uuid": "string"
+ }
+ ]
+ },
+ "vnfc-network-role": "string",
+ "vnfc-ports": {
+ "vnfc-port": [
+ {
+ "common-sub-interface-role": "string",
+ "vnfc-port-id": "string",
+ "vnic-sub-interfaces": {
+ "sub-interface-network-data": [
+ {
+ "floating-ips": {
+ "floating-ip-v4": [
+ "string"
+ ],
+ "floating-ip-v6": [
+ "string"
+ ]
+ },
+ "network-id": "string",
+ "network-information-items": {
+ "network-information-item": [
+ {
+ "ip-count": 0,
+ "ip-version": "string",
+ "network-ips": {
+ "network-ip": [
+ "string"
+ ]
+ },
+ "use-dhcp": "Y"
+ }
+ ]
+ },
+ "network-name": 0,
+ "network-role": "string",
+ "network-role-tag": "string",
+ "neutron-network-id": "string",
+ "vlan-tag-id": 0
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "vnfc-subnet": [
+ {
+ "vnfc-ip-assignments": [
+ {
+ "vnfc-address-family": "ipv4",
+ "vnfc-subnet-dhcp": "Y",
+ "vnfc-subnet-ip": [
+ {
+ "ip-type": "FIXED",
+ "vnfc-client-key": "string",
+ "vnfc-ip-address": "string"
+ }
+ ],
+ "vnfc-subnet-ip-count": 0
+ }
+ ],
+ "vnfc-subnet-role": "string"
+ }
+ ],
+ "vnfc-type": "string"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "vm-networks": {
+ "vm-network": [
+ {
+ "floating-ips": {
+ "floating-ip-v4": [
+ "string"
+ ],
+ "floating-ip-v6": [
+ "string"
+ ]
+ },
+ "interface-route-prefixes": {
+ "interface-route-prefix": [
+ "string"
+ ]
+ },
+ "is-trunked": true,
+ "mac-addresses": {
+ "mac-address": [
+ "string"
+ ]
+ },
+ "network-information-items": {
+ "network-information-item": [
+ {
+ "ip-count": 0,
+ "ip-version": "string",
+ "network-ips": {
+ "network-ip": [
+ "string"
+ ]
+ },
+ "use-dhcp": "Y"
+ }
+ ]
+ },
+ "network-role": "string",
+ "network-role-tag": "string",
+ "related-networks": {
+ "related-network": [
+ {
+ "network-id": "string",
+ "network-role": "string",
+ "vlan-tags": {
+ "is-private": true,
+ "lower-tag-id": 0,
+ "upper-tag-id": 0,
+ "vlan-interface": "string"
+ }
+ }
+ ]
+ },
+ "segmentation-id": "string",
+ "sriov-parameters": {
+ "application-tags": {
+ "c-tags": {
+ "c-tag": [
+ "string"
+ ],
+ "ctag": [
+ "string"
+ ]
+ },
+ "ctags": {
+ "c-tag": [
+ "string"
+ ],
+ "ctag": [
+ "string"
+ ]
+ },
+ "s-tags": {
+ "s-tag": [
+ "string"
+ ],
+ "stag": [
+ "string"
+ ]
+ },
+ "stags": {
+ "s-tag": [
+ "string"
+ ],
+ "stag": [
+ "string"
+ ]
+ }
+ },
+ "heat-vlan-filters": {
+ "heat-vlan-filter": [
+ "string"
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "vm-type": "string",
+ "vm-type-tag": "string"
+ }
+ ]
+ }
+ },
+ "vf-module-parameters": {
+ "param": [
+ {
+ "name": "string",
+ "resource-resolution-data": {
+ "capability-name": "string",
+ "payload": "string",
+ "resource-key": [
+ {
+ "name": "string",
+ "value": "string"
+ }
+ ],
+ "status": "string"
+ },
+ "value": "string"
+ }
+ ]
+ },
+ "vf-module-topology-identifier": {
+ "vf-module-id": "string",
+ "vf-module-name": "string",
+ "vf-module-type": "string"
+ }
+ },
+ "vnf-resource-assignments": {
+ "availability-zones": {
+ "availability-zone": [
+ "string"
+ ],
+ "max-count": 0
+ },
+ "vnf-networks": {
+ "vnf-network": [
+ {
+ "contrail-network-fqdn": "string",
+ "is-trunked": true,
+ "network-id": "string",
+ "network-name": "string",
+ "network-role": "string",
+ "neutron-id": "string",
+ "related-networks": {
+ "related-network": [
+ {
+ "network-id": "string",
+ "network-role": "string",
+ "vlan-tags": {
+ "is-private": true,
+ "lower-tag-id": 0,
+ "upper-tag-id": 0,
+ "vlan-interface": "string"
+ }
+ }
+ ]
+ },
+ "segmentation-id": "string",
+ "subnets-data": {
+ "subnet-data": [
+ {
+ "cidr-mask": "string",
+ "dhcp-enabled": "Y",
+ "gateway-address": "string",
+ "ip-version": "string",
+ "network-start-address": "string",
+ "sdnc-subnet-id": "string",
+ "subnet-id": "string",
+ "subnet-name": "string",
+ "subnet-role": "string"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "vnf-status": "string"
+ },
+ "vnf-topology-identifier-structure": {
+ "nf-code": "string",
+ "nf-function": "string",
+ "nf-role": "string",
+ "nf-type": "string",
+ "vnf-id": "string",
+ "vnf-name": "string",
+ "vnf-type": "string"
+ }
+ }
+ }
+ }
+ ]
+}