diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-02 14:16:49 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-02 14:16:49 +0530 |
commit | 22554d46acba7dfb26dff3e346af40b54e7bca1f (patch) | |
tree | 1f089b86d608aadd85ed7603a6a8b85e2642185f /plugins/sdc/src/main | |
parent | 5ec561cdfcc28df61d1509f4069fe417f3f964f6 (diff) |
Check in VF model into SDC
CLI-57
Change-Id: Iaa33bd6ed397e14209851b7d51665ef06d674cb9
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sdc/src/main')
-rw-r--r-- | plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-checkin-schema-1.1.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-checkin-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-checkin-schema-1.1.yaml new file mode 100644 index 00000000..4ee74e12 --- /dev/null +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-checkin-schema-1.1.yaml @@ -0,0 +1,26 @@ +open_cli_schema_version: 1.0 +name: vf-model-checkin +description: Checkin Virtual function +version: onap-1.1 +service: + name: sdc + version: v1.0 + auth: basic + mode: direct + +parameters: + - name: vf-id + description: VF ID + type: string + long_option: vf-id + short_option: b + is_optional: true + +http: + request: + uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/checkin + method: POST + body: '{"userRemarks": "Checked in via CLI"}' + success_codes: + - 200 + |