From 9bbd2079861470d9a26d02df2ed84b931399b610 Mon Sep 17 00:00:00 2001 From: yangyan Date: Fri, 25 Oct 2019 16:26:13 +0800 Subject: Update VFC cli command about vfc-nslcm-query-multinslcmopoccs Change-Id: Ife284ac1fa5666f189c855b126151a1d4dea86bd Issue-ID: CLI-241 Signed-off-by: yangyan --- .../nslcm/vfc-nslcm-query-multinslcmopoccs.yaml | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-query-multinslcmopoccs.yaml (limited to 'products/onap-dublin/features/vfc') diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-query-multinslcmopoccs.yaml b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-query-multinslcmopoccs.yaml new file mode 100644 index 00000000..7f5f4b0d --- /dev/null +++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-query-multinslcmopoccs.yaml @@ -0,0 +1,65 @@ +# Copyright (c) 2019, CMCC 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: vfc-nslcm-query-multinslcmopoccs +description: Query status information about multiple NS lifecycle management operation occurrences. + +info: + product: onap-dublin + service: vfc + author: ONAP VFC Team (yangyanyj@chinamobile.com) + +results: + direction: portrait + attributes: + - name: nslcm-opocc-id + description: nslcm-opocc-id + scope: short + type: string + - name: operation-state + description: operation-state + scope: short + type: string + - name: ns-instance-id + description: ns-instance-id + scope: short + type: string + - name: lcm-operation-type + description: lcm-operation-type + scope: short + type: stringstatusEnteredTime + - name: status-entered-time + description: status-entered-time + scope: short + type: string + +http: + service: + auth: none + mode: direct + request: + uri: api/nslcm/v1/ns_lcm_op_occs + method: GET + context: + remove_empty_node: true + body: '{}' + headers: + Content-Type: application/json + Accept: application/json + success_codes: + - 200 + result_map: + nslcm-opocc-id: $b{$.nslcmOpoccId} + ns-operation-state: $b{$.operationState} + ns-instance-id: $b{$.nsInstanceId} + lcm-operation-type-id: $b{$.lcmOperationType} + status-entered-time: $b{$.statusEnteredTime} -- cgit 1.2.3-korg