diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-31 15:52:16 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-31 15:52:16 +0530 |
commit | bc5cb763d06f656530c7661f747a874b36d81d62 (patch) | |
tree | 63cc4f1b1f918025c768213c9bd3c509bf1b358a /plugins/sdc/src/main | |
parent | 462dc383e80cea0f5670956af3c5af4f95da8668 (diff) |
List VF from SDC 1.1
CLI-57
Change-Id: I0f210c7bc3ba766f4532bda16bc3c97bdbf4101c
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-list-schema-1.1.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml new file mode 100644 index 00000000..e43ff9c8 --- /dev/null +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vf/vf-model-list-schema-1.1.yaml @@ -0,0 +1,52 @@ +open_cli_schema_version: 1.0 +name: vf-model-list +description: List the VF resource model in SDC +version: onap-1.1 +service: + name: sdc + version: v1.0 + auth: basic + mode: direct + +results: + direction: landscape + attributes: + - name: uuid + description: UUID + type: string + scope: short + - name: invariant-uuid + description: Invariant UUID + type: string + scope: short + - name: name + description: Name + type: string + scope: short + - name: version + description: version + type: string + scope: short + - name: status + description: status + type: string + scope: short + - name: description + description: description + type: string + scope: long + +http: + request: + uri: /sdc2/rest/v1/followed + method: GET + success_codes: + - 200 + result_map: + uuid: $b{resources.[*].uniqueId} + invariant-uuid: $b{resources.[*].invariantUUID} + version: $b{resources.[*].version} + name: $b{resources.[*].name} + status: $b{resources.[*].lifecycleState} + description: $b{resources.[*].description} + |