diff options
author | 2019-10-15 15:20:08 +0800 | |
---|---|---|
committer | 2019-10-15 17:32:45 +0800 | |
commit | 179d6fc0411bdf3d7a3dd64e65ba151797939d22 (patch) | |
tree | 66044f8a123a859a9c7989b5049b8850d2a44a9c /tests/vfc/nfvo-lcm/jsoninput/instantiate_ns_instance.json | |
parent | 357d8e2863841cee3373c9e3c692a996809d71ef (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_instance.json')
-rw-r--r-- | tests/vfc/nfvo-lcm/jsoninput/instantiate_ns_instance.json | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/tests/vfc/nfvo-lcm/jsoninput/instantiate_ns_instance.json b/tests/vfc/nfvo-lcm/jsoninput/instantiate_ns_instance.json new file mode 100644 index 00000000..75a19459 --- /dev/null +++ b/tests/vfc/nfvo-lcm/jsoninput/instantiate_ns_instance.json @@ -0,0 +1,127 @@ +{ + "nsFlavourId": "nsFlavour123", + "sapData": [ + { + "sapdId": "23", + "sapName": "sap123", + "description": "sap desc", + "sapProtocolData": [ + { + "layerProtocol": "IP_OVER_ETHERNET", + "ipOverEthernet": { + "macAddress": "7C-76-35-4C-31-78", + "ipAddresses": [ + { + "type": "IPV4", + "fixedAddresses": [ + "192.168.43.12" + ], + "numDynamicAddresses": 0, + "addressRange": { + "minAddress": "192.168.253.0", + "maxAddress": "192.168.253.255" + }, + "subnetId": "255.255.255.0" + } + ] + } + } + ] + } + ], + "addpnfData": [ + { + "pnfId": "pnf123", + "pnfName": "pnfName123", + "pnfdId": "pnfd123", + "pnfProfileId": "pnfPro123", + "cpData": [ + { + "cpInstanceI16": { + "IdentifierInPnf": {} + }, + "cpdId": { + "IdentifierInNsd": {} + }, + "cpProtocolData": [ + { + "layerProtocol": "IP_OVER_ETHERNET", + "ipOverEthernet": { + "macAddress": "7C-76-35-4C-31-78", + "ipAddresses": [ + { + "type": "IPV4", + "fixedAddresses": [ + "192.168.43.15" + ], + "numDynamicAddresses": 0, + "addressRange": { + "minAddress": "192.168.43.0", + "maxAddress": "192.168.43.255" + }, + "subnetId": "255.255.255.0" + } + ] + } + } + ] + } + ] + } + ], + "vnfInstanceData": [ + { + "vnfInstanceId": "vnf123", + "vnfProfileId": "vnfPro123" + } + ], + "nestedNsInstanceId": [ + "nested123" + ], + "localizationLanguage": [ + { + "vnfProfileId": "string", + "locationConstraints": { + "countryCode": "460", + "civicAddressElement": [ + { + "caType": "type1", + "caValue": "123" + } + ] + } + } + ], + "additionalParamForNs": { + "additionalProp1": "nsProp1", + "additionalProp2": "nsProp2", + "additionalProp3": "nsProp3" + }, + "additionalParamsForVnf": [ + { + "vnfProfileId": "vnfPro456", + "additionalParams": { + "additionalProp1": "vnfProp1", + "additionalProp2": "vnfProp2", + "additionalProp3": "vnfProp3" + } + } + ], + "startTime": "2019-10-08T01:45:26.226Z", + "nsInstantiationLevelId": "345678", + "additionalAffinityOrAntiAffiniityRule": [ + { + "vnfdId": [ + "123" + ], + "vnfProfileId": [ + "456" + ], + "vnfInstanceId": [ + "789" + ], + "affinityOrAntiAffiinty": "AFFINITY", + "scope": "NFVI_POP" + } + ] +}
\ No newline at end of file |