summaryrefslogtreecommitdiffstats
path: root/products/onap-beijing
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-05-03 13:13:44 +0000
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2018-05-03 13:13:44 +0000
commita9b22606aab88f876aba7987be60bdbd343e73cc (patch)
tree11f2388c9aa77e6e9a6b4dac2afad6e9214d8ddc /products/onap-beijing
parent1535b41dc2511b6093313f1c823d26f95698d196 (diff)
Fix schema for vf-create
Fix schema for vf-create. Change-Id: I01a662efb9cc82e7c4fa5c8a039cea3fe55d8f0d Issue-ID: CLI-63 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'products/onap-beijing')
-rw-r--r--products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/vf-create-schema-beijing.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/vf-create-schema-beijing.yaml b/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/vf-create-schema-beijing.yaml
index eac89b53..e9732289 100644
--- a/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/vf-create-schema-beijing.yaml
+++ b/products/onap-beijing/features/so/src/main/resources/open-cli-schema/services/vf-create-schema-beijing.yaml
@@ -106,6 +106,12 @@ parameters:
short_option: n
long_option: service-model-version
is_optional: false
+ - name: requestor-id
+ description: requestor ID
+ type: string
+ short_option: r
+ long_option: requestor-id
+ is_optional: false
results:
@@ -125,7 +131,7 @@ http:
request:
uri: /ecomp/mso/infra/serviceInstances/v4/${service-instance-id}/vnfs
method: POST
- body: '{"requestDetails": {"modelInfo": {"modelType": "vnf","modelInvariantId": "${vf-model-invariant-id}","modelVersionId": "${vf-model-uuid}","modelName": "${vf-model-name}","modelVersion": "${vf-model-version}","modelCustomizationId": "${vf-model-customization-id}"},"cloudConfiguration": {"lcpCloudRegionId": "${cloud-region}","tenantId": "${tenant-id}"},"requestInfo": {"instanceName": "${instance-name}","source": "VID","productFamilyId": "${product-family}" },"relatedInstanceList": [{"relatedInstance": {"instanceId": "${service-instance-id}","modelInfo": {"modelType": "service","modelInvariantId": "${service-model-invariant-id}","modelVersionId": "${service-model-uuid}","modelName": "${service-model-name}","modelVersion": "${service-model-version}"}}}],"requestParameters": {}}}'
+ body: '{"requestDetails": {"modelInfo": {"modelType": "vnf","modelInvariantId": "${vf-model-invariant-id}","modelVersionId": "${vf-model-uuid}","modelName": "${vf-model-name}","modelVersion": "${vf-model-version}","modelCustomizationId": "${vf-model-customization-id}"},"cloudConfiguration": {"lcpCloudRegionId": "${cloud-region}","tenantId": "${tenant-id}"},"requestInfo": {"requestorId": "${requestor-id}","instanceName": "${instance-name}","source": "VID","productFamilyId": "${product-family}" },"relatedInstanceList": [{"relatedInstance": {"instanceId": "${service-instance-id}","modelInfo": {"modelType": "service","modelInvariantId": "${service-model-invariant-id}","modelVersionId": "${service-model-uuid}","modelName": "${service-model-name}","modelVersion": "${service-model-version}"}}}],"requestParameters": {}}}'
success_codes:
- 202