Change PTL of VNFSDK to be Dan Xu
[vnfsdk/refrepo.git] / vnfmarket-be / deployment / vtp2ovp / vtp2ovp-result-2019-schema.yaml
1 # Copyright 2019 Huawei Technologies Co., Ltd.
2 #
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
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14
15 open_cli_schema_version: 1.0
16 name: vtp2ovp-result
17 description: |
18   This command helps to produce VTP results in LFV OVP format.
19   Run this command from the server machine, where VTP is running
20
21   NOTE: Please install the script vtp2ovp-result.py under script
22   folder in OPEN_CLI_HOME before running this command.
23
24 info:
25   product: LFN-OVP
26   service: vnf-test-result
27   author: ONAP VTP Team kanagaraj.manickam@huawei.com
28
29 parameters:
30   - name: execution-id
31     description: VTP test case execution id
32     type: string
33     short_option: e
34     long_option: execution-id
35     is_optional: false
36   - name: tar-path
37     description: Location to OVP output tar file
38     type: string
39     short_option: p
40     long_option: tar-path
41     is_optional: false
42   - name: vtp-home
43     description: VTP installation home directory
44     type: string
45     short_option: H
46     long_option: vtp-home
47     is_optional: false
48     default_value: $s{env:OPEN_CLI_HOME}
49   - name: format
50     type: string
51     description: Output format
52     short_option: f
53     long_option: format
54     default_value: text
55     is_default_param: true
56
57 cmd:
58   command:
59     - python $s{env:OPEN_CLI_HOME}/script/vtp2ovp-result.py --execution-id ${execution-id} --tar-path ${tar-path} --vtp-home ${vtp-home}
60   success_codes:
61     - 0
62   working_directory: .
63   output: $stdout
64