aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vfc/nfvo-lcm/jsoninput/instantiate_ns.json
diff options
context:
space:
mode:
authorzhaoliping123 <zhaoliping@chinamobile.com>2019-10-15 15:20:08 +0800
committerzhaoliping123 <zhaoliping@chinamobile.com>2019-10-15 17:32:45 +0800
commit179d6fc0411bdf3d7a3dd64e65ba151797939d22 (patch)
tree66044f8a123a859a9c7989b5049b8850d2a44a9c /tests/vfc/nfvo-lcm/jsoninput/instantiate_ns.json
parent357d8e2863841cee3373c9e3c692a996809d71ef (diff)
Add some test cases for VF-C to CSIT
Issue-ID: VFC-1534 Change-Id: Ie98a32cfadbde57bf35d3de52e5d222a251aaebe Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
Diffstat (limited to 'tests/vfc/nfvo-lcm/jsoninput/instantiate_ns.json')
-rw-r--r--tests/vfc/nfvo-lcm/jsoninput/instantiate_ns.json51
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/vfc/nfvo-lcm/jsoninput/instantiate_ns.json b/tests/vfc/nfvo-lcm/jsoninput/instantiate_ns.json
new file mode 100644
index 00000000..01ed3961
--- /dev/null
+++ b/tests/vfc/nfvo-lcm/jsoninput/instantiate_ns.json
@@ -0,0 +1,51 @@
+{
+ "locationConstraints": [
+ {
+ "vnfProfileId": "123",
+ "locationConstraints": {
+ "vimId": "vim123"
+ }
+ }
+ ],
+ "additionalParamForNs": {
+ "additionalProp1": "Prop1",
+ "additionalProp2": "Prop2",
+ "additionalProp3": "Prop3"
+ },
+ "addpnfData": [
+ {
+ "pnfId": "123",
+ "pnfName": "pdf123",
+ "pnfdId": "123",
+ "pnfProfileId": "123",
+ "cpData": [
+ {
+ "cpInstanceId": "123",
+ "cpdId": "123",
+ "cpProtocolData": [
+ {
+ "layerProtocol": "IP_OVER_ETHERNET",
+ "ipOverEthernet": {
+ "macAddress": "7C-76-35-4C-31-78",
+ "ipAddresses": [
+ {
+ "type": "IPV4",
+ "fixedAddresses": [
+ "192.168.43.10"
+ ],
+ "numDynamicAddresses": 0,
+ "addressRange": {
+ "minAddress": "192.168.253.0",
+ "maxAddress": "192.168.253.255"
+ },
+ "subnetId": "255.255.255.0"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file