diff options
author | Kanagaraj Manickam <mkr1481@gmail.com> | 2019-12-10 16:29:58 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2019-12-10 16:37:08 +0530 |
commit | 6d551b024db258973e6d9651596c5c8ead295972 (patch) | |
tree | c4fdd7415b980a2b9af6a1161b56c3a4a6b7c1bc /vnfmarket-be/deployment/vtp2ovp/vtp2ovp-result-2019-schema.yaml | |
parent | 11086be674e60d5b02d7ed153714c0227f8c5ba9 (diff) |
Add VTP2OVP result translation tool
Issue-ID: VNFSDK-502
Change-Id: Id50426f05a0b44d7e8dec1caef4a8776cd849be4
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'vnfmarket-be/deployment/vtp2ovp/vtp2ovp-result-2019-schema.yaml')
-rw-r--r-- | vnfmarket-be/deployment/vtp2ovp/vtp2ovp-result-2019-schema.yaml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/vnfmarket-be/deployment/vtp2ovp/vtp2ovp-result-2019-schema.yaml b/vnfmarket-be/deployment/vtp2ovp/vtp2ovp-result-2019-schema.yaml new file mode 100644 index 00000000..f504e2e7 --- /dev/null +++ b/vnfmarket-be/deployment/vtp2ovp/vtp2ovp-result-2019-schema.yaml @@ -0,0 +1,64 @@ +# 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: vtp2ovp-result +description: | + This command helps to produce VTP results in LFV OVP format. + Run this command from the server machine, where VTP is running + + NOTE: Please install the script vtp2ovp-result.py under script + folder in OPEN_CLI_HOME before running this command. + +info: + product: LFN-OVP + service: vnf-test-result + author: ONAP VTP Team kanagaraj.manickam@huawei.com + +parameters: + - name: execution-id + description: VTP test case execution id + type: string + short_option: e + long_option: execution-id + is_optional: false + - name: tar-path + description: Location to OVP output tar file + type: string + short_option: p + long_option: tar-path + is_optional: false + - name: vtp-home + description: VTP installation home directory + type: string + short_option: H + long_option: vtp-home + is_optional: false + default_value: $s{env:OPEN_CLI_HOME} + - name: format + type: string + description: Output format + short_option: f + long_option: format + default_value: text + is_default_param: true + +cmd: + command: + - python $s{env:OPEN_CLI_HOME}/script/vtp2ovp-result.py --execution-id ${execution-id} --tar-path ${tar-path} --vtp-home ${vtp-home} + success_codes: + - 0 + working_directory: . + output: $stdout + |