From 54c4f708eee7e8f212865c41462ba31112fa264b Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Fri, 15 Mar 2019 16:23:12 +0800 Subject: Add SOL001 test case place holder Issue-ID: VNFSDK-352 Change-Id: I8fc71d456054dc66bede1cc9f53f83e4e519f534 Signed-off-by: Kanagaraj Manickam k00365106 --- .../open-cli-schema/hot/vtp-validate-hot.yaml | 81 ++++++++++++++++++++++ .../obsolute/vtp-validate-csar-casablanca.yaml | 42 +++++++++++ .../sol001/vtp-validate-csar-r09467.yaml | 53 ++++++++++++++ .../sol001/vtp-validate-csar-r15837.yaml | 54 +++++++++++++++ .../sol001/vtp-validate-csar-r17852.yaml | 55 +++++++++++++++ .../sol001/vtp-validate-csar-r32155.yaml | 55 +++++++++++++++ .../sol001/vtp-validate-csar-r35851.yaml | 56 +++++++++++++++ .../sol001/vtp-validate-csar-r35854.yaml | 57 +++++++++++++++ .../sol001/vtp-validate-csar-r46527.yaml | 69 ++++++++++++++++++ .../sol001/vtp-validate-csar-r54356.yaml | 55 +++++++++++++++ .../sol001/vtp-validate-csar-r65486.yaml | 55 +++++++++++++++ .../sol001/vtp-validate-csar-r67895.yaml | 55 +++++++++++++++ .../sol001/vtp-validate-csar-r95321.yaml | 55 +++++++++++++++ .../sol004/vtp-validate-csar-r01123.yaml | 60 ++++++++++++++++ .../sol004/vtp-validate-csar-r02454.yaml | 56 +++++++++++++++ .../sol004/vtp-validate-csar-r04298.yaml | 53 ++++++++++++++ .../sol004/vtp-validate-csar-r07879.yaml | 53 ++++++++++++++ .../sol004/vtp-validate-csar-r10087.yaml | 56 +++++++++++++++ .../sol004/vtp-validate-csar-r13390.yaml | 53 ++++++++++++++ .../sol004/vtp-validate-csar-r21322.yaml | 55 +++++++++++++++ .../sol004/vtp-validate-csar-r23823.yaml | 53 ++++++++++++++ .../sol004/vtp-validate-csar-r26881.yaml | 53 ++++++++++++++ .../sol004/vtp-validate-csar-r26885.yaml | 57 +++++++++++++++ .../sol004/vtp-validate-csar-r27310.yaml | 55 +++++++++++++++ .../sol004/vtp-validate-csar-r40293.yaml | 53 ++++++++++++++ .../sol004/vtp-validate-csar-r40820.yaml | 55 +++++++++++++++ .../sol004/vtp-validate-csar-r43958.yaml | 53 ++++++++++++++ .../sol004/vtp-validate-csar-r51347.yaml | 57 +++++++++++++++ .../sol004/vtp-validate-csar-r66070.yaml | 57 +++++++++++++++ .../sol004/vtp-validate-csar-r77707.yaml | 53 ++++++++++++++ .../sol004/vtp-validate-csar-r77786.yaml | 53 ++++++++++++++ .../sol004/vtp-validate-csar-r87234.yaml | 56 +++++++++++++++ .../vtp-validate-csar-casablanca.yaml | 42 ----------- .../open-cli-schema/vtp-validate-csar-r02454.yaml | 56 --------------- .../open-cli-schema/vtp-validate-csar-r04298.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar-r07879.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar-r09467.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar-r13390.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar-r23823.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar-r26881.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar-r27310.yaml | 55 --------------- .../open-cli-schema/vtp-validate-csar-r35851.yaml | 56 --------------- .../open-cli-schema/vtp-validate-csar-r40293.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar-r43958.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar-r66070.yaml | 57 --------------- .../open-cli-schema/vtp-validate-csar-r77707.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar-r77786.yaml | 53 -------------- .../open-cli-schema/vtp-validate-csar.yaml | 2 +- .../open-cli-schema/vtp-validate-hot.yaml | 81 ---------------------- 49 files changed, 1784 insertions(+), 878 deletions(-) create mode 100644 csarvalidation/src/main/resources/open-cli-schema/hot/vtp-validate-hot.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/obsolute/vtp-validate-csar-casablanca.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r09467.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r15837.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r17852.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r32155.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r35851.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r35854.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r46527.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r54356.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r65486.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r67895.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r95321.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r01123.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r02454.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r04298.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r07879.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r10087.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r13390.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r21322.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r23823.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r26881.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r26885.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r27310.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r40293.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r40820.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r43958.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r51347.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r66070.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r77707.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r77786.yaml create mode 100644 csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r87234.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-casablanca.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r02454.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r04298.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r07879.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r09467.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r13390.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r23823.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r26881.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r27310.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r35851.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r40293.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r43958.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r66070.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r77707.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r77786.yaml delete mode 100644 csarvalidation/src/main/resources/open-cli-schema/vtp-validate-hot.yaml (limited to 'csarvalidation/src/main/resources/open-cli-schema') diff --git a/csarvalidation/src/main/resources/open-cli-schema/hot/vtp-validate-hot.yaml b/csarvalidation/src/main/resources/open-cli-schema/hot/vtp-validate-hot.yaml new file mode 100644 index 0000000..8eb0ef5 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/hot/vtp-validate-hot.yaml @@ -0,0 +1,81 @@ +# 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: hot-validate +description: | + Validates the OpenStack heat templates using ONAP VNFREQS with help of VVP scripts + Before using this command, please install the VVP by following guidelines from + https://github.com/onap/vvp-validation-scripts#installation + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + type: cmd + +parameters: + - name: hot-folder + description: HOT folder path where VNF package files are kept + long_option: hot-folder + short_option: b + type: string + is_optional: false + - name: script-folder + description: Pytest script folder path + long_option: script-folder + default_value: $s{env:ONAP_VVP_HOME} + short_option: n + type: string + is_optional: false + +results: + direction: landscape + attributes: + - name: vnfrqts + description: vnfrqts identifiers + scope: short + type: string + - name: test + description: test case + scope: short + type: string + - name: template + description: template file + scope: short + type: string + - name: message + description: error message + scope: short + type: string +cmd: + command: + - pytest ${script-folder} --template-directory=${hot-folder} + success_codes: + - 0 + - 1 + - 2 + - 5 + pass_codes: + - 0 + - 2 + - 5 + working_directory: . + output: $s{file:${script-folder}/output/failures} + result_map: + vnfrqts: $o{$.*.vnfrqts} + test: $o{$.*.test} + template: $o{$.*.file} + message: $o{$.*.message} diff --git a/csarvalidation/src/main/resources/open-cli-schema/obsolute/vtp-validate-csar-casablanca.yaml b/csarvalidation/src/main/resources/open-cli-schema/obsolute/vtp-validate-csar-casablanca.yaml new file mode 100644 index 0000000..878eb67 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/obsolute/vtp-validate-csar-casablanca.yaml @@ -0,0 +1,42 @@ +# Copyright 2018 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: csar-validate-casablanca + +description: Validate CSAR package formats + +info: + product: onap-csablanca + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + ignore: true + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: error + description: Validation error details + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r09467.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r09467.yaml new file mode 100644 index 0000000..c43fb6a --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r09467.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r09467 + +description: The VNF MUST utilize only NCSP standard compute flavors. [5] - compute, virtual storage. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r15837.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r15837.yaml new file mode 100644 index 0000000..586f4af --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r15837.yaml @@ -0,0 +1,54 @@ +# Copyright 2018 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: csar-validate-r15837 + +description: | + Major TOSCA Types specified in ETSI NFV-SOL001 standard draft. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r17852.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r17852.yaml new file mode 100644 index 0000000..6626765 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r17852.yaml @@ -0,0 +1,55 @@ +# Copyright 2018 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: csar-validate-r17852 + +description: | + The VNFD MAY include TOSCA/YAML definitions that are not part of NFV Profile. If provided, + these definitions MUST comply with TOSCA Simple Profile in YAML v.1.2. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r32155.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r32155.yaml new file mode 100644 index 0000000..ac60d8b --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r32155.yaml @@ -0,0 +1,55 @@ +# Copyright 2018 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: csar-validate-r32155 + +description: | + The VNFD provided by VNF vendor may use the below described TOSCA interface types. + An on-boarding entity (ONAP SDC) MUST support them.. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r35851.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r35851.yaml new file mode 100644 index 0000000..1e024c0 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r35851.yaml @@ -0,0 +1,56 @@ +# Copyright 2018 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: csar-validate-r35851 + +description: | + The VNF Package MUST include VNF topology that describes basic network and application + connectivity internal and external to the VNF including Link type, KPIs, Bandwidth, + latency, jitter, QoS (if applicable) for each interface. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r35854.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r35854.yaml new file mode 100644 index 0000000..4a181e8 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r35854.yaml @@ -0,0 +1,57 @@ +# Copyright 2018 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: csar-validate-r35854 + +description: | + The VNF Descriptor (VNFD) provided by VNF vendor MUST comply with TOSCA/YAML based Service template + for VNF descriptor specified in ETSI NFV-SOL001. + Note: As the ETSI NFV-SOL001 is work in progress the below tables summarizes the TOSCA definitions + agreed to be part of current version of NFV profile and that VNFD MUST comply with in ONAP Release 2+ Requirements. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r46527.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r46527.yaml new file mode 100644 index 0000000..951f562 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r46527.yaml @@ -0,0 +1,69 @@ +# Copyright 2018 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: csar-validate-r17852 + +description: | + A VNFD is a deployment template which describes a VNF in terms of deployment and operational + behavior requirements. It contains virtualized resources (nodes) requirements as well as connectivity + and interfaces requirements and MUST comply with info elements specified in ETSI GS NFV-IFA 011. + The main parts of the VNFD are the following: + VNF topology: it is modeled in a cloud agnostic way using virtualized containers and their connectivity. + Virtual Deployment Units (VDU) describe the capabilities of the virtualized containers, such as virtual + CPU, RAM, disks; their connectivity is modeled with VDU Connection Point Descriptors (VduCpd), + Virtual Link Descriptors (VnfVld) and VNF External Connection Point Descriptors (VnfExternalCpd); + VNF deployment aspects: they are described in one or more deployment flavours, including configurable + parameters, instantiation levels, placement constraints (affinity / antiaffinity), minimum and maximum + VDU instance numbers. Horizontal scaling is modeled with scaling aspects and the respective scaling levels + in the deployment flavours; + Note: The deployment aspects (deployment flavour etc.) are postponed for future ONAP releases. + VNF lifecycle management (LCM) operations: describes the LCM operations supported per deployment flavour, + and their input parameters; Note, thatthe actual LCM implementation resides in a different layer, namely + referring to additional template artifacts. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r54356.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r54356.yaml new file mode 100644 index 0000000..ae724a5 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r54356.yaml @@ -0,0 +1,55 @@ +# Copyright 2018 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: csar-validate-r54356 + +description: | + Data types used by NFV node and is based on TOSCA/YAML constructs specified in draft GS NFV-SOL 001. + The node data definitions/attributes used in VNFD MUST comply. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r65486.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r65486.yaml new file mode 100644 index 0000000..4c3a04b --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r65486.yaml @@ -0,0 +1,55 @@ +# Copyright 2018 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: csar-validate-r65486 + +description: | + The VNFD MUST comply with ETSI GS NFV-SOL001 document endorsing the above mentioned NFV Profile and + maintaining the gaps with the requirements specified in ETSI GS NFV-IFA011 standard. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r67895.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r67895.yaml new file mode 100644 index 0000000..f7fc466 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r67895.yaml @@ -0,0 +1,55 @@ +# Copyright 2018 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: csar-validate-r67895 + +description: | + The VNFD provided by VNF vendor may use the below described TOSCA capabilities. + An on-boarding entity (ONAP SDC) MUST support them. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r95321.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r95321.yaml new file mode 100644 index 0000000..e605d0f --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol001/vtp-validate-csar-r95321.yaml @@ -0,0 +1,55 @@ +# Copyright 2018 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: csar-validate-r95321 + +description: | + The VNFD provided by VNF vendor may use the below described TOSCA relationships. + An on-boarding entity (ONAP SDC) MUST support them. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r01123.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r01123.yaml new file mode 100644 index 0000000..043fff2 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r01123.yaml @@ -0,0 +1,60 @@ +# Copyright 2018 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: csar-validate-r01123 + +description: | + The VNF package Manifest file MUST contain: VNF package meta-data, a list of all artifacts + (both internal and external) entry’s including their respected URI’s, an algorithm to calculate + a digest and a digest result calculated on the content of each artifacts, as specified in + ETSI GS NFV-SOL004. The VNF Package MUST include VNF Identification Data to uniquely + identify the resource for a given VNF provider. The identification data must include: + an identifier for the VNF, the name of the VNF as was given by the VNF provider, VNF + description, VNF provider, and version. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r02454.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r02454.yaml new file mode 100644 index 0000000..03d395d --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r02454.yaml @@ -0,0 +1,56 @@ +# Copyright 2018 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: csar-validate-r02454 + +description: | + The VNF MUST support the existence of multiple major/minor versions of the + VNF software and/or sub-components and interfaces that support both forward + and backward compatibility to be transparent to the Service Provider usage. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r04298.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r04298.yaml new file mode 100644 index 0000000..ecbdbcc --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r04298.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r04298 + +description: VNF provider MUST provider their testing scripts to support testing + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r07879.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r07879.yaml new file mode 100644 index 0000000..3118f89 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r07879.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r07879 + +description: The VNF Package MUST include all relevant playbooks to ONAP to be loaded on the Ansible Server. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r10087.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r10087.yaml new file mode 100644 index 0000000..3428842 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r10087.yaml @@ -0,0 +1,56 @@ +# Copyright 2018 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: csar-validate-r10087 + +description: | + The VNF package MUST contain all standard artifacts as specified in ETSI GS NFV-SOL004 including + Manifest file, VNFD (or Main TOSCA/YAML based Service Template) and other optional artifacts. + CSAR Manifest file as per SOL004 - for example ROOT\ MainServiceTemplate.mf + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r13390.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r13390.yaml new file mode 100644 index 0000000..de07c97 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r13390.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r13390 + +description: The VNF provider MUST provide cookbooks to be loaded on the appropriate Chef Server. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r21322.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r21322.yaml new file mode 100644 index 0000000..684c876 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r21322.yaml @@ -0,0 +1,55 @@ +# Copyright 2018 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: csar-validate-r21322 + +description: | + The VNF provider MUST provide their testing scripts to support testing as specified in ETSI NFV-SOL004 - + Testing directory in CSAR. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r23823.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r23823.yaml new file mode 100644 index 0000000..e504da1 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r23823.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r23823 + +description: The VNF Package MUST include appropriate credentials so that ONAP can interact with the Chef Server + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r26881.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r26881.yaml new file mode 100644 index 0000000..1a7a19b --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r26881.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r26881 + +description: The VNF provider MUST provide the binaries and images needed to instantiate the VNF (VNF and VNFC images). + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r26885.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r26885.yaml new file mode 100644 index 0000000..5209792 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r26885.yaml @@ -0,0 +1,57 @@ +# Copyright 2018 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: csar-validate-r10087 + +description: | + The VNF provider MUST provide the binaries and images needed to instantiate the VNF (VNF and VNFC images) either as: + Local artifact in CSAR: ROOT\Artifacts\ VNF_Image.bin + externally referred (by URI) artifact in Manifest file (also may be referred by VNF Descriptor) + Note: Currently, ONAP doesn’t have the capability of Image management, we upload the image into VIM/VNFM manually. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r27310.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r27310.yaml new file mode 100644 index 0000000..156c20d --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r27310.yaml @@ -0,0 +1,55 @@ +# Copyright 2018 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: csar-validate-r27310 + +description: | + The VNF Package MUST include all relevant Chef artifacts (roles/cookbooks/recipes) + required to execute VNF actions requested by ONAP for loading on appropriate Chef Server. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r40293.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r40293.yaml new file mode 100644 index 0000000..2e0e652 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r40293.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r40293 + +description: The VNF MUST make available (or load on VNF Ansible Server) playbooks that conform to the ONAP requirement. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r40820.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r40820.yaml new file mode 100644 index 0000000..fd4a4ea --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r40820.yaml @@ -0,0 +1,55 @@ +# Copyright 2018 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: csar-validate-r40820 + +description: | + The VNF provider MUST enumerate all of the open source licenses their VNF(s) incorporate. CSAR License + directory as per ETSI SOL004. for example ROOT\Licenses\ License_term.txt + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r43958.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r43958.yaml new file mode 100644 index 0000000..aaef65a --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r43958.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r43958 + +description: The VNF Package MUST include documentation describing the tests that were conducted by the VNF provider and the test results. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r51347.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r51347.yaml new file mode 100644 index 0000000..45d8e92 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r51347.yaml @@ -0,0 +1,57 @@ +# Copyright 2018 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: csar-validate-r51347 + +description: | + The VNF package MUST be arranged as a CSAR archive as specified in TOSCA Simple Profile in YAML 1.2. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + metadata: + keyword: MUST + introduced: casablanca + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r66070.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r66070.yaml new file mode 100644 index 0000000..d5bd847 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r66070.yaml @@ -0,0 +1,57 @@ +# Copyright 2018 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: csar-validate-r66070 + +description: | + The VNF Package MUST include VNF Identification Data to uniquely identify the + resource for a given VNF provider. The identification data must include: an identifier + for the VNF, the name of the VNF as was given by the VNF provider, VNF description, + VNF provider, and version + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r77707.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r77707.yaml new file mode 100644 index 0000000..7f213d7 --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r77707.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r77707 + +description: VNF provider MUST include manifest file that contains a list of all the components in VNF package + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r77786.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r77786.yaml new file mode 100644 index 0000000..787225a --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r77786.yaml @@ -0,0 +1,53 @@ +# Copyright 2018 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: csar-validate-r77786 + +description: The VNF Package MUST include all relevant cookbooks to be loaded on the ONAP Chef Server. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r87234.yaml b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r87234.yaml new file mode 100644 index 0000000..01d45bf --- /dev/null +++ b/csarvalidation/src/main/resources/open-cli-schema/sol004/vtp-validate-csar-r87234.yaml @@ -0,0 +1,56 @@ +# Copyright 2018 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: csar-validate-r87234 + +description: | + The VNF package provided by a VNF vendor MAY be either with TOSCA-Metadata directory (CSAR Option 1) + or without TOSCA-Metadata directory (CSAR Option 2) as specified in ETSI GS NFV-SOL004. On-boarding entity + (ONAP SDC) must support both options. + +info: + product: onap-vtp + version: 1.0 + service: validation + author: ONAP VTP Team onap-discuss@lists.onap.org + +parameters: + - name: csar + description: CSAR file path + long_option: csar + short_option: b + type: binary + is_optional: false + +results: + direction: landscape + attributes: + - name: code + description: Error code + scope: short + type: string + - name: message + description: Error message + scope: short + type: string + - name: file + description: File in which error occured + scope: short + type: string + - name: line-no + description: Line no at which error occured + scope: short + type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-casablanca.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-casablanca.yaml deleted file mode 100644 index 878eb67..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-casablanca.yaml +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2018 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: csar-validate-casablanca - -description: Validate CSAR package formats - -info: - product: onap-csablanca - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - ignore: true - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: error - description: Validation error details - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r02454.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r02454.yaml deleted file mode 100644 index 03d395d..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r02454.yaml +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2018 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: csar-validate-r02454 - -description: | - The VNF MUST support the existence of multiple major/minor versions of the - VNF software and/or sub-components and interfaces that support both forward - and backward compatibility to be transparent to the Service Provider usage. - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r04298.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r04298.yaml deleted file mode 100644 index ecbdbcc..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r04298.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r04298 - -description: VNF provider MUST provider their testing scripts to support testing - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r07879.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r07879.yaml deleted file mode 100644 index 3118f89..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r07879.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r07879 - -description: The VNF Package MUST include all relevant playbooks to ONAP to be loaded on the Ansible Server. - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r09467.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r09467.yaml deleted file mode 100644 index c43fb6a..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r09467.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r09467 - -description: The VNF MUST utilize only NCSP standard compute flavors. [5] - compute, virtual storage. - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r13390.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r13390.yaml deleted file mode 100644 index de07c97..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r13390.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r13390 - -description: The VNF provider MUST provide cookbooks to be loaded on the appropriate Chef Server. - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r23823.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r23823.yaml deleted file mode 100644 index e504da1..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r23823.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r23823 - -description: The VNF Package MUST include appropriate credentials so that ONAP can interact with the Chef Server - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r26881.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r26881.yaml deleted file mode 100644 index 1a7a19b..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r26881.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r26881 - -description: The VNF provider MUST provide the binaries and images needed to instantiate the VNF (VNF and VNFC images). - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r27310.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r27310.yaml deleted file mode 100644 index 156c20d..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r27310.yaml +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2018 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: csar-validate-r27310 - -description: | - The VNF Package MUST include all relevant Chef artifacts (roles/cookbooks/recipes) - required to execute VNF actions requested by ONAP for loading on appropriate Chef Server. - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r35851.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r35851.yaml deleted file mode 100644 index 1e024c0..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r35851.yaml +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2018 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: csar-validate-r35851 - -description: | - The VNF Package MUST include VNF topology that describes basic network and application - connectivity internal and external to the VNF including Link type, KPIs, Bandwidth, - latency, jitter, QoS (if applicable) for each interface. - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r40293.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r40293.yaml deleted file mode 100644 index 2e0e652..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r40293.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r40293 - -description: The VNF MUST make available (or load on VNF Ansible Server) playbooks that conform to the ONAP requirement. - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r43958.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r43958.yaml deleted file mode 100644 index aaef65a..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r43958.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r43958 - -description: The VNF Package MUST include documentation describing the tests that were conducted by the VNF provider and the test results. - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r66070.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r66070.yaml deleted file mode 100644 index d5bd847..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r66070.yaml +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2018 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: csar-validate-r66070 - -description: | - The VNF Package MUST include VNF Identification Data to uniquely identify the - resource for a given VNF provider. The identification data must include: an identifier - for the VNF, the name of the VNF as was given by the VNF provider, VNF description, - VNF provider, and version - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r77707.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r77707.yaml deleted file mode 100644 index 7f213d7..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r77707.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r77707 - -description: VNF provider MUST include manifest file that contains a list of all the components in VNF package - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r77786.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r77786.yaml deleted file mode 100644 index 787225a..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar-r77786.yaml +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2018 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: csar-validate-r77786 - -description: The VNF Package MUST include all relevant cookbooks to be loaded on the ONAP Chef Server. - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - -parameters: - - name: csar - description: CSAR file path - long_option: csar - short_option: b - type: binary - is_optional: false - -results: - direction: landscape - attributes: - - name: code - description: Error code - scope: short - type: string - - name: message - description: Error message - scope: short - type: string - - name: file - description: File in which error occured - scope: short - type: string - - name: line-no - description: Line no at which error occured - scope: short - type: string diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml index 329122a..709af93 100644 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml +++ b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml @@ -16,7 +16,7 @@ open_cli_schema_version: 1.0 name: csar-validate -description: Validate CSAR package formats compliants to ETSI SOL004 and VNFREQS +description: Validate CSAR package formats compliants to ETSI SOL004, SOL001 and VNFREQS info: product: onap-vtp diff --git a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-hot.yaml b/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-hot.yaml deleted file mode 100644 index 8eb0ef5..0000000 --- a/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-hot.yaml +++ /dev/null @@ -1,81 +0,0 @@ -# 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: hot-validate -description: | - Validates the OpenStack heat templates using ONAP VNFREQS with help of VVP scripts - Before using this command, please install the VVP by following guidelines from - https://github.com/onap/vvp-validation-scripts#installation - -info: - product: onap-vtp - version: 1.0 - service: validation - author: ONAP VTP Team onap-discuss@lists.onap.org - type: cmd - -parameters: - - name: hot-folder - description: HOT folder path where VNF package files are kept - long_option: hot-folder - short_option: b - type: string - is_optional: false - - name: script-folder - description: Pytest script folder path - long_option: script-folder - default_value: $s{env:ONAP_VVP_HOME} - short_option: n - type: string - is_optional: false - -results: - direction: landscape - attributes: - - name: vnfrqts - description: vnfrqts identifiers - scope: short - type: string - - name: test - description: test case - scope: short - type: string - - name: template - description: template file - scope: short - type: string - - name: message - description: error message - scope: short - type: string -cmd: - command: - - pytest ${script-folder} --template-directory=${hot-folder} - success_codes: - - 0 - - 1 - - 2 - - 5 - pass_codes: - - 0 - - 2 - - 5 - working_directory: . - output: $s{file:${script-folder}/output/failures} - result_map: - vnfrqts: $o{$.*.vnfrqts} - test: $o{$.*.test} - template: $o{$.*.file} - message: $o{$.*.message} -- cgit 1.2.3-korg