summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2021-01-20 14:53:39 +0100
committerZebek Bogumil <bogumil.zebek@nokia.com>2021-01-20 14:53:39 +0100
commit398dcd3e75651e047e307a3207fb2b8dc1207ab0 (patch)
tree14b0e7fbf8445b2a207d094fc3525efe2b0e82db /csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml
parent59010375b15438297c5e25e6864fd88b76c80760 (diff)
Add release parameter to rules
- All vnf/pnf rules where updated. Release parameter was added into the info->metadata section. - VNFSDK validation logic supports optional release parameter. Parameter defines which rules should be used during validation process. By default: all rules are used during validation process. --release parameter defines which rules (parent with ancestors) should be used. For example: if user run validation with --release=dublin, then amsterdam, casablanca and dublin rules will be used during validation. Rules order is defined in the vnfreqs.properties file. Change-Id: I3e9dc1e7a899fa51c266808cbcb73e04a2e252cc Issue-ID: VNFSDK-731 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Diffstat (limited to 'csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml')
-rw-r--r--csarvalidation/src/main/resources/open-cli-schema/vtp-validate-csar.yaml9
1 files changed, 8 insertions, 1 deletions
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 b77dfa2..e6727eb 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
@@ -19,12 +19,19 @@ name: csar-validate
description: Validate CSAR package formats compliants to ETSI SOL004, SOL001 and VNFREQS
info:
- product: onap-dublin
+ product: onap-vtp
version: 1.0
service: vnf-compliance
author: ONAP VTP Team onap-discuss@lists.onap.org
parameters:
+ - name: release
+ description: Name of release [amsterdam|casablanca|dublin|frankfurt|guilin|honolulu]
+ long_option: release
+ short_option: rel
+ type: binary
+ is_optional: true
+ default_value: "latest"
- name: csar
description: CSAR file path
long_option: csar