From d39f12c5af170277b2c3daf8cff86553e3a0d2ec Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 26 Sep 2017 23:38:29 +0530 Subject: Re-org plugins into tree of product versions Issue-Id: CLI-66 Change-Id: I2591bc380387200f727aae7e5db851a3c3a19fc3 Signed-off-by: Kanagaraj Manickam k00365106 --- .../esr/vim/vim-list-schema-1.1.yaml | 92 ++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/esr/vim/vim-list-schema-1.1.yaml (limited to 'plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/esr/vim/vim-list-schema-1.1.yaml') diff --git a/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/esr/vim/vim-list-schema-1.1.yaml b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/esr/vim/vim-list-schema-1.1.yaml new file mode 100644 index 00000000..2af3474d --- /dev/null +++ b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/esr/vim/vim-list-schema-1.1.yaml @@ -0,0 +1,92 @@ +open_cli_schema_version: 1.0 + +name: vim-list + +description: List the configured vims + +version: onap-1.1 + +service: + name: aai + version: v11 + auth: basic + mode: direct + +parameters: + - name: cloud-name + description: Onap cloud name + type: string + short_option: x + long_option: cloud-name + is_optional: false + - name: region-name + description: Onap region name + type: string + short_option: y + long_option: region-name + is_optional: false + +results: + direction: landscape + attributes: + - name: vim-id + description: Onap vim id + scope: short + type: string + - name: name + description: Onap vim name + scope: short + type: string + - name: type + description: Onap vim type + scope: long + type: string + - name: vendor + description: Onap vim vendor + scope: short + type: string + - name: version + description: Onap vim version + scope: long + type: string + - name: url + description: Onap vim url + scope: long + type: string + - name: username + description: Onap vim username + scope: long + type: string + - name: cloud-domain + description: Onap vim cloud domain + scope: long + type: string + - name: default-tenant + description: Onap vim tenant + scope: short + type: string + - name: resource-version + description: Onap vim resource version + scope: short + type: string + +http: + request: + uri: /aai/v11/cloud-infrastructure/cloud-regions/cloud-region/${cloud-name}/${region-name}/esr-system-info-list + method: GET + success_codes: + - 200 + result_map: + vim-id: $b{$.esr-system-info.[*].esr-system-info-id} + name: $b{$.esr-system-info.[*].system-name} + type: $b{$.esr-system-info.[*].type} + vendor: $b{$.esr-system-info.[*].vendor} + version: $b{$.esr-system-info.[*].version} + url: $b{$.esr-system-info.[*].service-url} + username: $b{$.esr-system-info.[*].user-name} + cloud-domain: $b{$.esr-system-info.[*].cloud-domain} + default-tenant: $b{$.esr-system-info.[*].default-tenant} + resource-version: $b{$.esr-system-info.[*].resource-version} + + sample_response: + body: '{esr-system-info":[{"esr-system-info-id":"example-esr-system-info-id-val-62966","system-name":"example-system-name-val-76894","type":"example-type-val-32301","vendor":"example-vendor-val-38139","version":"example-version-val-42345","service-url":"example-service-url-val-33729","user-name":"example-user-name-val-32122","password":"example-password-val-56539","system-type":"example-system-type-val-80707","protocal":"example-protocal-val-30105","ssl-cacert":"example-ssl-cacert-val-52110","ssl-insecure":true,"ip-address":"example-ip-address-val-10140","port":"example-port-val-26369","cloud-domain":"example-cloud-domain-val-22303","default-tenant":"example-default-tenant-val-26326"}]}' -- cgit 1.2.3-korg