diff options
author | 2019-05-14 21:13:18 +0800 | |
---|---|---|
committer | 2019-05-21 11:19:56 +0800 | |
commit | 3579f7ed991c08d0ba81f3782bde41c02f855131 (patch) | |
tree | cb86e6d43814b1a752926f0675ee6ff7ef69fcb3 /products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-instantiate-schema.yaml | |
parent | b6a27e640cba472d090090e990fae8856a6871f3 (diff) |
Add upload location file to catalog
Change-Id: Ie3965d128c21f5329b2a3be9ad14bb0d0978e4f0
Issue-ID: CLI-149
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-instantiate-schema.yaml')
-rw-r--r-- | products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-instantiate-schema.yaml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-instantiate-schema.yaml b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-instantiate-schema.yaml index 5db338f7..b31d4e4f 100644 --- a/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-instantiate-schema.yaml +++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-instantiate-schema.yaml @@ -28,11 +28,11 @@ parameters: short_option: i long_option: ns-instance-id is_optional: false - - name: location-constraints - description: localtion constraints - type: json + - name: location + description: localtion(vimid) + type: string short_option: c - long_option: location-constraints + long_option: location is_optional: false - name: sdn-controller-id description: sdn controller id @@ -58,8 +58,13 @@ http: method: POST context: remove_empty_node: true - body: '{"additionalParamForNs": {"sdnControllerId": "${sdn-controller-id}"}, - "locationConstraints": "${location-constraints}"}' + body: '{ + "additionalParamForNs": + { + "sdncontroller": "${sdn-controller-id}", + "location": "${location}" + } + }' headers: Content-Type: application/json Accept: application/json |