aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorItohan <itohan.ukponmwan@intel.com>2019-05-06 23:28:00 +0000
committerItohan <itohan.ukponmwan@intel.com>2019-05-06 23:31:16 +0000
commit2f854cee62df0486cf1f463304ee495e79393686 (patch)
tree8fef1390c5c31d87e5eb51b76aaea39a51a2098a
parentf23c7a9113e97602682d52b4c297174776672fa1 (diff)
Added cloud owner parameter to vf-module-create
Change-Id: I96b3a6b2b0e033cc9201e4612e1c3ae2bee930dd Issue-ID: CLI-163 Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
-rw-r--r--products/onap-dublin/features/so/src/main/resources/open-cli-schema/vf-module-create-schema-dublin.yaml11
1 files changed, 9 insertions, 2 deletions
diff --git a/products/onap-dublin/features/so/src/main/resources/open-cli-schema/vf-module-create-schema-dublin.yaml b/products/onap-dublin/features/so/src/main/resources/open-cli-schema/vf-module-create-schema-dublin.yaml
index edf82c2e..fc9f0065 100644
--- a/products/onap-dublin/features/so/src/main/resources/open-cli-schema/vf-module-create-schema-dublin.yaml
+++ b/products/onap-dublin/features/so/src/main/resources/open-cli-schema/vf-module-create-schema-dublin.yaml
@@ -28,6 +28,12 @@ parameters:
short_option: l
long_option: lcp-cloudregion-id
is_optional: false
+ - name: cloud-owner
+ description: cloud region cloud owner
+ type: string
+ short_option: co
+ long_option: cloud-owner
+ is_optional: false
- name: tenant-id
description: openstack tenant id (uuid)
type: string
@@ -197,7 +203,8 @@ http:
},
"cloudConfiguration":{
"lcpCloudRegionId":"${lcp-cloudregion-id}",
- "tenantId":"${tenant-id}"
+ "tenantId":"${tenant-id}",
+ "cloudOwner":"${cloud-owner}"
},
"requestInfo":{
"instanceName":"${instance-name}",
@@ -243,7 +250,7 @@ http:
success_codes:
- 202
- result_mpa:
+ result_map:
vf-instance-id: $b{$.vfInstanceId}
sample_response:
body: '{ "vfInstanceId" : "234567AB" }'