From 5222844a7befd0adaed24c7dbe6e90c63add9655 Mon Sep 17 00:00:00 2001 From: Bogumil Zebek Date: Fri, 26 Apr 2019 08:05:20 +0200 Subject: Basic PNFD validation Change-Id: I959324f3fc0ba89d99a291d0608aa5a5ba778077 Issue-ID: VNFSDK-341 Signed-off-by: Zebek Bogumil --- .../open-cli-schema/sol001/vtp-validate-csar-r15837.yaml | 8 +++++++- .../open-cli-schema/sol001/vtp-validate-csar-r17852.yaml | 10 ++++++++-- .../open-cli-schema/sol001/vtp-validate-csar-r35854.yaml | 12 +++++++++--- 3 files changed, 24 insertions(+), 6 deletions(-) (limited to 'csarvalidation/src/main/resources/open-cli-schema/sol001') 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 index 586f4af..f02cdfc 100644 --- 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 @@ -32,7 +32,13 @@ parameters: short_option: b type: binary is_optional: false - + - name: pnf + description: CSAR file contains PNF + long_option: pnf + short_option: p + type: bool + is_optional: true + default_value: false results: direction: landscape attributes: 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 index 6626765..0ce2dea 100644 --- 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 @@ -17,7 +17,7 @@ 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, + The VNFD/PNFD 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: @@ -33,7 +33,13 @@ parameters: short_option: b type: binary is_optional: false - + - name: pnf + description: CSAR file contains PNF + long_option: pnf + short_option: p + type: bool + is_optional: true + default_value: false results: direction: landscape attributes: 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 index 1a824da..3556c6d 100644 --- 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 @@ -17,8 +17,8 @@ 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. + The VNF/PNF Descriptor (VNFD/PNFD) provided by VNF/PNF vendor MUST comply with TOSCA/YAML based Service template + for VNF/PNF descriptor specified in ETSI NFV-SOL001. info: product: onap-vtp @@ -33,7 +33,13 @@ parameters: short_option: b type: binary is_optional: false - + - name: pnf + description: CSAR file contains PNF + long_option: pnf + short_option: p + type: bool + is_optional: true + default_value: false results: direction: landscape attributes: -- cgit 1.2.3-korg