1 # Copyright 2019 Huawei Technologies Co., Ltd.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 open_cli_schema_version: 1.0
16 name: tosca-vnf-provision
18 Provision TOSCA based VNF using ONAP.
19 More details: https://wiki.lfnetworking.org/display/LN/TOSCA+VNF+Validation+Planning
23 service: vnf-validation
24 author: ONAP VTP Team onap-discuss@lists.onap.org
28 description: Configuration file path
31 long_option: config-json
32 default_value: $s{env:OPEN_CLI_HOME}/conf/ovp-tosca-vnf-provision.json
35 description: Path to the ONAP vendor service product (VSP) for the VNF to provision
41 description: Path to the TOSCA CSAR for the VNF to provision
47 description: Path to the TOSCA CSAR for the NS service to provision
54 description: VNFM driver to use
57 long_option: vnfm-driver
64 description: ONAP VNF instance id
68 description: Onap VNF status
72 description: Onap NS service instance id
76 description: Onap NS status
80 description: VNFM driver used
85 - python $s{env:OPEN_CLI_HOME}/script/ovp-tosca-vnf-provision.py --result-json $s{tmp:result.json} --config-json ${config-json} --vsp ${vsp} --vnf-csar ${vnf-csar} --ns-csar ${ns-csar} --vnfm-driver ${vnfm-driver}
89 output: $s{tmp:result.json}
92 vnf-status: $o{$.vnf_status}
94 ns-status: $o{$.ns_status}
95 vnfm-driver: ${vnfm-driver}