summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorTait,Trevor(rt0435) <rtait@amdocs.com>2019-01-21 17:21:35 -0500
committerTait,Trevor(rt0435) <rtait@amdocs.com>2019-01-21 17:21:49 -0500
commit5b6272525b9cd876191104d4c1e64a91cace1c74 (patch)
tree1a8b80b3d31c41832583a4d5e94b82cbb5723e48 /src/test
parenta37aaa36a18516f296908638f9f4399e7d487d92 (diff)
SDNC Context Builder: network
Issue-ID: LOG-768 Change-Id: I2835f7122cc7e59e2e31bd4180f923675618b455 Signed-off-by: Tait,Trevor(rt0435) <rtait@amdocs.com>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/resources/junit/sdncGenericResponse.json62
1 files changed, 61 insertions, 1 deletions
diff --git a/src/test/resources/junit/sdncGenericResponse.json b/src/test/resources/junit/sdncGenericResponse.json
index edd7d82..b51d3aa 100644
--- a/src/test/resources/junit/sdncGenericResponse.json
+++ b/src/test/resources/junit/sdncGenericResponse.json
@@ -42,7 +42,26 @@
"vnf-name": "mDNS_Preload_1802_0108_rk_01"
},
"vnf-resource-assignments": {
- "vnf-networks": {}
+ "vnf-networks": [
+ {
+ "network-role": "signaling",
+ "network-name": "vnfTest1",
+ "ipv6-subnet-id": "936e0970-7403-48ef-9cf3-6374b42c5497",
+ "neutron-id": "5755dd95-b8f4-469a-931f-200727ed1933",
+ "network-id": "vnfTest1-c41f-43e4-a5be-9a39b21949c8",
+ "contrail-network-fqdn": "default-domain:APP-C-24595-T-IST-05A:vshaken_signal",
+ "ipv6-subnet-name": "vshaken_signal_v6_s1"
+ },
+ {
+ "network-role": "management",
+ "subnet-name": "vshaken_mgmt_v4_s1",
+ "network-name": "vnfTest2",
+ "subnet-id": "1bf746bc-aace-4575-b8e6-4c8f9ccddd42",
+ "neutron-id": "96f4178f-ef7a-4754-acd0-269e9c5f0fc4",
+ "network-id": "vnfTest2-3359-4a47-a868-458c13545624",
+ "contrail-network-fqdn": "default-domain:APP-C-24595-T-IST-05A:vshaken_mgmt"
+ }
+ ]
},
"aic-cloud-region": "mtn23a"
},
@@ -106,6 +125,26 @@
]
}
}
+ ],
+ "vm-networks": [
+ {
+ "network-role": "signaling",
+ "network-name": "vshaken_signal",
+ "ipv6-subnet-id": "936e0970-7403-48ef-9cf3-6374b42c5497",
+ "neutron-id": "5755dd95-b8f4-469a-931f-200727ed1933",
+ "network-id": "77747167-c41f-43e4-a5be-9a39b21949c8",
+ "contrail-network-fqdn": "default-domain:APP-C-24595-T-IST-05A:vshaken_signal",
+ "ipv6-subnet-name": "vshaken_signal_v6_s1"
+ },
+ {
+ "network-role": "management",
+ "subnet-name": "vshaken_mgmt_v4_s1",
+ "network-name": "vshaken_mgmt",
+ "subnet-id": "1bf746bc-aace-4575-b8e6-4c8f9ccddd42",
+ "neutron-id": "96f4178f-ef7a-4754-acd0-269e9c5f0fc4",
+ "network-id": "1dc87784-3359-4a47-a868-458c13545624",
+ "contrail-network-fqdn": "default-domain:APP-C-24595-T-IST-05A:vshaken_mgmt"
+ }
]
}
},
@@ -175,6 +214,27 @@
}
}
]
+ },
+ "networks": {
+ "network": [
+ {
+ "network-data": {
+ "network-topology": {
+ "tennant": "testNetwork",
+ "network-topology-identifier-structure": {
+ "network-id": "testNetworkId",
+ "network-role": "testNetworkRole",
+ "network-technology": "testNetworkTechnology",
+ "network-type": "testNetworkType",
+ "network-name": "testNetworkName"
+ },
+ "onap-model-information": {
+ "model-invariant-uuid": "testNetworkNameInvariantUUID"
+ }
+ }
+ }
+ }
+ ]
}
}
}