summaryrefslogtreecommitdiffstats
path: root/products/onap-dublin
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-10-25 16:26:13 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-10-25 16:26:20 +0800
commit9bbd2079861470d9a26d02df2ed84b931399b610 (patch)
tree4a97bf91d8143211956f07a75be61f85c6350542 /products/onap-dublin
parent9a297ee68f101fc0b5f8965b1d7d318cb2759920 (diff)
Update VFC cli command about vfc-nslcm-query-multinslcmopoccs
Change-Id: Ife284ac1fa5666f189c855b126151a1d4dea86bd Issue-ID: CLI-241 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'products/onap-dublin')
-rw-r--r--products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-query-multinslcmopoccs.yaml65
1 files changed, 65 insertions, 0 deletions
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}