diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2019-08-19 09:48:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-19 09:48:08 +0000 |
commit | a5bf96e3a8f435b595ed677d0dc0553443af4de4 (patch) | |
tree | ea4e9f35217212d18738087801dec20807a2fc1a /products/onap-elalto/features/aai/src/main/resources/open-cli-schema/esr/vnfm/vnfm-create-schema-elalto.yaml | |
parent | 05326f4185b9670646520ae84ddb9983a81b4302 (diff) | |
parent | 43072d3d41e2b14cb348108a4364bca2f62b6091 (diff) |
Merge changes I1274bd66,I993afea0,I72ddde4a,I57f57bd3,I60a554a3, ...
* changes:
Added vnfm show schema command
Added vnfm list schema command
Added vnfm delete schema command
Added vnfm create schema command
Added vim list schema command
Added vim delete schema command
Added vim create schema command
Diffstat (limited to 'products/onap-elalto/features/aai/src/main/resources/open-cli-schema/esr/vnfm/vnfm-create-schema-elalto.yaml')
-rw-r--r-- | products/onap-elalto/features/aai/src/main/resources/open-cli-schema/esr/vnfm/vnfm-create-schema-elalto.yaml | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/products/onap-elalto/features/aai/src/main/resources/open-cli-schema/esr/vnfm/vnfm-create-schema-elalto.yaml b/products/onap-elalto/features/aai/src/main/resources/open-cli-schema/esr/vnfm/vnfm-create-schema-elalto.yaml new file mode 100644 index 00000000..0a58f09b --- /dev/null +++ b/products/onap-elalto/features/aai/src/main/resources/open-cli-schema/esr/vnfm/vnfm-create-schema-elalto.yaml @@ -0,0 +1,98 @@ +# Copyright 2019 Huawei Technologies Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +open_cli_schema_version: 1.0 + +name: vnfm-create + +description: Register a VNFM in Onap + + +info: + product: onap-elalto + service: aai + author: ONAP CLI Team onap-discuss@lists.onap.org + +parameters: + - name: vim-id + description: Onap VIM unique id + type: uuid + short_option: x + long_option: vim-id + is_optional: false + - name: vnfm-id + description: Onap VNFM unique id + type: uuid + short_option: y + long_option: vnfm-id + is_optional: false + - name: name + description: Onap VNFM name + type: string + short_option: b + long_option: name + is_optional: false + - name: type + description: Onap VNFM type + type: string + short_option: c + long_option: type + is_optional: false + - name: vendor + description: Onap VNFM vendor + type: string + short_option: e + long_option: vendor + is_optional: false + - name: vnfm-version + description: Onap VNFM version + type: string + short_option: q + long_option: vnfm-version + is_optional: false + - name: url + description: Onap VNFM URL + type: string + short_option: g + long_option: url + is_optional: false + - name: username + description: Onap VNFM username + type: string + short_option: i + long_option: username + is_optional: false + - name: password + description: Onap VNFM password + type: string + short_option: j + long_option: password + is_optional: false + - name: certificate-url + description: Onap VNFM certificate-url + type: string + short_option: z + long_option: certificate-url + is_optional: true + +http: + service: + auth: basic + mode: direct + request: + uri: /aai/v16/external-system/esr-vnfm-list/esr-vnfm/${vnfm-id} + method: PUT + body: '{"vnfm-id":"${vnfm-id}","vim-id":"${vim-id}","certificate-url":"${certificate-url}","esr-system-info-list":{"esr-system-info":[{"esr-system-info-id":"${vnfm-id}","system-name":"${name}","type":"${type}","vendor":"${vendor}","version":"${vnfm-version}","service-url":"${url}","user-name":"${username}","password":"${password}","system-type":"vnfm","protocal":"","ssl-cacert":"","ssl-insecure":"","ip-address":"","port":"","cloud-domain":"","default-tenant":""}]}}' + success_codes: + - 201 |