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/scale_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/scale_ns_instance.json')
-rw-r--r-- | tests/vfc/nfvo-lcm/jsoninput/scale_ns_instance.json | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/tests/vfc/nfvo-lcm/jsoninput/scale_ns_instance.json b/tests/vfc/nfvo-lcm/jsoninput/scale_ns_instance.json new file mode 100644 index 00000000..73d27f6e --- /dev/null +++ b/tests/vfc/nfvo-lcm/jsoninput/scale_ns_instance.json @@ -0,0 +1,59 @@ +{ + "scaleType": "ns_instance", + "scaleNsData": [ + { + "vnfInstanceToBeAdded": [ + { + "vnfInstanceId": "vnf456", + "vnfProfileId": "vnfPro456" + } + ], + "vnfInstanceToBeRemoved": [ + "" + ], + "scaleNsByStepsData": { + "scalingDirection": "SCALE_IN", + "aspectId": "123", + "numberOfSteps": "2" + }, + "scaleNsToLevelData": { + "nsInstantiationLevel": "1", + "nsScaleInfo": [ + { + "nsScalingAspectId": "2", + "nsScaleLevelId": "3" + } + ] + }, + "additionalParamsForNs": { + "additionalProp1": "nsProp11", + "additionalProp2": "nsProp12", + "additionalProp3": "nsProp13" + }, + "additionalParamsForVnf": [ + { + "vnfProfileId": "string", + "additionalParams": { + "additionalProp1": "vnfProp11", + "additionalProp2": "vnfProp12", + "additionalProp3": "vnfProp13" + } + } + ], + "locationConstraints": [ + { + "vnfProfileId": "vnfPro789", + "locationConstraints": { + "countryCode": "460", + "civicAddressElement": [ + { + "caType": "type2", + "caValue": "789" + } + ] + } + } + ] + } + ] +}
\ No newline at end of file |