diff options
author | Lovett, Trevor (tl2972) <tl2972@att.com> | 2018-08-22 11:13:45 -0500 |
---|---|---|
committer | Lovett, Trevor (tl2972) <tl2972@att.com> | 2018-08-22 12:52:32 -0500 |
commit | f5edc06be0d8bedeb0904b348ba5e3e67c74f186 (patch) | |
tree | 5fba01ca97aebe14f4b7004551bc58c17a858169 | |
parent | 1af0d577ab6d8c431ae1322657c50efd5e0a1a93 (diff) |
[VVP] Added new three new reports
Resolves VVP-81 by introducing three new reports to the validation
script output.
Each report is written to the output directory under ice_validator.
* mapping_errors.csv - each row represents an issue where a test is
mapped to a requirement that does not exist
in the requirement.json file
* traceability.csv - Shows a mapping between all test cases and
requirements. Rows will also be shown
where a requirement does not have a tests, and
where tests are not mapped to a requirement
* report.{html|csv|xlsx} - Formatted error report that shows each
failure that was detected and maps it to
a the file name, requirement(s) violated if
known, possible resolution steps, error
message, and raw output from pytest. The
report can be written in html, csv, or Excel
format
Other minor changes:
* Replaced smart quotes with regular quotes to resolve issues with py3
* Updated copyright of modified files
* Fixed Flake-8 errors
Issue-ID: VVP-81
Change-Id: I659836cb20262ae44652c03639281a817dd051ae
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
293 files changed, 24256 insertions, 1625 deletions
diff --git a/.coveragerc b/.coveragerc index c9dc10d..b063982 100644 --- a/.coveragerc +++ b/.coveragerc @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -93,3 +93,6 @@ ENV/ # pytest *pytest_cache* + +.idea/ +ice_validator/output/
\ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt index 4b35a94..187df63 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -5,7 +5,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -20,7 +20,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/__init__.py b/ice_validator/__init__.py index e8f24cd..ec11176 100644 --- a/ice_validator/__init__.py +++ b/ice_validator/__init__.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/requirements.json b/ice_validator/requirements.json new file mode 100644 index 0000000..49b1ddf --- /dev/null +++ b/ice_validator/requirements.json @@ -0,0 +1,21861 @@ +{ + "created": "2018-08-18T12:03:56.273590", + "current_version": "master branch", + "project": "", + "versions": { + "master branch": { + "created": "2018-08-18T12:03:56.273590", + "needs": { + "R-00011": { + "description": "A VNF's Heat Orchestration Template's Nested YAML files\nparameter's **MUST NOT** have a parameter constraint defined.", + "full_title": "", + "hide_links": "", + "id": "R-00011", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "constraints", + "sections": [ + "constraints", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-00068": { + "description": "The xNF Package **MUST** include documentation which includes\na description of parameters that can be monitored for the xNF\nand event records (status, fault, flow, session, call, control\nplane, etc.) generated by the xNF after instantiation.", + "full_title": "", + "hide_links": "", + "id": "R-00068", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Description", + "sections": [ + "Resource Description", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-00098": { + "description": "The VNF **MUST NOT** impact the ability of the VNF to provide\nservice/function due to a single container restart.", + "full_title": "", + "hide_links": "", + "id": "R-00098", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "All Layer Redundancy", + "sections": [ + "All Layer Redundancy", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-00156": { + "description": "The xNF Package **MUST** include documentation describing xNF\nManagement APIs, which must include information and tools for\nONAP to monitor the health of the xNF (conditions that require\nhealing and/or scaling responses).", + "full_title": "", + "hide_links": "", + "id": "R-00156", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Description", + "sections": [ + "Resource Description", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-00228": { + "description": "A VNF's Heat Orchestration Template **MAY**\nreference the nested heat statically by repeated definition.", + "full_title": "", + "hide_links": "", + "id": "R-00228", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Nested Heat Template Requirements", + "sections": [ + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-00606": { + "description": "A VNF **MAY** be connected to zero, one or more than one external\nnetworks.", + "full_title": "", + "hide_links": "", + "id": "R-00606", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-00977": { + "description": "A VNF's Heat Orchestration Template's '{network-role}'\n**MUST NOT** be a substring of '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-00977", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "{network-role}", + "sections": [ + "{network-role}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-01033": { + "description": "The xNF **MAY** use another option which is expected to include SFTP\nfor asynchronous bulk files, such as bulk files that contain large volumes\nof data collected over a long time interval or data collected across many\nxNFs. (Preferred is to reorganize the data into more frequent or more focused\ndata sets, and deliver these by REST or TCP as appropriate.)", + "full_title": "", + "hide_links": "", + "id": "R-01033", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Addressing and Delivery Protocol", + "sections": [ + "Addressing and Delivery Protocol", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-01101": { + "description": "A VNF's Heat Orchestration Template **MAY**\nreference the nested heat dynamically using the resource\n'OS::Heat::ResourceGroup'.", + "full_title": "", + "hide_links": "", + "id": "R-01101", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Nested Heat Template Requirements", + "sections": [ + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-01334": { + "description": "The xNF **MUST** conform to the NETCONF RFC 5717,\n\"Partial Lock Remote Procedure Call\".", + "full_title": "", + "hide_links": "", + "id": "R-01334", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-01359": { + "description": "A VNF's Heat Orchstration Template that contains an\n'OS::Nova:Server' Resource **MAY** define a parameter for the property\n'availability_zone' that is not utilized in any 'OS::Nova::Server'\nresources in the Heat Orchestration Template.", + "full_title": "", + "hide_links": "", + "id": "R-01359", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Property: availability_zone", + "sections": [ + "Property: availability_zone", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-01382": { + "description": "The xNF **MUST** allow the entire configuration of the xNF to be\nretrieved via NETCONF's <get-config> and <edit-config>, independently\nof whether it was configured via NETCONF or other mechanisms.", + "full_title": "", + "hide_links": "", + "id": "R-01382", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-01455": { + "description": "When a VNF's Heat Orchestration Template creates a\nVirtual Machine (i.e., 'OS::Nova::Server'), each 'class' of VMs\n**MUST** be assigned a VNF unique '{vm-type}'; where 'class'\ndefines VMs that **MUST** have the following identical characteristics:\n\n 1.) OS::Nova::Server property flavor value\n\n 2.) OS::Nova::Server property image value\n\n 3.) Cinder Volume attachments\n - Each VM in the 'class' **MUST** have the identical Cinder Volume\n configuration\n\n 4.) Network attachments and IP address requirements\n - Each VM in the 'class' **MUST** have the the identical number\n of ports connecting to the identical networks and requiring the\n identical IP address configuration.", + "full_title": "", + "hide_links": "", + "id": "R-01455", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{vm-type}", + "sections": [ + "{vm-type}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-01478": { + "description": "The xNF Package **MUST** include documentation describing all\nparameters that are available to monitor the xNF after instantiation\n(includes all counters, OIDs, PM data, KPIs, etc.) that must be\ncollected for reporting purposes.", + "full_title": "", + "hide_links": "", + "id": "R-01478", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-01556": { + "description": "The xNF Package **MUST** include documentation describing the\nfault, performance, capacity events/alarms and other event records\nthat are made available by the xNF.", + "full_title": "", + "hide_links": "", + "id": "R-01556", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-01896": { + "description": "A VNF's Heat Orchestration Template's parameter values that are\nconstant across all deployments **MUST** be declared in a Heat Orchestration\nTemplate Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-01896", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Scope of a Heat Orchestration Template", + "sections": [ + "Scope of a Heat Orchestration Template", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02137": { + "description": "The VNF **MUST** implement all monitoring and logging as\ndescribed in the Security Analytics section.", + "full_title": "", + "hide_links": "", + "id": "R-02137", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02164": { + "description": "When a VNF's Heat Orchestration Template's Contrail resource\nhas a property that\nreferences an external network that requires the network's\nFully Qualified Domain Name (FQDN), the property parameter\n\n * **MUST** follow the format '{network-role}_net_fqdn'\n * **MUST** be declared as type 'string'\n * **MUST NOT** be enumerated in the NF's Heat Orchestration Template's\n Environment File", + "full_title": "", + "hide_links": "", + "id": "R-02164", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Contrail Network Parameters", + "Contrail Resource Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02170": { + "description": "The VNF **MUST** use, whenever possible, standard implementations\nof security applications, protocols, and format, e.g., S/MIME, TLS, SSH,\nIPSec, X.509 digital certificates for cryptographic implementations.\nThese implementations must be purchased from reputable vendors and must\nnot be developed in-house.", + "full_title": "", + "hide_links": "", + "id": "R-02170", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02360": { + "description": "The VNFC **MUST** be designed as a standalone, executable process.", + "full_title": "", + "hide_links": "", + "id": "R-02360", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02454": { + "description": "The VNF **MUST** support the existence of multiple major/minor\nversions of the VNF software and/or sub-components and interfaces that\nsupport both forward and backward compatibility to be transparent to\nthe Service Provider usage.", + "full_title": "", + "hide_links": "", + "id": "R-02454", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Deployment Optimization", + "sections": [ + "Deployment Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02597": { + "description": "The xNF **MUST** implement the protocol operation:\n**lock(target)** - Lock the configuration datastore target.", + "full_title": "", + "hide_links": "", + "id": "R-02597", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02616": { + "description": "The xNF **MUST** permit locking at the finest granularity\nif a xNF needs to lock an object for configuration to avoid blocking\nsimultaneous configuration operations on unrelated objects (e.g., BGP\nconfiguration should not be locked out if an interface is being\nconfigured or entire Interface configuration should not be locked out\nif a non-overlapping parameter on the interface is being configured).", + "full_title": "", + "hide_links": "", + "id": "R-02616", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02651": { + "description": "The xNF **SHOULD** use the Ansible backup feature to save a\ncopy of configuration files before implementing changes to support\noperations such as backing out of software upgrades, configuration\nchanges or other work as this will help backing out of configuration\nchanges when needed.", + "full_title": "", + "hide_links": "", + "id": "R-02651", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02691": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'workload_context' **MUST NOT**\nbe enumerated in the Heat Orchestration Template's environment file.", + "full_title": "", + "hide_links": "", + "id": "R-02691", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "workload_context", + "sections": [ + "workload_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-02997": { + "description": "The VNF **MUST** preserve their persistent data. Running VMs\nwill not be backed up in the Network Cloud infrastructure.", + "full_title": "", + "hide_links": "", + "id": "R-02997", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-03070": { + "description": "The xNF **MUST**, by ONAP Policy, provide the ONAP addresses\nas data destinations for each xNF, and may be changed by Policy while\nthe xNF is in operation. We expect the xNF to be capable of redirecting\ntraffic to changed destinations with no loss of data, for example from\none REST URL to another, or from one TCP host and port to another.", + "full_title": "", + "hide_links": "", + "id": "R-03070", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Addressing and Delivery Protocol", + "sections": [ + "Addressing and Delivery Protocol", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-03251": { + "description": "A VNF's Heat Orchestration Template's Resource OS::Heat::CinderVolume\n**MAY** be defined in a Cinder Volume Module.", + "full_title": "", + "hide_links": "", + "id": "R-03251", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-03324": { + "description": "The VNF Heat Orchestration Template **MUST** contain the\n\"parameters\" section in the environment file.", + "full_title": "", + "hide_links": "", + "id": "R-03324", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Environment File Format", + "sections": [ + "Environment File Format", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-03465": { + "description": "The xNF **MUST** release locks to prevent permanent lock-outs\nwhen the corresponding <partial-unlock> operation succeeds.", + "full_title": "", + "hide_links": "", + "id": "R-03465", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-03595": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::SecurityGroup that is applicable to more than\none {vm-type} and one external network Resource ID **SHOULD**\nuse the naming convention\n\n * {network-role}_security_group\n\nwhere\n\n * {network-role} is the network-role", + "full_title": "", + "hide_links": "", + "id": "R-03595", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Neutron::SecurityGroup", + "sections": [ + "OS::Neutron::SecurityGroup", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-03656": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::Heat::SoftwareConfig' Resource ID **MAY** use the naming convention\n\n * {vm-type}_RSC\n\nwhere\n\n * {vm-type} is the vm-type\n * 'RSC' signifies that it is the Resource Software Config", + "full_title": "", + "hide_links": "", + "id": "R-03656", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::Heat::SoftwareConfig", + "sections": [ + "OS::Heat::SoftwareConfig", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-03954": { + "description": "The VNF **MUST** survive any single points of failure within\nthe Network Cloud (e.g., virtual NIC, VM, disk failure).", + "full_title": "", + "hide_links": "", + "id": "R-03954", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "All Layer Redundancy", + "sections": [ + "All Layer Redundancy", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-04158": { + "description": "The xNF **MUST** conform to the NETCONF RFC 4742,\n\"Using the NETCONF Configuration Protocol over Secure Shell (SSH)\".", + "full_title": "", + "hide_links": "", + "id": "R-04158", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-04298": { + "description": "The xNF provider **MUST** provide their testing scripts to\nsupport testing.", + "full_title": "", + "hide_links": "", + "id": "R-04298", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Testing", + "sections": [ + "Testing", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-04344": { + "description": "A VNF's Nested YAML file **MAY** be invoked by more than one of\na VNF's Heat Orchestration Templates (when the VNF is composed of two\nor more Heat Orchestration Templates).", + "full_title": "", + "hide_links": "", + "id": "R-04344", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Nested Heat Template Requirements", + "sections": [ + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-04492": { + "description": "The VNF **MUST** generate security audit logs that must be sent\nto Security Analytics Tools for analysis.", + "full_title": "", + "hide_links": "", + "id": "R-04492", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-04697": { + "description": "When the VNF's Heat Orchestration Template's Resource 'OS::Neutron::Port'\nis attaching to an external network, and an IPv4 address is assigned using\nthe property 'fixed_ips' map property 'ip_address' and the parameter type\nis defined as a comma_delimited_list, the parameter name **MUST** follow the\nnaming convention\n\n * '{vm-type}_{network-role}_ips',\n\nwhere\n\n * '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n * '{network-role}' is the {network-role} of the external network", + "full_title": "", + "hide_links": "", + "id": "R-04697", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-04747": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::Heat::CloudConfig' Resource ID **MUST** contain the '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-04747", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Heat::CloudConfig", + "sections": [ + "OS::Heat::CloudConfig", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-04982": { + "description": "The VNF **MUST NOT** include an authentication credential,\ne.g., password, in the security audit logs, even if encrypted.", + "full_title": "", + "hide_links": "", + "id": "R-04982", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-05050": { + "description": "A VNF's Heat Orchestration Templates intrinsic function\n'get\\_file' <content key> **MAY** be used:\n\n * more than once in a VNF's Heat Orchestration Template\n * in two or more of a VNF's Heat Orchestration Templates\n * in a VNF's Heat Orchestration Templates nested YAML file", + "full_title": "", + "hide_links": "", + "id": "R-05050", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Heat Files Support (get_file)", + "sections": [ + "Heat Files Support (get_file)", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-05201": { + "description": "When a VNF connects to two or more external networks, each external\nnetwork **MUST** be assigned a unique '{network-role}' in the context of\nthe VNF for use in the VNF's Heat Orchestration Template.", + "full_title": "", + "hide_links": "", + "id": "R-05201", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-05257": { + "description": "A VNF's Heat Orchestration Template's **MUST NOT**\ncontain the Resource 'OS::Neutron::FloatingIP'.", + "full_title": "", + "hide_links": "", + "id": "R-05257", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-05470": { + "description": "The VNF **MUST** host connectors for access to the database layer.", + "full_title": "", + "hide_links": "", + "id": "R-05470", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-06327": { + "description": "The VNF **MUST** respond to a \"drain VNFC\" [#4.5.2]_ command against\na specific VNFC, preventing new session from reaching the targeted VNFC,\nwith no disruption to active sessions on the impacted VNFC, if a VNF\nprovides a load balancing function across multiple instances of its VNFCs.\nThis is used to support scenarios such as proactive maintenance with no\nuser impact.", + "full_title": "", + "hide_links": "", + "id": "R-06327", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-06413": { + "description": "The VNF **MUST** log the field \"service or program used for access\"\nin the security audit logs.", + "full_title": "", + "hide_links": "", + "id": "R-06413", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-06613": { + "description": "A VNF's Heat Orchestration Template's parameter defined as\ntype \"boolean\" **MAY** have a parameter constraint defined.", + "full_title": "", + "hide_links": "", + "id": "R-06613", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "constraints", + "sections": [ + "constraints", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-06668": { + "description": "The VNF **MUST** handle the start or restart of VNFC instances\nin any order with each VNFC instance establishing or re-establishing\nrequired connections or relationships with other VNFC instances and/or\nVNFs required to perform the VNF function/role without requiring VNFC\ninstance(s) to be started/restarted in a particular order.", + "full_title": "", + "hide_links": "", + "id": "R-06668", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-06885": { + "description": "The VNF **SHOULD** support the ability to scale down a VNFC pool\nwithout jeopardizing active sessions. Ideally, an active session should\nnot be tied to any particular VNFC instance.", + "full_title": "", + "hide_links": "", + "id": "R-06885", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-06924": { + "description": "The xNF **MUST** deliver asynchronous data as data becomes\navailable, or according to the configured frequency.", + "full_title": "", + "hide_links": "", + "id": "R-06924", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Asynchronous and Synchronous Data Delivery", + "sections": [ + "Asynchronous and Synchronous Data Delivery", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-07251": { + "description": "The xNF **MUST** support ONAP Controller's **ResumeTraffic** command.", + "full_title": "", + "hide_links": "", + "id": "R-07251", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "LifeCycle Management Related Commands", + "sections": [ + "LifeCycle Management Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-07443": { + "description": "A VNF's Heat Orchestration Templates' Cinder Volume Module Output\nParameter's name and type **MUST** match the input parameter name and type\nin the corresponding Base Module or Incremental Module unless the Output\nParameter is of the type 'comma\\_delimited\\_list', then the corresponding input\nparameter **MUST** be declared as type 'json'.", + "full_title": "", + "hide_links": "", + "id": "R-07443", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Volume Module Output Parameters", + "sections": [ + "ONAP Volume Module Output Parameters", + "Output Parameters", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-07507": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vnf_id' **MUST** be declared\nas type: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-07507", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vnf_id", + "sections": [ + "vnf_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-07545": { + "description": "The xNF **MUST** support all operations, administration and\nmanagement (OAM) functions available from the supplier for xNFs using\nthe supplied YANG code and associated NETCONF servers.", + "full_title": "", + "hide_links": "", + "id": "R-07545", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-07577": { + "description": "If the VNF's ports connected to a unique network (internal or external)\nand the port's IP addresses are Cloud Assigned IP Addresses,\nall the IPv4 Addresses **MUST** be from\nthe same subnet and all the IPv6 Addresses **MUST** be from the\nsame subnet.", + "full_title": "", + "hide_links": "", + "id": "R-07577", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Items to Note", + "sections": [ + "Items to Note", + "Introduction", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-07617": { + "description": "The VNF **MUST** log creating, removing, or changing the\ninherent privilege level of users.", + "full_title": "", + "hide_links": "", + "id": "R-07617", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-08134": { + "description": "The xNF **MUST** conform to the NETCONF RFC 6241,\n\"NETCONF Configuration Protocol\".", + "full_title": "", + "hide_links": "", + "id": "R-08134", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-08312": { + "description": "The xNF **MAY** use another option which is expected to include REST\ndelivery of binary encoded data sets.", + "full_title": "", + "hide_links": "", + "id": "R-08312", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Addressing and Delivery Protocol", + "sections": [ + "Addressing and Delivery Protocol", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-08315": { + "description": "The VNF **SHOULD** use redundant connection pooling to connect\nto any backend data source that can be switched between pools in an\nautomated/scripted fashion to ensure high availability of the connection\nto the data source.", + "full_title": "", + "hide_links": "", + "id": "R-08315", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Intelligent Transaction Distribution & Management", + "sections": [ + "Intelligent Transaction Distribution & Management", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-08598": { + "description": "The VNF **MUST** log successful and unsuccessful changes to a privilege level.", + "full_title": "", + "hide_links": "", + "id": "R-08598", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-08775": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::SecurityGroup that is applicable to one {vm-type} and\nmore than one network (internal and/or external) Resource ID\n**SHOULD** use the naming convention\n\n * {vm-type}_security_group\n\nwhere\n\n * {vm-type} is the vm-type", + "full_title": "", + "hide_links": "", + "id": "R-08775", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Neutron::SecurityGroup", + "sections": [ + "OS::Neutron::SecurityGroup", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-08975": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::Heat::SoftwareConfig' Resource ID **MUST** contain the '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-08975", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Heat::SoftwareConfig", + "sections": [ + "OS::Heat::SoftwareConfig", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-09467": { + "description": "The VNF **MUST** utilize only NCSP standard compute flavors. [#4.5.1]_", + "full_title": "", + "hide_links": "", + "id": "R-09467", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-09811": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_index' **MUST NOT**\nhave parameter contraints defined.", + "full_title": "", + "hide_links": "", + "id": "R-09811", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vf_module_index", + "sections": [ + "vf_module_index", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-10129": { + "description": "The xNF **SHOULD** conform its YANG model to RFC 7223,\n\"A YANG Data Model for Interface Management\".", + "full_title": "", + "hide_links": "", + "id": "R-10129", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-10173": { + "description": "The xNF **MUST** allow another NETCONF session to be able to\ninitiate the release of the lock by killing the session owning the lock,\nusing the <kill-session> operation to guard against hung NETCONF sessions.", + "full_title": "", + "hide_links": "", + "id": "R-10173", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-10353": { + "description": "The xNF **MUST** conform its YANG model to RFC 6244,\n\"An Architecture for Network Management Using NETCONF and YANG\".", + "full_title": "", + "hide_links": "", + "id": "R-10353", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-10716": { + "description": "The xNF **MUST** support parallel and simultaneous\nconfiguration of separate objects within itself.", + "full_title": "", + "hide_links": "", + "id": "R-10716", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-10754": { + "description": "If a VNF has two or more ports that\nattach to an external network that require a Virtual IP Address (VIP),\nand the VNF requires ONAP automation to assign the IP address,\nall the Virtual Machines using the VIP address **MUST**\nbe instantiated in the same Base Module Heat Orchestration Template\nor in the same Incremental Module Heat Orchestration Template.", + "full_title": "", + "hide_links": "", + "id": "R-10754", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-10834": { + "description": "If a VNF Heat Orchestration Template resource attribute\n\"property:\" uses a nested \"get_param\", one level of nesting is\nsupported and the nested \"get_param\" **MUST** reference an index.", + "full_title": "", + "hide_links": "", + "id": "R-10834", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "properties", + "sections": [ + "properties", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-11041": { + "description": "All parameters defined in a VNFs Nested YAML file\n**MUST** be passed in as properties of the resource calling\nthe nested yaml file.", + "full_title": "", + "hide_links": "", + "id": "R-11041", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Nested Heat Template Requirements", + "sections": [ + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-11168": { + "description": "A VNF's Heat Orchestration Template's Resource ID that is\nassociated with an external network **MUST** include the\n'{network-role}' as part of the resource ID.", + "full_title": "", + "hide_links": "", + "id": "R-11168", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{network-role}", + "sections": [ + "{network-role}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-11200": { + "description": "The VNF **MUST** keep the scope of a Cinder volume module,\nwhen it exists, to be 1:1 with the VNF Base Module or Incremental Module.", + "full_title": "", + "hide_links": "", + "id": "R-11200", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-11235": { + "description": "The xNF **MUST** implement the protocol operation:\n**kill-session(session)** - Force the termination of **session**.", + "full_title": "", + "hide_links": "", + "id": "R-11235", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-11240": { + "description": "The xNF **MUST** respond with content encoded in JSON, as\ndescribed in the RESTCONF specification. This way the encoding of a\nsynchronous communication will be consistent with Avro.", + "full_title": "", + "hide_links": "", + "id": "R-11240", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Asynchronous and Synchronous Data Delivery", + "sections": [ + "Asynchronous and Synchronous Data Delivery", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-11441": { + "description": "A VNF's Heat Orchestration Template's parameter\ntype **MUST** be one of the following values: \"string\",\n\"number\", \"json\", \"comma_delimited_list\" or \"boolean\".", + "full_title": "", + "hide_links": "", + "id": "R-11441", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "type", + "sections": [ + "type", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-11499": { + "description": "The xNF **MUST** fully support the XPath 1.0 specification\nfor filtered retrieval of configuration and other database contents.\nThe 'type' attribute within the <filter> parameter for <get> and\n<get-config> operations may be set to 'xpath'. The 'select' attribute\n(which contains the XPath expression) will also be supported by the\nserver. A server may support partial XPath retrieval filtering, but\nit cannot advertise the **:xpath** capability unless the entire XPath\n1.0 specification is supported.", + "full_title": "", + "hide_links": "", + "id": "R-11499", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-11690": { + "description": "When a VNF's Heat Orchestration Template's Resource ID contains\nan {index} value (e.g. multiple VMs of same {vm-type}), the '{index}'\n**MUST** start at zero and increment by one.", + "full_title": "", + "hide_links": "", + "id": "R-11690", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource IDs", + "sections": [ + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-11790": { + "description": "The VNF **MUST** support ONAP Controller's\n**Restart (stop/start or reboot)** command.", + "full_title": "", + "hide_links": "", + "id": "R-11790", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Virtual Function - Container Recovery Requirements", + "sections": [ + "Virtual Function - Container Recovery Requirements", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-12110": { + "description": "The VNF **MUST NOT** use keys generated or derived from\npredictable functions or values, e.g., values considered predictable\ninclude user identity information, time of day, stored/transmitted data.", + "full_title": "", + "hide_links": "", + "id": "R-12110", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-12271": { + "description": "The xNF **SHOULD** conform its YANG model to RFC 7223,\n\"IANA Interface Type YANG Module\".", + "full_title": "", + "hide_links": "", + "id": "R-12271", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-12467": { + "description": "The VNF **MUST NOT** use the SHA, DSS, MD5, SHA-1 and\nSkipjack algorithms or other compromised encryption.", + "full_title": "", + "hide_links": "", + "id": "R-12467", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-12538": { + "description": "The VNF **SHOULD** support load balancing and discovery\nmechanisms in resource pools containing VNFC instances.", + "full_title": "", + "hide_links": "", + "id": "R-12538", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-12678": { + "description": "The xNF Package **MUST** include documentation which includes a\ndescription of runtime lifecycle events and related actions (e.g.,\ncontrol responses, tests) which can be performed for the xNF.", + "full_title": "", + "hide_links": "", + "id": "R-12678", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Description", + "sections": [ + "Resource Description", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-12706": { + "description": "The xNF **MUST** support ONAP Controller's **QuiesceTraffic** command.", + "full_title": "", + "hide_links": "", + "id": "R-12706", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "LifeCycle Management Related Commands", + "sections": [ + "LifeCycle Management Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-12709": { + "description": "The VNFC **SHOULD** be independently deployed, configured,\nupgraded, scaled, monitored, and administered by ONAP.", + "full_title": "", + "hide_links": "", + "id": "R-12709", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-13151": { + "description": "The VNF **SHOULD** disable the paging of the data requiring\nencryption, if possible, where the encryption of non-transient data is\nrequired on a device for which the operating system performs paging to\nvirtual memory. If not possible to disable the paging of the data\nrequiring encryption, the virtual memory should be encrypted.", + "full_title": "", + "hide_links": "", + "id": "R-13151", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-13194": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'environment_context' **MUST NOT**\nbe enumerated in the Heat Orchestration Template's environment file.", + "full_title": "", + "hide_links": "", + "id": "R-13194", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "environment_context", + "sections": [ + "environment_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-13196": { + "description": "A VNF **MAY** be composed of zero to many Incremental Modules.", + "full_title": "", + "hide_links": "", + "id": "R-13196", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-13344": { + "description": "The VNF **MUST** log starting and stopping of security\nlogging.", + "full_title": "", + "hide_links": "", + "id": "R-13344", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-13390": { + "description": "The xNF provider **MUST** provide cookbooks to be loaded\non the appropriate Chef Server.", + "full_title": "", + "hide_links": "", + "id": "R-13390", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Management via Chef", + "sections": [ + "Configuration Management via Chef", + "Resource Configuration", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-13613": { + "description": "The VNF **MUST** provide clear measurements for licensing\npurposes to allow automated scale up/down by the management system.", + "full_title": "", + "hide_links": "", + "id": "R-13613", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Licensing Requirements", + "sections": [ + "Licensing Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-13627": { + "description": "The VNF **MUST** monitor API invocation patterns to detect\nanomalous access patterns that may represent fraudulent access or other\ntypes of attacks, or integrate with tools that implement anomaly and\nabuse detection.", + "full_title": "", + "hide_links": "", + "id": "R-13627", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-13800": { + "description": "The xNF **MUST** conform to the NETCONF RFC 5277,\n\"NETCONF Event Notification\".", + "full_title": "", + "hide_links": "", + "id": "R-13800", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-13841": { + "description": "A VNF **MAY** have one or more ports connected to a unique\ninternal network. All VNF ports connected to the unique internal\nnetwork **MUST** have Cloud Assigned IP Addresses\nor **MUST** have statically assigned IP addresses.", + "full_title": "", + "hide_links": "", + "id": "R-13841", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Items to Note", + "sections": [ + "Items to Note", + "Introduction", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-14025": { + "description": "The VNF **MUST** provide or support the Identity and Access\nManagement (IDAM) based threat detection data for Session Hijacking.", + "full_title": "", + "hide_links": "", + "id": "R-14025", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-14198": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::SecurityGroup that is applicable to one {vm-type}\nand one internal network Resource ID **SHOULD** use the naming convention\n\n * {vm-type}_int_{network-role}_security_group\n\nwhere\n\n * {vm-type} is the vm-type\n * {network-role} is the network-role", + "full_title": "", + "hide_links": "", + "id": "R-14198", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Neutron::SecurityGroup", + "sections": [ + "OS::Neutron::SecurityGroup", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-14447": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::ServiceTemplate' Resource ID **MAY**\nuse the naming convention\n\n * {vm-type}_RST_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * 'RST' signifies that it is the Resource Service Template\n * '{index}' is is the index", + "full_title": "", + "hide_links": "", + "id": "R-14447", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::ServiceTemplate", + "sections": [ + "OS::ContrailV2::ServiceTemplate", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-14853": { + "description": "The VNF **MUST** respond to a \"move traffic\" [#4.5.2]_ command\nagainst a specific VNFC, moving all existing session elsewhere with\nminimal disruption if a VNF provides a load balancing function across\nmultiple instances of its VNFCs.\n\nNote: Individual VNF performance aspects (e.g., move duration or\ndisruption scope) may require further constraints.", + "full_title": "", + "hide_links": "", + "id": "R-14853", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-15189": { + "description": "A VNF's Heat Orchestration Template's Resource OS::Nova::ServerGroup\nResource ID **MAY** use the naming convention\n\n * {vm-type}_RSG\n\nor\n\n * {vm-type}_Server_Grp\n\nor\n\n * {vm-type}_ServerGroup\n\nor\n\n * {vm-type}_servergroup", + "full_title": "", + "hide_links": "", + "id": "R-15189", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::Nova::ServerGroup", + "sections": [ + "OS::Nova::ServerGroup", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-15287": { + "description": "When the VNF's Heat Orchestration Template's resource\n'OS::Neutron::Port' is attaching to an external network, and an IPv6\naddress is being Cloud Assigned by OpenStack's DHCP Service and the\nexternal network IPv6 subnet is to be specified using the property\n'fixed_ips' map property 'subnet'/'subnet_id', the parameter **MUST**\nfollow the naming convention\n\n * '{network-role}_subnet_v6_id'\n\nwhere\n\n * '{network-role}' is the network role of the network.", + "full_title": "", + "hide_links": "", + "id": "R-15287", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: subnet_id", + "sections": [ + "Property: fixed_ips, Map Property: subnet_id", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-15325": { + "description": "The VNF **MUST** log the field \"success/failure\" in the\nsecurity audit logs.", + "full_title": "", + "hide_links": "", + "id": "R-15325", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-15480": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_name'\n**MUST NOT** have parameter contraints defined.", + "full_title": "", + "hide_links": "", + "id": "R-15480", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vf_module_name", + "sections": [ + "vf_module_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-15659": { + "description": "The VNF **MUST** restrict changing the criticality level of\na system security alarm to administrator(s).", + "full_title": "", + "hide_links": "", + "id": "R-15659", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-15671": { + "description": "The VNF **MUST NOT** provide public or unrestricted access\nto any data without the permission of the data owner. All data\nclassification and access controls must be followed.", + "full_title": "", + "hide_links": "", + "id": "R-15671", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-15884": { + "description": "The VNF **MUST** include the field \"date\" in the Security alarms\n(where applicable and technically feasible).", + "full_title": "", + "hide_links": "", + "id": "R-15884", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-15885": { + "description": "The xNF **MUST** Upon completion of the chef-client run,\nPOST back on the callback URL, a JSON object as described in Table\nA2 if the chef-client run list includes a cookbook/recipe that is\ncallback capable. Failure to POST on the Callback Url should not be\nconsidered a critical error. That is, if the chef-client successfully\ncompletes the xNF action, it should reflect this status on the Chef\nServer regardless of whether the Callback succeeded or not.", + "full_title": "", + "hide_links": "", + "id": "R-15885", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16039": { + "description": "The VNF **SHOULD** test for adherence to the defined\nresiliency rating recommendation at each layer, during each\ndelivery cycle so that the resiliency rating is measured and\nfeedback is provided where software resiliency requirements are\nnot met.", + "full_title": "", + "hide_links": "", + "id": "R-16039", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Deployment Optimization", + "sections": [ + "Deployment Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16065": { + "description": "The xNF provider **MUST** provide configurable parameters\n(if unable to conform to YANG model) including xNF attributes/parameters\nand valid values, dynamic attributes and cross parameter dependencies\n(e.g., customer provisioning data).", + "full_title": "", + "hide_links": "", + "id": "R-16065", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Management via Ansible", + "sections": [ + "Configuration Management via Ansible", + "Resource Configuration", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16241": { + "description": "A VNF's internal network **MUST** have one subnet.\nA VNF's internal network **MAY** have more than one subnet.", + "full_title": "", + "hide_links": "", + "id": "R-16241", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16437": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::ServiceTemplate' Resource ID **MUST**\ncontain the '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-16437", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::ServiceTemplate", + "sections": [ + "OS::ContrailV2::ServiceTemplate", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16447": { + "description": "A VNF's <resource ID> **MUST** be unique across all\nHeat Orchestration Templates and all HEAT Orchestration Template\nNested YAML files that are used to create the VNF.", + "full_title": "", + "hide_links": "", + "id": "R-16447", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "resource ID", + "sections": [ + "resource ID", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16496": { + "description": "The VNF **MUST** enable instantiating only the functionality that\nis needed for the decomposed VNF (e.g., if transcoding is not needed it\nshould not be instantiated).", + "full_title": "", + "hide_links": "", + "id": "R-16496", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16560": { + "description": "The VNF **SHOULD** conduct a resiliency impact assessment for all\ninter/intra-connectivity points in the VNF to provide an overall resiliency\nrating for the VNF to be incorporated into the software design and\ndevelopment of the VNF.", + "full_title": "", + "hide_links": "", + "id": "R-16560", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Monitoring & Dashboard", + "sections": [ + "Monitoring & Dashboard", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16576": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vnf_name' is passed into a\nNested YAML file, the parameter name 'vnf_name' **MUST NOT** change.", + "full_title": "", + "hide_links": "", + "id": "R-16576", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vnf_name", + "sections": [ + "vnf_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16777": { + "description": "The xNF provider **MUST** provide a JSON file for each\nsupported action for the xNF. The JSON file must contain key value\npairs with all relevant values populated with sample data that illustrates\nits usage. The fields and their description are defined in Table B1\nin the Appendix.", + "full_title": "", + "hide_links": "", + "id": "R-16777", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Management via Ansible", + "sections": [ + "Configuration Management via Ansible", + "Resource Configuration", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16875": { + "description": "The xNF Package **MUST** include documentation which must include\na unique identification string for the specific xNF, a description of\nthe problem that caused the error, and steps or procedures to perform\nRoot Cause Analysis and resolve the issue.", + "full_title": "", + "hide_links": "", + "id": "R-16875", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-16968": { + "description": "A VNF's Heat Orchestration Templates **MUST NOT** include heat\nresources to create external networks.", + "full_title": "", + "hide_links": "", + "id": "R-16968", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-17334": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::SecurityGroup that is applicable to one {vm-type}\nand one external network Resource ID **SHOULD** use the naming convention\n\n * {vm-type}_{network-role}_security_group\n\nwhere\n\n * {vm-type} is the vm-type\n * {network-role} is the network-role", + "full_title": "", + "hide_links": "", + "id": "R-17334", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Neutron::SecurityGroup", + "sections": [ + "OS::Neutron::SecurityGroup", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-17528": { + "description": "A VNF's Heat Orchestration Template's first level Nested YAML file\n**MUST NOT** contain more than one ``OS::Nova::Server`` resource.\nA VNF's Heat Orchestration Template's second level Nested YAML file\n**MUST NOT** contain an ``OS::Nova::Server`` resource.", + "full_title": "", + "hide_links": "", + "id": "R-17528", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Nested Heat Template Requirements", + "sections": [ + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-18001": { + "description": "If the VNF's ports connected to a unique internal network\nand the port's IP addresses are statically assigned IP Addresses,\nthe IPv4 Addresses **MAY** be from different subnets and the\nIPv6 Addresses **MAY** be from different subnets.", + "full_title": "", + "hide_links": "", + "id": "R-18001", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Items to Note", + "sections": [ + "Items to Note", + "Introduction", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-18008": { + "description": "The VNF's Heat Orchestration Template's Resource 'OS::Neutron::Port'\nproperty 'network' parameter **MUST** be declared as type: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-18008", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: network", + "sections": [ + "Property: network", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-18202": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::Heat::MultipartMime' Resource ID **MAY** use the naming convention\n\n * {vm-type}_RMM\n\nwhere\n\n * {vm-type} is the vm-type\n * 'RMM' signifies that it is the Resource Multipart Mime", + "full_title": "", + "hide_links": "", + "id": "R-18202", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::Heat::MultipartMime", + "sections": [ + "OS::Heat::MultipartMime", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-18525": { + "description": "The xNF provider **MUST** provide a JSON file for each\nsupported action for the xNF. The JSON file must contain key value\npairs with all relevant values populated with sample data that illustrates\nits usage. The fields and their description are defined in Tables A1\nand A2 in the Appendix.\n\nNote: Chef support in ONAP is not currently available and planned for 4Q 2017.", + "full_title": "", + "hide_links": "", + "id": "R-18525", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Management via Chef", + "sections": [ + "Configuration Management via Chef", + "Resource Configuration", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-18683": { + "description": "If a VNF has one IPv4 OAM Management IP Address and the\nIP Address needs to be inventoried in ONAP's A&AI\ndatabase, an output parameter **MUST** be declared in only one of the\nVNF's Heat Orchestration Templates and the parameter **MUST** be named\n'oam_management_v4_address'.", + "full_title": "", + "hide_links": "", + "id": "R-18683", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OAM Management IP Addresses", + "sections": [ + "OAM Management IP Addresses", + "Predefined Output Parameters", + "ONAP Output Parameter Names", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-18725": { + "description": "The VNF **MUST** handle the restart of a single VNFC instance\nwithout requiring all VNFC instances to be restarted.", + "full_title": "", + "hide_links": "", + "id": "R-18725", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-18733": { + "description": "The xNF **MUST** implement the protocol operation:\n**discard-changes()** - Revert the candidate configuration\ndatastore to the running configuration.", + "full_title": "", + "hide_links": "", + "id": "R-18733", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-18864": { + "description": "The VNF **MUST NOT** use technologies that bypass virtualization\nlayers (such as SR-IOV) unless approved by the NCSP (e.g., if necessary\nto meet functional or performance requirements).", + "full_title": "", + "hide_links": "", + "id": "R-18864", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19082": { + "description": "The VNF **MUST NOT** run security testing tools and\nprograms, e.g., password cracker, port scanners, hacking tools\nin production, without authorization of the VNF system owner.", + "full_title": "", + "hide_links": "", + "id": "R-19082", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19219": { + "description": "The VNF **MUST** provide audit logs that include user ID, dates,\ntimes for log-on and log-off, and terminal location at minimum.", + "full_title": "", + "hide_links": "", + "id": "R-19219", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19366": { + "description": "The xNF **MUST** support ONAP Controller's **ConfigModify** command.", + "full_title": "", + "hide_links": "", + "id": "R-19366", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Commands", + "sections": [ + "Configuration Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19367": { + "description": "The VNF **MUST** monitor API invocation patterns to detect\nanomalous access patterns that may represent fraudulent access or\nother types of attacks, or integrate with tools that implement anomaly\nand abuse detection.", + "full_title": "", + "hide_links": "", + "id": "R-19367", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19624": { + "description": "The xNF **MUST** encode and serialize content delivered to\nONAP using JSON (RFC 7159) plain text format. High-volume data\nis to be encoded and serialized using `Avro <http://avro.apache.org/>`_,\nwhere the Avro [#7.4.1]_ data format are described using JSON.\n\nNote:\n\n - JSON plain text format is preferred for moderate volume data sets\n (option 1), as JSON has the advantage of having well-understood simple\n processing and being human-readable without additional decoding. Examples\n of moderate volume data sets include the fault alarms and performance\n alerts, heartbeat messages, measurements used for xNF scaling and syslogs.\n - Binary format using Avro is preferred for high volume data sets\n (option 2) such as mobility flow measurements and other high-volume\n streaming events (such as mobility signaling events or SIP signaling)\n or bulk data, as this will significantly reduce the volume of data\n to be transmitted. As of the date of this document, all events are\n reported using plain text JSON and REST.\n - Avro content is self-documented, using a JSON schema. The JSON schema is\n delivered along with the data content\n (http://avro.apache.org/docs/current/ ). This means the presence and\n position of data fields can be recognized automatically, as well as the\n data format, definition and other attributes. Avro content can be\n serialized as JSON tagged text or as binary. In binary format, the\n JSON schema is included as a separate data block, so the content is\n not tagged, further compressing the volume. For streaming data, Avro\n will read the schema when the stream is established and apply the\n schema to the received content.", + "full_title": "", + "hide_links": "", + "id": "R-19624", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "JSON", + "sections": [ + "JSON", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19756": { + "description": "If a VNF's Heat Orchestration Template\n'OS::ContrailV2::InterfaceRouteTable' resource\n'interface_route_table_routes' property\n'interface_route_table_routes_route' map property parameter\n'{vm-type}_{network-role}_route_prefixes'\n**MUST** be defined as type 'json'.", + "full_title": "", + "hide_links": "", + "id": "R-19756", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Interface Route Table Prefixes for Contrail InterfaceRoute Table", + "sections": [ + "Interface Route Table Prefixes for Contrail InterfaceRoute Table", + "Contrail Resource Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19768": { + "description": "The VNF **SHOULD** support L3 VPNs that enable segregation of\ntraffic by application (dropping packets not belonging to the VPN) (i.e.,\nAVPN, IPSec VPN for Internet routes).", + "full_title": "", + "hide_links": "", + "id": "R-19768", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19790": { + "description": "The VNF **MUST NOT** include authentication credentials\nin security audit logs, even if encrypted.", + "full_title": "", + "hide_links": "", + "id": "R-19790", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19804": { + "description": "The VNF **MUST** validate the CA signature on the certificate,\nensure that the date is within the validity period of the certificate,\ncheck the Certificate Revocation List (CRL), and recognize the identity\nrepresented by the certificate where PKI-based authentication is used.", + "full_title": "", + "hide_links": "", + "id": "R-19804", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-19922": { + "description": "The xNF **MUST** support ONAP Controller's **UpgradePrecheck** command.", + "full_title": "", + "hide_links": "", + "id": "R-19922", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "LifeCycle Management Related Commands", + "sections": [ + "LifeCycle Management Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20065": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::PortTuple' Resource ID **MUST**\ncontain the '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-20065", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::PortTuple", + "sections": [ + "OS::ContrailV2::PortTuple", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20204": { + "description": "The VNF Package **MUST** include VM requirements via a Heat\ntemplate that provides the necessary data for network connections,\ninterface connections, internal and external to VNF.", + "full_title": "", + "hide_links": "", + "id": "R-20204", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Compute, Network, and Storage Requirements", + "sections": [ + "Compute, Network, and Storage Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20308": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'environment_context' **MUST**\nbe declared as type: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-20308", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "environment_context", + "sections": [ + "environment_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20319": { + "description": "A VNF's Heat Orchestration Template's Resource 'OS::Heat::CloudConfig'\nResource ID **MAY** use the naming convention\n\n * {vm-type}_RCC\n\nwhere\n\n * {vm-type} is the vm-type\n * 'RCC' signifies that it is the Resource Cloud Config", + "full_title": "", + "hide_links": "", + "id": "R-20319", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::Heat::CloudConfig", + "sections": [ + "OS::Heat::CloudConfig", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20353": { + "description": "The xNF **MUST** implement both **:candidate** and\n**:writable-running** capabilities. When both **:candidate** and\n**:writable-running** are provided then two locks should be supported.", + "full_title": "", + "hide_links": "", + "id": "R-20353", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20453": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::Port that is attaching to an external network Resource ID\n**MUST** use the naming convention\n\n * {vm-type}_{vm-type_index}_{network-role}_port_{port-index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port is attached to\n * {port-index} is the instance of the the port on the vm-type\n attached to the network of {network-role}", + "full_title": "", + "hide_links": "", + "id": "R-20453", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Neutron::Port", + "sections": [ + "OS::Neutron::Port", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20547": { + "description": "When an ONAP Volume Module Output Parameter is declared as an input\nparameter in a base or an incremental module Heat Orchestration Template,\nparameter constraints **MUST NOT** be declared.", + "full_title": "", + "hide_links": "", + "id": "R-20547", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "ONAP Volume Module Output Parameters", + "sections": [ + "ONAP Volume Module Output Parameters", + "Output Parameters", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20741": { + "description": "The xNF **MUST** support ONAP Controller's **Configure** command.", + "full_title": "", + "hide_links": "", + "id": "R-20741", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Commands", + "sections": [ + "Configuration Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20856": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vnf_id' **MUST NOT** be\nenumerated in the Heat Orchestration Template's environment file.", + "full_title": "", + "hide_links": "", + "id": "R-20856", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vnf_id", + "sections": [ + "vnf_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20860": { + "description": "The VNF **MUST** be agnostic to the underlying infrastructure\n(such as hardware, host OS, Hypervisor), any requirements should be\nprovided as specification to be fulfilled by any hardware.", + "full_title": "", + "hide_links": "", + "id": "R-20860", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20912": { + "description": "The VNF **MUST** support alternative monitoring capabilities\nwhen VNFs do not expose data or control traffic or use proprietary and\noptimized protocols for inter VNF communication.", + "full_title": "", + "hide_links": "", + "id": "R-20912", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20947": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::InstanceIp' that is configuring an IPv4 Address\non a sub-interface port attached to a sub-interface network\nResource ID **MUST** use the naming convention\n\n * {vm-type}_{vm-type_index}_subint_{network-role}_vmi_{vmi_index}_IP_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port is attached to\n * {vmi_index} is the instance of the the virtual machine interface\n (e.g., port) on the vm-type\n attached to the network of {network-role}\n * 'IP' signifies that an IPv4 address is being configured\n * {index} is the index of the IPv4 address", + "full_title": "", + "hide_links": "", + "id": "R-20947", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::InstanceIp", + "sections": [ + "OS::ContrailV2::InstanceIp", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-20974": { + "description": "The VNF **MUST** deploy the base module first, prior to\nthe incremental modules.", + "full_title": "", + "hide_links": "", + "id": "R-20974", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-21210": { + "description": "The VNF **MUST** implement the following input validation\ncontrol: Validate that any input file has a correct and valid\nMultipurpose Internet Mail Extensions (MIME) type. Input files\nshould be tested for spoofed MIME types.", + "full_title": "", + "hide_links": "", + "id": "R-21210", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-21330": { + "description": "A VNF's Heat Orchestration Template's Resource property\nparameter that is associated with external network **MUST**\ninclude the '{network-role}' as part of the parameter name.", + "full_title": "", + "hide_links": "", + "id": "R-21330", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{network-role}", + "sections": [ + "{network-role}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-21511": { + "description": "A VNF's Heat Orchestration Template's use of '{network-role}'\nin all Resource IDs **MUST** be the same case.", + "full_title": "", + "hide_links": "", + "id": "R-21511", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{network-role}", + "sections": [ + "{network-role}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-21558": { + "description": "The VNF **SHOULD** use intelligent routing by having knowledge\nof multiple downstream/upstream endpoints that are exposed to it, to\nensure there is no dependency on external services (such as load balancers)\nto switch to alternate endpoints.", + "full_title": "", + "hide_links": "", + "id": "R-21558", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Intelligent Transaction Distribution & Management", + "sections": [ + "Intelligent Transaction Distribution & Management", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-21652": { + "description": "The VNF **MUST** implement the following input validation\ncontrol: Check the size (length) of all input. Do not permit an amount\nof input so great that it would cause the VNF to fail. Where the input\nmay be a file, the VNF API must enforce a size limit.", + "full_title": "", + "hide_links": "", + "id": "R-21652", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-21819": { + "description": "The VNF **MUST** support requests for information from law\nenforcement and government agencies.", + "full_title": "", + "hide_links": "", + "id": "R-21819", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22059": { + "description": "The VNF **MUST NOT** execute long running tasks (e.g., IO,\ndatabase, network operations, service calls) in a critical section\nof code, so as to minimize blocking of other operations and increase\nconcurrent throughput.", + "full_title": "", + "hide_links": "", + "id": "R-22059", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22286": { + "description": "The VNF **MUST** support Integration functionality via\nAPI/Syslog/SNMP to other functional modules in the network (e.g.,\nPCRF, PCEF) that enable dynamic security control by blocking the\nmalicious traffic or malicious end users.", + "full_title": "", + "hide_links": "", + "id": "R-22286", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22288": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property\n'subnet'/'subnet_id' parameter 'int\\_{network-role}_v6_subnet_id'\n**MUST NOT** be enumerated in the VNF's Heat Orchestration Template's\nEnvironment File.", + "full_title": "", + "hide_links": "", + "id": "R-22288", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: subnet_id", + "sections": [ + "Property: fixed_ips, Map Property: subnet_id", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22367": { + "description": "The VNF **MUST** support detection of malformed packets due to\nsoftware misconfiguration or software vulnerability.", + "full_title": "", + "hide_links": "", + "id": "R-22367", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22441": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_index' is passed\ninto a Nested YAML file, the parameter name 'vf\\_module\\_index'\n**MUST NOT** change.", + "full_title": "", + "hide_links": "", + "id": "R-22441", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vf_module_index", + "sections": [ + "vf_module_index", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22589": { + "description": "A VNF's Heat Orchestration Template parameter declaration\n**MAY** contain the attribute \"immutable:\".", + "full_title": "", + "hide_links": "", + "id": "R-22589", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "immutable", + "sections": [ + "immutable", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22608": { + "description": "When a VNF's Heat Orchestration Template's Base Module's output\nparameter is declared as an input parameter in an Incremental Module,\nthe parameter attribute 'constraints:' **MUST NOT** be declared.", + "full_title": "", + "hide_links": "", + "id": "R-22608", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "ONAP Base Module Output Parameters", + "sections": [ + "ONAP Base Module Output Parameters", + "Output Parameters", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22645": { + "description": "The VNF **SHOULD** use commercial algorithms only when there\nare no applicable governmental standards for specific cryptographic\nfunctions, e.g., public key cryptography, message digests.", + "full_title": "", + "hide_links": "", + "id": "R-22645", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22656": { + "description": "The VNF Heat Orchestration Template **MUST** have a\ncorresponding environment file for a Cinder Volume Module.", + "full_title": "", + "hide_links": "", + "id": "R-22656", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Support of Environment Files", + "sections": [ + "ONAP Support of Environment Files", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22680": { + "description": "The xNF Package **MUST** include documentation that describes\nany requirements for the monitoring component of tools for Network\nCloud automation and management to provide these records to components\nof the xNF.", + "full_title": "", + "hide_links": "", + "id": "R-22680", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22688": { + "description": "If a VNF's port is connected to an internal network and the\nport is created in an Incremental Module and the internal\nnetwork is created in the Base Module then the UUID of the\ninternal network **MUST** be exposed\nas a parameter in the 'outputs:' section of the Base Module and the port\nresource **MUST** use a 'get_param' to obtain the network UUID.", + "full_title": "", + "hide_links": "", + "id": "R-22688", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22700": { + "description": "The xNF **MUST** conform its YANG model to RFC 6470,\n\"NETCONF Base Notifications\".", + "full_title": "", + "hide_links": "", + "id": "R-22700", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22838": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'name' parameter **MUST NOT** be enumerated\nin the Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-22838", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: Name", + "sections": [ + "Property: Name", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22888": { + "description": "The xNF provider **MUST** provide documentation for the xNF\nPolicy Description to manage the xNF runtime lifecycle. The document\nmust include a description of how the policies (conditions and actions)\nare implemented in the xNF.", + "full_title": "", + "hide_links": "", + "id": "R-22888", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-22946": { + "description": "The xNF **SHOULD** conform its YANG model to RFC 6536,\n\"NETCONF Access Control Model\".", + "full_title": "", + "hide_links": "", + "id": "R-22946", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23035": { + "description": "The VNF **MUST** be designed to scale horizontally (more\ninstances of a VNF or VNFC) and not vertically (moving the existing\ninstances to larger VMs or increasing the resources within a VM)\nto achieve effective utilization of cloud resources.", + "full_title": "", + "hide_links": "", + "id": "R-23035", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23135": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API,\nauthenticate system to system communications where one system\naccesses the resources of another system, and must never conceal\nindividual accountability.", + "full_title": "", + "hide_links": "", + "id": "R-23135", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23311": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'availability_zone' parameter **MUST**\nbe declared as type: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-23311", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: availability_zone", + "sections": [ + "Property: availability_zone", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23475": { + "description": "VNFCs **SHOULD** be agnostic to the details of the Network Cloud\n(such as hardware, host OS, Hypervisor or container technology) and must run\non the Network Cloud with acknowledgement to the paradigm that the Network\nCloud will continue to rapidly evolve and the underlying components of\nthe platform will change regularly.", + "full_title": "", + "hide_links": "", + "id": "R-23475", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23503": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' is attaching to an external network, and an IPv6\naddress is assigned using the property 'fixed_ips' map property 'ip_address'\nand the parameter type is defined as a comma_delimited_list, the parameter\nname **MUST** follow the naming convention\n\n * '{vm-type}_{network-role}_v6_ips'\n\nwhere\n\n * '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n * '{network-role}' is the {network-role} of the external network", + "full_title": "", + "hide_links": "", + "id": "R-23503", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23664": { + "description": "A VNF's Heat Orchestration template **MUST** contain\nthe section \"resources:\".", + "full_title": "", + "hide_links": "", + "id": "R-23664", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "resources", + "sections": [ + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23740": { + "description": "The VNF **MUST** accommodate the security principle of\n\"least privilege\" during development, implementation and operation.\nThe importance of \"least privilege\" cannot be overstated and must be\nobserved in all aspects of VNF development and not limited to security.\nThis is applicable to all sections of this document.", + "full_title": "", + "hide_links": "", + "id": "R-23740", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23772": { + "description": "The VNF **MUST** validate input at all layers implementing VNF APIs.", + "full_title": "", + "hide_links": "", + "id": "R-23772", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23882": { + "description": "The VNF **SHOULD** be scanned using both network scanning\nand application scanning security tools on all code, including underlying\nOS and related configuration. Scan reports shall be provided. Remediation\nroadmaps shall be made available for any findings.", + "full_title": "", + "hide_links": "", + "id": "R-23882", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-23957": { + "description": "The VNF **MUST** include the field \"time\" in the Security alarms\n(where applicable and technically feasible).", + "full_title": "", + "hide_links": "", + "id": "R-23957", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-24269": { + "description": "The xNF **SHOULD** conform its YANG model to RFC 7407,\n\"A YANG Data Model for SNMP Configuration\", if Netconf used to\nconfigure SNMP engine.", + "full_title": "", + "hide_links": "", + "id": "R-24269", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-24359": { + "description": "The VNF **MUST** provide the capability of testing the validity\nof a digital certificate by validating the date the certificate is being\nused is within the validity period for the certificate.", + "full_title": "", + "hide_links": "", + "id": "R-24359", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-24825": { + "description": "The VNF **MUST** provide Context awareness data (device,\nlocation, time, etc.) and be able to integrate with threat detection system.", + "full_title": "", + "hide_links": "", + "id": "R-24825", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-24893": { + "description": "A VNF's Heat Orchestration template's Environment File's\n**MAY** contain the \"event_sinks:\" section.", + "full_title": "", + "hide_links": "", + "id": "R-24893", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Environment File Format", + "sections": [ + "Environment File Format", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-24997": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Nova::Keypair applies to one {vm-type} Resource ID **SHOULD**\nuse the naming convention\n\n * {vm-type}_keypair_{index}\n\nwhere\n\n * {network-role} is the network-role\n * {index} is the {index} of the keypair", + "full_title": "", + "hide_links": "", + "id": "R-24997", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Nova::Keypair", + "sections": [ + "OS::Nova::Keypair", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-25094": { + "description": "The VNF **MUST** perform data capture for security functions.", + "full_title": "", + "hide_links": "", + "id": "R-25094", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-25190": { + "description": "A VNF's Heat Orchestration Template's Resource 'OS::Cinder::Volume'\n**SHOULD NOT** declare the property 'availability_zone'.", + "full_title": "", + "hide_links": "", + "id": "R-25190", + "impacts": "", + "introduced": "", + "keyword": "SHOULD NOT", + "links": [], + "notes": "", + "section_name": "Optional Property availability_zone", + "sections": [ + "Optional Property availability_zone", + "Cinder Volumes", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-25238": { + "description": "The xNF PACKAGE **MUST** validated YANG code using the open\nsource pyang [#7.3.1]_ program using the following commands:\n\n.. code-block:: text\n\n $ pyang --verbose --strict <YANG-file-name(s)> $ echo $!", + "full_title": "", + "hide_links": "", + "id": "R-25238", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-25401": { + "description": "The VNF **MUST** use asymmetric keys of at least 2048 bits in length.", + "full_title": "", + "hide_links": "", + "id": "R-25401", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-25547": { + "description": "The VNF **MUST** log the field \"protocol\" in the security audit logs.", + "full_title": "", + "hide_links": "", + "id": "R-25547", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-25720": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::Net Resource ID **MUST** use the naming convention\n\n * int_{network-role}_network", + "full_title": "", + "hide_links": "", + "id": "R-25720", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Neutron::Net", + "sections": [ + "OS::Neutron::Net", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-25877": { + "description": "A VNF's Heat Orchestration Template's parameter\nname (i.e., <param name>) **MUST** contain only\nalphanumeric characters and underscores ('_').", + "full_title": "", + "hide_links": "", + "id": "R-25877", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "<param name>", + "sections": [ + "<param name>", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-25878": { + "description": "The VNF **MUST** use certificates issued from publicly\nrecognized Certificate Authorities (CA) for the authentication process\nwhere PKI-based authentication is used.", + "full_title": "", + "hide_links": "", + "id": "R-25878", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-26115": { + "description": "The xNF **MUST** follow the data model upgrade rules defined\nin [RFC6020] section 10. All deviations from section 10 rules shall\nbe handled by a built-in automatic upgrade mechanism.", + "full_title": "", + "hide_links": "", + "id": "R-26115", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-26124": { + "description": "If a VNF Heat Orchestration Template parameter\nrequires a default value, it **MUST** be enumerated in the environment file.", + "full_title": "", + "hide_links": "", + "id": "R-26124", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "default", + "sections": [ + "default", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-26351": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::Port that is attaching to an internal network Resource ID\n**MUST** use the naming convention\n\n * {vm-type}_{vm-type_index}_int_{network-role}_port_{port-index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port is attached to\n * {port-index} is the instance of the the port on the vm-type\n attached to the network of {network-role}", + "full_title": "", + "hide_links": "", + "id": "R-26351", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Neutron::Port", + "sections": [ + "OS::Neutron::Port", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-26371": { + "description": "The VNF **MUST** detect communication failure for inter VNFC\ninstance and intra/inter VNF and re-establish communication\nautomatically to maintain the VNF without manual intervention to\nprovide service continuity.", + "full_title": "", + "hide_links": "", + "id": "R-26371", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-26506": { + "description": "A VNF's Heat Orchestration Template's '{network-role}'\n**MUST** contain only alphanumeric characters and/or\nunderscores '_' and **MUST NOT** contain any of the following\nstrings: '_int' or 'int\\_' or '\\_int\\_'.", + "full_title": "", + "hide_links": "", + "id": "R-26506", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{network-role}", + "sections": [ + "{network-role}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-26508": { + "description": "The xNF **MUST** support a NETCONF server that can be mounted on\nOpenDaylight (client) and perform the operations of: modify, update,\nchange, rollback configurations using each configuration data element,\nquery each state (non-configuration) data element, execute each YANG\nRPC, and receive data through each notification statement.", + "full_title": "", + "hide_links": "", + "id": "R-26508", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-26567": { + "description": "The xNF Package **MUST** include a run list of\nroles/cookbooks/recipes, for each supported xNF action, that will\nperform the desired xNF action in its entirety as specified by ONAP\n(see Section 7.c, ONAP Controller APIs and Behavior, for list of xNF\nactions and requirements), when triggered by a chef-client run list\nin JSON file.", + "full_title": "", + "hide_links": "", + "id": "R-26567", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-26586": { + "description": "The VNF **SHOULD** support the ability to work with aliases\n(e.g., gateways, proxies) to protect and encapsulate resources.", + "full_title": "", + "hide_links": "", + "id": "R-26586", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-26881": { + "description": "The xNF provider **MUST** provide the binaries and images\nneeded to instantiate the xNF (xNF and VNFC images).", + "full_title": "", + "hide_links": "", + "id": "R-26881", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Compute, Network, and Storage Requirements", + "sections": [ + "Compute, Network, and Storage Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-27078": { + "description": "A VNF's Heat Orchestration template **MUST** contain\nthe section \"heat_template_version:\".", + "full_title": "", + "hide_links": "", + "id": "R-27078", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "heat_template_version", + "sections": [ + "heat_template_version", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-27310": { + "description": "The xNF Package **MUST** include all relevant Chef artifacts\n(roles/cookbooks/recipes) required to execute xNF actions requested by\nONAP for loading on appropriate Chef Server.", + "full_title": "", + "hide_links": "", + "id": "R-27310", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-27469": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::Port that is creating a *Reserve Port* with an IPv4 address\nResource ID **MUST** use the naming convention\n\n * reserve_port_{vm-type}_{network-role}_floating_ip_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {network-role} is the network-role of the network\n that the port is attached to\n * {index} is the instance of the IPv4 *Reserve Port*\n for the vm-type attached to the network of {network-role}", + "full_title": "", + "hide_links": "", + "id": "R-27469", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Neutron::Port", + "sections": [ + "OS::Neutron::Port", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-27511": { + "description": "The VNF provider **MUST** provide the ability to scale\nup a VNF provider supplied product during growth and scale down a\nVNF provider supplied product during decline without \"real-time\"\nrestrictions based upon VNF provider permissions.", + "full_title": "", + "hide_links": "", + "id": "R-27511", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Licensing Requirements", + "sections": [ + "Licensing Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-27711": { + "description": "The xNF provider **MUST** provide an XML file that contains a\nlist of xNF error codes, descriptions of the error, and possible\ncauses/corrective action.", + "full_title": "", + "hide_links": "", + "id": "R-27711", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-27818": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' is attaching to an internal network, and an IPv6 address\nis assigned using the property 'fixed_ips' map property 'ip_address' and\nthe parameter type is defined as a string, the parameter name **MUST** follow\nthe naming convention\n\n * '{vm-type}\\_int\\_{network-role}\\_v6\\_ip\\_{index}'\n\nwhere\n\n * '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n * '{network-role}' is the {network-role} of the internal network\n * the value for {index} must start at zero (0) and increment by one", + "full_title": "", + "hide_links": "", + "id": "R-27818", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-27970": { + "description": "When a VNF's Heat Orchestration Template's resource is associated\nwith more than one '{vm-type}' and/or more than one internal and/or\nexternal network, the Resource ID **MAY** contain the term 'shared'\nand/or **MAY** contain text that identifies the VNF.", + "full_title": "", + "hide_links": "", + "id": "R-27970", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Resource IDs", + "sections": [ + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-27995": { + "description": "The VNF **SHOULD** include control loop mechanisms to notify\nthe consumer of the VNF of their exceeding SLA thresholds so the consumer\nis able to control its load against the VNF.", + "full_title": "", + "hide_links": "", + "id": "R-27995", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Intelligent Transaction Distribution & Management", + "sections": [ + "Intelligent Transaction Distribution & Management", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-28168": { + "description": "The VNF **SHOULD** use an appropriately configured logging\nlevel that can be changed dynamically, so as to not cause performance\ndegradation of the VNF due to excessive logging.", + "full_title": "", + "hide_links": "", + "id": "R-28168", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Monitoring & Dashboard", + "sections": [ + "Monitoring & Dashboard", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-28189": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::InterfaceRouteTable' Resource ID **MAY**\nuse the naming convention\n\n * {network-role}_RIRT\n\nwhere\n\n * {network-role} is the network-role\n * 'RIRT' signifies that it is the Resource Interface Route Table", + "full_title": "", + "hide_links": "", + "id": "R-28189", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::InterfaceRouteTable", + "sections": [ + "OS::ContrailV2::InterfaceRouteTable", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-28222": { + "description": "If a VNF's Heat Orchestration Template\n'OS::ContrailV2::InterfaceRouteTable' resource\n'interface_route_table_routes' property\n'interface_route_table_routes_route' map property parameter name\n**MUST** follow the format\n\n * {vm-type}_{network-role}_route_prefixes", + "full_title": "", + "hide_links": "", + "id": "R-28222", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Interface Route Table Prefixes for Contrail InterfaceRoute Table", + "sections": [ + "Interface Route Table Prefixes for Contrail InterfaceRoute Table", + "Contrail Resource Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-28545": { + "description": "The xNF **MUST** conform its YANG model to RFC 6060,\n\"YANG - A Data Modeling Language for the Network Configuration\nProtocol (NETCONF)\".", + "full_title": "", + "hide_links": "", + "id": "R-28545", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-28756": { + "description": "The xNF **MUST** support **:partial-lock** and\n**:partial-unlock** capabilities, defined in RFC 5717. This\nallows multiple independent clients to each write to a different\npart of the <running> configuration at the same time.", + "full_title": "", + "hide_links": "", + "id": "R-28756", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-28795": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property 'ip_address'\nparameter '{vm-type}\\_int\\_{network-role}\\_ip\\_{index}' **MUST** be enumerated\nin the VNF's Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-28795", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-28980": { + "description": "A VNF's incremental module **MAY** be used for initial VNF\ndeployment only.", + "full_title": "", + "hide_links": "", + "id": "R-28980", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29301": { + "description": "The VNF **MUST** provide or support the Identity and Access\nManagement (IDAM) based threat detection data for Password Attacks.", + "full_title": "", + "hide_links": "", + "id": "R-29301", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29324": { + "description": "The xNF **SHOULD** implement the protocol operation:\n**copy-config(target, source) -** Copy the content of the\nconfiguration datastore source to the configuration datastore target.", + "full_title": "", + "hide_links": "", + "id": "R-29324", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29488": { + "description": "The xNF **MUST** implement the protocol operation:\n**get-config(source, filter)** - Retrieve a (filtered subset of\na) configuration from the configuration datastore source.", + "full_title": "", + "hide_links": "", + "id": "R-29488", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29495": { + "description": "The xNF **MUST** support locking if a common object is\nbeing manipulated by two simultaneous NETCONF configuration operations\non the same xNF within the context of the same writable running data\nstore (e.g., if an interface parameter is being configured then it\nshould be locked out for configuration by a simultaneous configuration\noperation on that same interface parameter).", + "full_title": "", + "hide_links": "", + "id": "R-29495", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29705": { + "description": "The VNF **MUST** restrict changing the criticality level of a\nsystem security alarm to administrator(s).", + "full_title": "", + "hide_links": "", + "id": "R-29705", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29751": { + "description": "A VNF's Heat Orchestration Template's Resource OS::Nova::Server\nResource ID **MUST** use the naming convention\n\n * {vm-type}_server_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {index} is the index", + "full_title": "", + "hide_links": "", + "id": "R-29751", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Nova::Server", + "sections": [ + "OS::Nova::Server", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29760": { + "description": "The VNFC **MUST** be installed on non-root file systems,\nunless software is specifically included with the operating system\ndistribution of the guest image.", + "full_title": "", + "hide_links": "", + "id": "R-29760", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29765": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' is attaching to an internal network, and an IPv6\naddress is assigned using the property 'fixed_ips' map property 'ip_address'\nand the parameter type is defined as a comma_delimited_list, the parameter\nname **MUST** follow the naming convention\n\n * '{vm-type}\\_int\\_{network-role}_v6_ips'\n\nwhere\n\n * '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n * '{network-role}' is the {network-role} of the internal network", + "full_title": "", + "hide_links": "", + "id": "R-29765", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29865": { + "description": "When a VNF connects to an external network, a network role,\nreferred to as the '{network-role}' **MUST** be assigned to the\nexternal network for use in the VNF's Heat Orchestration Template.", + "full_title": "", + "hide_links": "", + "id": "R-29865", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29872": { + "description": "The VNF's Heat Orchestration Template's Resource 'OS::Nova::Server'\nproperty 'network' parameter **MUST NOT** be enumerated in the Heat\nOrchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-29872", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: network", + "sections": [ + "Property: network", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-29977": { + "description": "The VNF **MUST** provide the capability of testing the validity\nof a digital certificate by validating the CA signature on the certificate.", + "full_title": "", + "hide_links": "", + "id": "R-29977", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-30005": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::SecurityGroup that is applicable to more than one\n{vm-type} and more than one network (internal and/or external)\nResource ID **MAY** use the naming convention\n\n * shared_security_group\n\nor\n\n * {vnf-type}_security_group\n\nwhere\n\n * {vnf-type} describes the VNF", + "full_title": "", + "hide_links": "", + "id": "R-30005", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::Neutron::SecurityGroup", + "sections": [ + "OS::Neutron::SecurityGroup", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-30278": { + "description": "The xNF provider **MUST** provide a Resource/Device YANG model\nas a foundation for creating the YANG model for configuration. This will\ninclude xNF attributes/parameters and valid values/attributes configurable\nby policy.", + "full_title": "", + "hide_links": "", + "id": "R-30278", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Management via NETCONF/YANG", + "sections": [ + "Configuration Management via NETCONF/YANG", + "Resource Configuration", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-30395": { + "description": "A VNF's Cinder Volume Module **MAY** utilize nested heat.", + "full_title": "", + "hide_links": "", + "id": "R-30395", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Nested Heat Orchestration Templates Overview", + "sections": [ + "Nested Heat Orchestration Templates Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-30650": { + "description": "The VNF **MUST** utilize cloud provided infrastructure and\nVNFs (e.g., virtualized Local Load Balancer) as part of the VNF so\nthat the cloud can manage and provide a consistent service resiliency\nand methods across all VNF's.", + "full_title": "", + "hide_links": "", + "id": "R-30650", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-30654": { + "description": "The xNF Package **MUST** have appropriate cookbooks that are\ndesigned to automatically 'rollback' to the original state in case of\nany errors for actions that change state of the xNF (e.g., configure).", + "full_title": "", + "hide_links": "", + "id": "R-30654", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-30753": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::NetworkIpam' Resource ID **MUST**\ncontain the '{network-role}'.", + "full_title": "", + "hide_links": "", + "id": "R-30753", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::NetworkIpam", + "sections": [ + "OS::ContrailV2::NetworkIpam", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-30804": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::Heat::MultipartMime' Resource ID **MUST** contain the '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-30804", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Heat::MultipartMime", + "sections": [ + "OS::Heat::MultipartMime", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-30932": { + "description": "The VNF **MUST** provide security audit logs including records\nof successful and rejected system access data and other resource access\nattempts.", + "full_title": "", + "hide_links": "", + "id": "R-30932", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-31141": { + "description": "A VNF Heat Orchestration Template's Cinder Volume Module's Environment\nFile **MUST** be named identical to the VNF Heat Orchestration Template's\nCinder Volume Module with .y[a]ml replaced with '.env'.", + "full_title": "", + "hide_links": "", + "id": "R-31141", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Cinder Volume Modules", + "sections": [ + "Cinder Volume Modules", + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-31412": { + "description": "The VNF **MUST** provide or support the Identity and Access\nManagement (IDAM) based threat detection data for XSS / CSRF.", + "full_title": "", + "hide_links": "", + "id": "R-31412", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-31614": { + "description": "The VNF **MUST** log the field \"event type\" in the security audit\nlogs.", + "full_title": "", + "hide_links": "", + "id": "R-31614", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-31751": { + "description": "The VNF **MUST** subject VNF provider access to privilege\nreconciliation tools to prevent access creep and ensure correct\nenforcement of access policies.", + "full_title": "", + "hide_links": "", + "id": "R-31751", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-31809": { + "description": "The xNF **MUST** support the HealthCheck RPC. The HealthCheck\nRPC executes a xNF Provider-defined xNF HealthCheck over the scope of\nthe entire xNF (e.g., if there are multiple VNFCs, then run a health check,\nas appropriate, for all VNFCs). It returns a 200 OK if the test completes.\nA JSON object is returned indicating state (healthy, unhealthy), scope\nidentifier, time-stamp and one or more blocks containing info and fault\ninformation. If the xNF is unable to run the HealthCheck, return a\nstandard http error code and message.", + "full_title": "", + "hide_links": "", + "id": "R-31809", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "REST APIs", + "sections": [ + "REST APIs", + "VNF REST APIs", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-31961": { + "description": "The VNF **MUST** support integrated DPI/monitoring functionality\nas part of VNFs (e.g., PGW, MME).", + "full_title": "", + "hide_links": "", + "id": "R-31961", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32025": { + "description": "When a VNF creates two or more internal networks, each internal\nnetwork **MUST** be assigned a unique '{network-role}' in the context of\nthe VNF for use in the VNF's Heat Orchestration Template.", + "full_title": "", + "hide_links": "", + "id": "R-32025", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32094": { + "description": "A VNF's Heat Orchestration Template parameter\ndeclaration **MAY** contain the attribute \"label:\".", + "full_title": "", + "hide_links": "", + "id": "R-32094", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "label", + "sections": [ + "label", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32217": { + "description": "The xNF **MUST** have routable FQDNs that are reachable via\nthe Ansible Server for the endpoints (VMs) of a xNF on which playbooks\nwill be executed. ONAP will initiate requests to the Ansible Server\nfor invocation of playbooks against these end points [#7.3.3]_.", + "full_title": "", + "hide_links": "", + "id": "R-32217", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Client Requirements", + "sections": [ + "Ansible Client Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32394": { + "description": "A VNF's Heat Orchestration Template's use of '{vm-type}'\nin all Resource property parameter names **MUST** be the same case.", + "full_title": "", + "hide_links": "", + "id": "R-32394", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{vm-type}", + "sections": [ + "{vm-type}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32408": { + "description": "If a VNF's Heat Orchestration Template property 'name'\nfor a non 'OS::Nova::Server' resource uses the intrinsic function\n'str_replace' in conjunction with the ONAP\nsupplied metadata parameter 'vnf_name' and does not create\na unique value, additional data **MUST** be used in the\n'str_replace' to create a unique value, such as 'OS::stack_name'\nand/or the 'OS::Heat::ResourceGroup' 'index'.", + "full_title": "", + "hide_links": "", + "id": "R-32408", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Property \u201cname\u201d", + "sections": [ + "Resource Property \u201cname\u201d", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32557": { + "description": "A VNF's Heat Orchestration Template parameter\ndeclaration **MAY** contain the attribute \"hidden:\".", + "full_title": "", + "hide_links": "", + "id": "R-32557", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "hidden", + "sections": [ + "hidden", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32636": { + "description": "The VNF **MUST** support API-based monitoring to take care of\nthe scenarios where the control interfaces are not exposed, or are\noptimized and proprietary in nature.", + "full_title": "", + "hide_links": "", + "id": "R-32636", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32641": { + "description": "The VNF **MUST** provide the capability to encrypt data on\nnon-volatile memory.", + "full_title": "", + "hide_links": "", + "id": "R-32641", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32695": { + "description": "The VNF **MUST** provide the ability to modify the number of\nretries, the time between retries and the behavior/action taken after\nthe retries have been exhausted for exception handling to allow the\nNCSP to control that behavior, where the interface and/or functional\nspecification allows for altering behaviour.", + "full_title": "", + "hide_links": "", + "id": "R-32695", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-32981": { + "description": "The xNF **MUST** support ONAP Controller's **ConfigBackup** command.", + "full_title": "", + "hide_links": "", + "id": "R-32981", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Commands", + "sections": [ + "Configuration Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-33132": { + "description": "A VNF's Heat Orchestration Template **MAY** be\n\n * a Base Module Heat Orchestration Template\n (also referred to as a Base Module)\n\n * an Incremental Module Heat Orchestration Template\n (referred to as an Incremental Module)\n\n * a Cinder Volume Module Heat Orchestration Template\n (referred to as Cinder Volume Module).", + "full_title": "", + "hide_links": "", + "id": "R-33132", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-33280": { + "description": "The xNF **MUST NOT** use any instance specific parameters\nin a playbook.", + "full_title": "", + "hide_links": "", + "id": "R-33280", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-33488": { + "description": "The VNF **MUST** protect against all denial of service\nattacks, both volumetric and non-volumetric, or integrate with external\ndenial of service protection tools.", + "full_title": "", + "hide_links": "", + "id": "R-33488", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-33694": { + "description": "The xNF Package **MUST** include documentation to when applicable,\nprovide calculators needed to convert raw data into appropriate reporting\nartifacts.", + "full_title": "", + "hide_links": "", + "id": "R-33694", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-33846": { + "description": "The VNF **MUST** install the NCSP required software on Guest OS\nimages when not using the NCSP provided Guest OS images. [#4.5.1]_", + "full_title": "", + "hide_links": "", + "id": "R-33846", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-33904": { + "description": "The xNF Package **MUST** include documentation for each KPI, provide\nlower and upper limits.", + "full_title": "", + "hide_links": "", + "id": "R-33904", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-33946": { + "description": "The xNF **MUST** conform to the NETCONF RFC 4741,\n\"NETCONF Configuration Protocol\".", + "full_title": "", + "hide_links": "", + "id": "R-33946", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-33955": { + "description": "The xNF **SHOULD** conform its YANG model to RFC 6991,\n\"Common YANG Data Types\".", + "full_title": "", + "hide_links": "", + "id": "R-33955", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-33981": { + "description": "The VNF **SHOULD** interoperate with various access control\nmechanisms for the Network Cloud execution environment (e.g.,\nHypervisors, containers).", + "full_title": "", + "hide_links": "", + "id": "R-33981", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-34037": { + "description": "The VNF's Heat Orchestration Template's resource 'OS::Neutron::Port'\nproperty 'fixed_ips' map property 'ip_address' parameter **MUST**\nbe declared as either type 'string' or type 'comma_delimited_list'.", + "full_title": "", + "hide_links": "", + "id": "R-34037", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-34055": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'workload_context' **MUST NOT**\nhave parameter contraints defined.", + "full_title": "", + "hide_links": "", + "id": "R-34055", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "workload_context", + "sections": [ + "workload_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-34484": { + "description": "The VNF **SHOULD** create a single component VNF for VNFCs\nthat can be used by other VNFs.", + "full_title": "", + "hide_links": "", + "id": "R-34484", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-34552": { + "description": "The VNF **MUST** provide or support the Identity and Access\nManagement (IDAM) based threat detection data for OWASP Top 10.", + "full_title": "", + "hide_links": "", + "id": "R-34552", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-34660": { + "description": "The xNF **MUST** use the RESTCONF/NETCONF framework used by\nthe ONAP configuration subsystem for synchronous communication.", + "full_title": "", + "hide_links": "", + "id": "R-34660", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Asynchronous and Synchronous Data Delivery", + "sections": [ + "Asynchronous and Synchronous Data Delivery", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-34726": { + "description": "If a VNF's port is connected to an internal network and the port\nis created in the same Heat Orchestration Template as the internal network,\nthen the port resource **MUST** use a 'get_resource' to obtain\nthe network UUID.", + "full_title": "", + "hide_links": "", + "id": "R-34726", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-34957": { + "description": "The VNF **MUST** provide a method of metrics gathering for each\nlayer's performance to identify/document variances in the allocations so\nthey can be addressed.", + "full_title": "", + "hide_links": "", + "id": "R-34957", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Monitoring & Dashboard", + "sections": [ + "Monitoring & Dashboard", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35144": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, comply\nwith the NCSP's credential management policy.", + "full_title": "", + "hide_links": "", + "id": "R-35144", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35291": { + "description": "The VNF **MUST** support the ability to failover a VNFC\nautomatically to other geographically redundant sites if not\ndeployed active-active to increase the overall resiliency of the VNF.", + "full_title": "", + "hide_links": "", + "id": "R-35291", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "All Layer Redundancy", + "sections": [ + "All Layer Redundancy", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35401": { + "description": "The xNF **MUST** support SSH and allow SSH access by the\nAnsible server for the endpoint VM(s) and comply with the Network\nCloud Service Provider guidelines for authentication and access.", + "full_title": "", + "hide_links": "", + "id": "R-35401", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Client Requirements", + "sections": [ + "Ansible Client Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35414": { + "description": "A VNF Heat Orchestration's template **MUST**\ncontain the section \"parameters:\".", + "full_title": "", + "hide_links": "", + "id": "R-35414", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "parameters", + "sections": [ + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35532": { + "description": "The VNF **SHOULD** release and clear all shared assets (memory,\ndatabase operations, connections, locks, etc.) as soon as possible,\nespecially before long running sync and asynchronous operations, so as\nto not prevent use of these assets by other entities.", + "full_title": "", + "hide_links": "", + "id": "R-35532", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35666": { + "description": "If a VNF has an internal network, the VNF Heat Orchestration\nTemplate **MUST** include the heat resources to create the internal network.", + "full_title": "", + "hide_links": "", + "id": "R-35666", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35727": { + "description": "The VNF Heat Orchestration Template **MUST** have a\ncorresponding environment file for an Incremental module.", + "full_title": "", + "hide_links": "", + "id": "R-35727", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Support of Environment Files", + "sections": [ + "ONAP Support of Environment Files", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35735": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' is attaching to an external network,\nand an IPv6 Virtual IP (VIP) address is assigned via ONAP automation\nusing the property 'allowed_address_pairs' map property 'ip_address',\nthe parameter name **MUST** follow the naming convention\n\n * '{vm-type}_{network-role}_v6_floating_ip'\n\nwhere\n\n * '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n * '{network-role}' is the {network-role} of the external network\n\nAnd the parameter **MUST** be declared as type 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-35735", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35851": { + "description": "The xNF Package **MUST** include xNF topology that describes\nbasic network and application connectivity internal and external to the\nxNF including Link type, KPIs, Bandwidth, latency, jitter, QoS (if\napplicable) for each interface.", + "full_title": "", + "hide_links": "", + "id": "R-35851", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Compute, Network, and Storage Requirements", + "sections": [ + "Compute, Network, and Storage Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-35960": { + "description": "The xNF Package **MUST** include documentation which must include\nall events, severity level (e.g., informational, warning, error) and\ndescriptions including causes/fixes if applicable for the event.", + "full_title": "", + "hide_links": "", + "id": "R-35960", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-36280": { + "description": "The xNF provider **MUST** provide documentation describing\nxNF Functional Capabilities that are utilized to operationalize the\nxNF and compose complex services.", + "full_title": "", + "hide_links": "", + "id": "R-36280", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Description", + "sections": [ + "Resource Description", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-36542": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vnf\\_name' **MUST NOT** be\nenumerated in the Heat Orchestration Template's environment file.", + "full_title": "", + "hide_links": "", + "id": "R-36542", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vnf_name", + "sections": [ + "vnf_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-36582": { + "description": "A VNF's Base Module **MAY** utilize nested heat.", + "full_title": "", + "hide_links": "", + "id": "R-36582", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Nested Heat Orchestration Templates Overview", + "sections": [ + "Nested Heat Orchestration Templates Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-36687": { + "description": "A VNF's Heat Orchestration Template's '{vm-type}' case in\nResource property parameter names **SHOULD** match the case of\n'{vm-type}' in Resource IDs and vice versa.", + "full_title": "", + "hide_links": "", + "id": "R-36687", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "{vm-type}", + "sections": [ + "{vm-type}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-36772": { + "description": "A VNF's Heat Orchestration Template's parameter\n**MUST** include the attribute \"type:\".", + "full_title": "", + "hide_links": "", + "id": "R-36772", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "type", + "sections": [ + "type", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-36792": { + "description": "The VNF **MUST** automatically retry/resubmit failed requests\nmade by the software to its downstream system to increase the success rate.", + "full_title": "", + "hide_links": "", + "id": "R-36792", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-36843": { + "description": "The VNF **MUST** support the ability of the VNFC to be deployable\nin multi-zoned cloud sites to allow for site support in the event of cloud\nzone failure or upgrades.", + "full_title": "", + "hide_links": "", + "id": "R-36843", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "All Layer Redundancy", + "sections": [ + "All Layer Redundancy", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-36982": { + "description": "A VNF's Heat Orchestration template **MAY**\ncontain the \"outputs:\" section.", + "full_title": "", + "hide_links": "", + "id": "R-36982", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "outputs", + "sections": [ + "outputs", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-37028": { + "description": "The VNF **MUST** be composed of one \"base\" module.", + "full_title": "", + "hide_links": "", + "id": "R-37028", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-37039": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_index' **MUST NOT**\nbe enumerated in the Heat Orchestration Template's environment file.", + "full_title": "", + "hide_links": "", + "id": "R-37039", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vf_module_index", + "sections": [ + "vf_module_index", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-37437": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource **MUST** contain the metadata map value parameter 'vnf_id'.", + "full_title": "", + "hide_links": "", + "id": "R-37437", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vnf_id", + "sections": [ + "vnf_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-37608": { + "description": "The VNF **MUST** provide a mechanism to restrict access based\non the attributes of the VNF and the attributes of the subject.", + "full_title": "", + "hide_links": "", + "id": "R-37608", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-37692": { + "description": "The VNFC **MUST** provide API versioning to allow for\nindependent upgrades of VNFC.", + "full_title": "", + "hide_links": "", + "id": "R-37692", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-37929": { + "description": "The xNF **MUST** accept all necessary instance specific\ndata from the environment or node object attributes for the xNF\nin roles/cookbooks/recipes invoked for a xNF action.", + "full_title": "", + "hide_links": "", + "id": "R-37929", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-38001": { + "description": "The VNF **MUST** support ONAP Controller's **Rebuild** command.", + "full_title": "", + "hide_links": "", + "id": "R-38001", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Virtual Function - Container Recovery Requirements", + "sections": [ + "Virtual Function - Container Recovery Requirements", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-38236": { + "description": "The VNF's Heat Orchestration Template's resource\n'OS::Neutron::Port' property 'fixed_ips' map property\n'subnet'/'subnet_id' parameter **MUST** be declared type 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-38236", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: subnet_id", + "sections": [ + "Property: fixed_ips, Map Property: subnet_id", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-38474": { + "description": "The VNF **MUST** have a corresponding environment file for a Base Module.", + "full_title": "", + "hide_links": "", + "id": "R-38474", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-39067": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_name' **MUST**\nbe declared as type: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-39067", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vf_module_name", + "sections": [ + "vf_module_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-39342": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, comply\nwith \"password changes (includes default passwords)\" policy. Products\nwill support password aging, syntax and other credential management\npractices on a configurable basis.", + "full_title": "", + "hide_links": "", + "id": "R-39342", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-39349": { + "description": "A VNF Heat Orchestration Template **MUST NOT** be designed to\nutilize the OpenStack 'heat stack-update' command for scaling\n(growth/de-growth).", + "full_title": "", + "hide_links": "", + "id": "R-39349", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Support of heat stack update", + "sections": [ + "Support of heat stack update", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-39402": { + "description": "A VNF's Heat Orchestration Template **MUST**\ncontain the section \"description:\".", + "full_title": "", + "hide_links": "", + "id": "R-39402", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "description", + "sections": [ + "description", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-39562": { + "description": "The VNF **MUST** disable unnecessary or vulnerable cgi-bin programs.", + "full_title": "", + "hide_links": "", + "id": "R-39562", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-39604": { + "description": "The VNF **MUST** provide the capability of testing the\nvalidity of a digital certificate by checking the Certificate Revocation\nList (CRL) for the certificates of that type to ensure that the\ncertificate has not been revoked.", + "full_title": "", + "hide_links": "", + "id": "R-39604", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-39650": { + "description": "The VNF **SHOULD** provide the ability to test incremental\ngrowth of the VNF.", + "full_title": "", + "hide_links": "", + "id": "R-39650", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-39841": { + "description": "The VNF's Heat Orchestration Template's Resource 'OS::Neutron::Port'\nproperty 'fixed_ips' map property 'ip_address' parameter\n'{vm-type}_{network-role}\\_ip\\_{index}' **MUST NOT** be enumerated in the\nVNF's Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-39841", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-40293": { + "description": "The xNF **MUST** make available playbooks that conform\nto the ONAP requirement.", + "full_title": "", + "hide_links": "", + "id": "R-40293", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-40499": { + "description": "Each VNF's Heat Orchestration Template's '{vm-type}' **MUST**\nhave a unique parameter name for the 'OS::Nova::Server' property\n'flavor' even if more than one {vm-type} shares the same flavor.", + "full_title": "", + "hide_links": "", + "id": "R-40499", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: flavor", + "sections": [ + "Property: flavor", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-40518": { + "description": "A VNF's Heat Orchestration Template's parameter defined as\ntype \"string\" **MAY** have a parameter constraint defined.", + "full_title": "", + "hide_links": "", + "id": "R-40518", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "constraints", + "sections": [ + "constraints", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-40521": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, support\nuse of common third party authentication and authorization tools such\nas TACACS+, RADIUS.", + "full_title": "", + "hide_links": "", + "id": "R-40521", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-40551": { + "description": "A VNF's Heat Orchestration Template's Nested YAML files\n**MAY** contain the section \"resources:\".", + "full_title": "", + "hide_links": "", + "id": "R-40551", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "resources", + "sections": [ + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-40813": { + "description": "The VNF **SHOULD** support the use of virtual trusted platform\nmodule, hypervisor security testing and standards scanning tools.", + "full_title": "", + "hide_links": "", + "id": "R-40813", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-40827": { + "description": "The xNF provider **MUST** enumerate all of the open\nsource licenses their xNF(s) incorporate.", + "full_title": "", + "hide_links": "", + "id": "R-40827", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Licensing Requirements", + "sections": [ + "Licensing Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-40899": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'name' parameter is defined as a 'string',\na parameter **MUST** be declared for each 'OS::Nova::Server' resource\nassociated with the '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-40899", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: Name", + "sections": [ + "Property: Name", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-40971": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' is attaching to an external network, and an IPv4\naddress is assigned using the property 'fixed_ips' map property\n'ip_address' and the parameter type is defined\nas a string, the parameter name **MUST** follow the naming\nconvention\n - '{vm-type}_{network-role}\\_ip\\_{index}'\n\nwhere\n\n - '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n - '{network-role}' is the {network-role} of the external network\n - the value for {index} must start at zero (0) and increment by one", + "full_title": "", + "hide_links": "", + "id": "R-40971", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41159": { + "description": "The VNF **MUST** deliver any and all functionality from any\nVNFC in the pool (where pooling is the most suitable solution). The\nVNFC pool member should be transparent to the client. Upstream and\ndownstream clients should only recognize the function being performed,\nnot the member performing it.", + "full_title": "", + "hide_links": "", + "id": "R-41159", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41215": { + "description": "The VNF **MAY** have zero to many \"incremental\" modules.", + "full_title": "", + "hide_links": "", + "id": "R-41215", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "VNF Modularity" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41252": { + "description": "The VNF **MUST** support the capability of online storage of\nsecurity audit logs.", + "full_title": "", + "hide_links": "", + "id": "R-41252", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41430": { + "description": "The xNF **MUST** support ONAP Controller's **HealthCheck** command.", + "full_title": "", + "hide_links": "", + "id": "R-41430", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "HealthCheck and Failure Related Commands", + "sections": [ + "HealthCheck and Failure Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41492": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' is attaching to an external network,\nand an IPv4 Virtual IP (VIP) address is assigned via ONAP automation\nusing the property 'allowed_address_pairs' map property 'ip_address' and\nthe parameter name **MUST** follow the naming convention\n\n * '{vm-type}_{network-role}_floating_ip'\n\nwhere\n\n * '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n * '{network-role}' is the {network-role} of the external network\n\nAnd the parameter **MUST** be declared as type 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-41492", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41825": { + "description": "The VNF **MUST** activate security alarms automatically when\nthe following event is detected: configurable number of consecutive\nunsuccessful login attempts.", + "full_title": "", + "hide_links": "", + "id": "R-41825", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41829": { + "description": "The xNF **MUST** be able to specify the granularity of the\nlock via a restricted or full XPath expression.", + "full_title": "", + "hide_links": "", + "id": "R-41829", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41888": { + "description": "A VNF's Heat Orchestration Template intrinsic function\n'get\\_file' **MUST NOT** utilize URL-based file retrieval.", + "full_title": "", + "hide_links": "", + "id": "R-41888", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Heat Files Support (get_file)", + "sections": [ + "Heat Files Support (get_file)", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41956": { + "description": "If a VNF requires ONAP to assign a Virtual IP (VIP) Address to\nports connected an external network, the port\n**MUST NOT** have more than one IPv6 VIP address.", + "full_title": "", + "hide_links": "", + "id": "R-41956", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-41994": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, comply\nwith \"No Self-Signed Certificates\" policy. Self-signed certificates\nmust be used for encryption only, using specified and approved\nencryption protocols such as TLS 1.2 or higher or equivalent security\nprotocols such as IPSec, AES.", + "full_title": "", + "hide_links": "", + "id": "R-41994", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-42018": { + "description": "The xNF Package **MUST** include documentation which must include\nall events (fault, measurement for xNF Scaling, Syslogs, State Change\nand Mobile Flow), that need to be collected at each VM, VNFC (defined in `VNF Guidelines <https://onap.readthedocs.io/en/latest/submodules/vnfrqts/guidelines.git/docs/vnf_guidelines/vnf_guidelines.html>`__ ) and for the overall xNF.", + "full_title": "", + "hide_links": "", + "id": "R-42018", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-42140": { + "description": "The xNF **MUST** respond to data requests from ONAP as soon\nas those requests are received, as a synchronous response.", + "full_title": "", + "hide_links": "", + "id": "R-42140", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Asynchronous and Synchronous Data Delivery", + "sections": [ + "Asynchronous and Synchronous Data Delivery", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-42207": { + "description": "The VNF **MUST** design resiliency into a VNF such that the\nresiliency deployment model (e.g., active-active) can be chosen at\nrun-time.", + "full_title": "", + "hide_links": "", + "id": "R-42207", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "All Layer Redundancy", + "sections": [ + "All Layer Redundancy", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-42366": { + "description": "The xNF **MUST** support secure connections and transports such as\nTransport Layer Security (TLS) protocol\n[`RFC5246 <https://tools.ietf.org/html/rfc5246>`_] and should adhere to\nthe best current practices outlined in\n`RFC7525 <https://tools.ietf.org/html/rfc7525>`_.", + "full_title": "", + "hide_links": "", + "id": "R-42366", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Security", + "sections": [ + "Security", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-42681": { + "description": "The VNF **MUST** use the NCSP's IDAM API or comply with\nthe requirements if not using the NCSP's IDAM API, for identification,\nauthentication and access control of OA&M and other system level\nfunctions.", + "full_title": "", + "hide_links": "", + "id": "R-42681", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-42685": { + "description": "A VNF's Heat Orchestration template's Environment File's\n**MAY** contain the \"parameter_merge_strategies:\" section.", + "full_title": "", + "hide_links": "", + "id": "R-42685", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Environment File Format", + "sections": [ + "Environment File Format", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-42874": { + "description": "The VNF **MUST** comply with Least Privilege (no more\nprivilege than required to perform job functions) when persons\nor non-person entities access VNFs.", + "full_title": "", + "hide_links": "", + "id": "R-42874", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-43253": { + "description": "The xNF **MUST** use playbooks designed to allow Ansible\nServer to infer failure or success based on the \"PLAY_RECAP\" capability.\n\nNote: There are cases where playbooks need to interpret results\nof a task and then determine success or failure and return result\naccordingly (failure for failed tasks).", + "full_title": "", + "hide_links": "", + "id": "R-43253", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-43327": { + "description": "The xNF **SHOULD** use `Modeling JSON text with YANG\n<https://tools.ietf.org/html/rfc7951>`_, If YANG models need to be\ntranslated to and from JSON{RFC7951]. YANG configuration and content can\nbe represented via JSON, consistent with Avro, as described in \"Encoding\nand Serialization\" section.", + "full_title": "", + "hide_links": "", + "id": "R-43327", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Asynchronous and Synchronous Data Delivery", + "sections": [ + "Asynchronous and Synchronous Data Delivery", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-43332": { + "description": "The VNF **MUST** activate security alarms automatically when\nthe following event is detected: successful modification of critical\nsystem or application files.", + "full_title": "", + "hide_links": "", + "id": "R-43332", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-43353": { + "description": "The xNF **MUST** return control from Ansible Playbooks only\nafter tasks are fully complete, signaling that the playbook completed\nall tasks. When starting services, return control only after all services\nare up. This is critical for workflows where the next steps are dependent\non prior tasks being fully completed.", + "full_title": "", + "hide_links": "", + "id": "R-43353", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-43413": { + "description": "A VNF **MUST** utilize a modular Heat Orchestration Template\ndesign to support scaling (growth/de-growth).", + "full_title": "", + "hide_links": "", + "id": "R-43413", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Support of heat stack update", + "sections": [ + "Support of heat stack update", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-43740": { + "description": "A VNF's Heat Orchestration Template's Resource\n**MAY** declare the attribute \"deletion_policy:\".", + "full_title": "", + "hide_links": "", + "id": "R-43740", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "deletion_policy", + "sections": [ + "deletion_policy", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-43884": { + "description": "The VNF **MUST** integrate with external authentication\nand authorization services (e.g., IDAM).", + "full_title": "", + "hide_links": "", + "id": "R-43884", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-43958": { + "description": "The xNF Package **MUST** include documentation describing\nthe tests that were conducted by the xNF providor and the test results.", + "full_title": "", + "hide_links": "", + "id": "R-43958", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Testing", + "sections": [ + "Testing", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44001": { + "description": "A VNF's Heat Orchestration Template parameter\ndeclaration **MUST** contain the attribute \"description\".", + "full_title": "", + "hide_links": "", + "id": "R-44001", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "description", + "sections": [ + "description", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44013": { + "description": "The xNF **MUST** populate an attribute, defined as node\n['PushJobOutput'] with the desired output on all nodes in the push job\nthat execute chef-client run if the xNF action requires the output of a\nchef-client run be made available (e.g., get running configuration).", + "full_title": "", + "hide_links": "", + "id": "R-44013", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44032": { + "description": "The VNF **MUST** provide or support the Identity and Access\nManagement (IDAM) based threat detection data for Man in the Middle (MITM).", + "full_title": "", + "hide_links": "", + "id": "R-44032", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44125": { + "description": "The xNF provider **MUST** agree to the process that can\nbe met by Service Provider reporting infrastructure. The Contract\nshall define the reporting process and the available reporting tools.", + "full_title": "", + "hide_links": "", + "id": "R-44125", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Licensing Requirements", + "sections": [ + "Licensing Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44271": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'name' parameter value **SHOULD NOT**\ncontain special characters since the Contrail GUI has a limitation\ndisplaying special characters.", + "full_title": "", + "hide_links": "", + "id": "R-44271", + "impacts": "", + "introduced": "", + "keyword": "SHOULD NOT", + "links": [], + "notes": "", + "section_name": "Contrail Issue with Values for OS::Nova::Server Property Name", + "sections": [ + "Contrail Issue with Values for OS::Nova::Server Property Name", + "Property: Name", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44281": { + "description": "The xNF **MUST** implement the protocol operation:\n**edit-config(target, default-operation, test-option, error-option,\nconfig)** - Edit the target configuration datastore by merging,\nreplacing, creating, or deleting new config elements.", + "full_title": "", + "hide_links": "", + "id": "R-44281", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44290": { + "description": "The xNF **MUST** control access to ONAP and to xNFs, and creation\nof connections, through secure credentials, log-on and exchange mechanisms.", + "full_title": "", + "hide_links": "", + "id": "R-44290", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Security", + "sections": [ + "Security", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44318": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vnf\\_name' **MUST NOT** have\nparameter contraints defined.", + "full_title": "", + "hide_links": "", + "id": "R-44318", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vnf_name", + "sections": [ + "vnf_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44491": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vnf_id' is passed into a\nNested YAML file, the parameter name 'vnf_id' **MUST NOT** change.", + "full_title": "", + "hide_links": "", + "id": "R-44491", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vnf_id", + "sections": [ + "vnf_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44569": { + "description": "The xNF provider **MUST NOT** require additional\ninfrastructure such as a xNF provider license server for xNF provider\nfunctions and metrics.", + "full_title": "", + "hide_links": "", + "id": "R-44569", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Licensing Requirements", + "sections": [ + "Licensing Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44723": { + "description": "The VNF **MUST** use symmetric keys of at least 112 bits in length.", + "full_title": "", + "hide_links": "", + "id": "R-44723", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-44896": { + "description": "The VNF Package **MUST** include VM requirements via a Heat\ntemplate that provides the necessary data for high availability\nredundancy model.", + "full_title": "", + "hide_links": "", + "id": "R-44896", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Compute, Network, and Storage Requirements", + "sections": [ + "Compute, Network, and Storage Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-45188": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'flavor' parameter name **MUST** follow the\nnaming convention '{vm-type}_flavor_name'.", + "full_title": "", + "hide_links": "", + "id": "R-45188", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: flavor", + "sections": [ + "Property: flavor", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-45496": { + "description": "The VNF **MUST** host connectors for access to the OS (Operating System) layer.", + "full_title": "", + "hide_links": "", + "id": "R-45496", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-45602": { + "description": "If a VNF's Port is attached to a network (internal or external)\nand the port's IP addresses are Cloud Assigned by OpenStack's DHCP\nService, the 'OS::Neutron::Port' Resource's\n\n * property 'fixed_ips' map property 'ip_address' **MUST NOT** be used\n * property 'fixed_ips' map property 'subnet'/'subnet_id' **MAY** be used", + "full_title": "", + "hide_links": "", + "id": "R-45602", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Items to Note", + "sections": [ + "Items to Note", + "Introduction", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-45856": { + "description": "The xNF **MUST** support ONAP Controller's **UpgradePostCheck** command.", + "full_title": "", + "hide_links": "", + "id": "R-45856", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "LifeCycle Management Related Commands", + "sections": [ + "LifeCycle Management Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46096": { + "description": "A VNF's Heat Orchestration template's Environment File's\n**MAY** contain the \"encrypted_parameters:\" section.", + "full_title": "", + "hide_links": "", + "id": "R-46096", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Environment File Format", + "sections": [ + "Environment File Format", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46119": { + "description": "A VNF's Heat Orchestration Template's Resource OS::Heat::CinderVolume\n**MAY** be defined in a Base Module.", + "full_title": "", + "hide_links": "", + "id": "R-46119", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46128": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::InstanceIp' that is configuring an\nIPv6 Address on a port attached to an external network\nResource ID **MUST** use the naming convention\n\n * {vm-type}_{vm-type_index}_{network-role}_vmi_{vmi_index}_v6_IP_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port is attached to\n * {vmi_index} is the instance of the the virtual machine interface\n (e.g., port) on the vm-type\n attached to the network of {network-role}\n * 'v6_IP' signifies that an IPv6 address is being configured\n * {index} is the index of the IPv6 address", + "full_title": "", + "hide_links": "", + "id": "R-46128", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::InstanceIp", + "sections": [ + "OS::ContrailV2::InstanceIp", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46290": { + "description": "The xNF **MUST** respond to an ONAP request to deliver granular\ndata on device or subsystem status or performance, referencing the YANG\nconfiguration model for the xNF by returning the requested data elements.", + "full_title": "", + "hide_links": "", + "id": "R-46290", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Asynchronous and Synchronous Data Delivery", + "sections": [ + "Asynchronous and Synchronous Data Delivery", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46461": { + "description": "A VNF's port connected to an internal network **MUST NOT** connect\nthe port to VMs in another VNF and/or an external gateway and/or\nexternal router.", + "full_title": "", + "hide_links": "", + "id": "R-46461", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46567": { + "description": "The xNF Package **MUST** include configuration scripts\nfor boot sequence and configuration.", + "full_title": "", + "hide_links": "", + "id": "R-46567", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Management via Ansible", + "sections": [ + "Configuration Management via Ansible", + "Resource Configuration", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46823": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vnf_name' **MUST** be\neither\n\n - enumerated in the VNF's Heat Orchestration\n Template's environment file.\n\n - hard coded in the VNF's Heat Orchestration\n Template's OS::Nova::Resource metadata property.", + "full_title": "", + "hide_links": "", + "id": "R-46823", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vm_role", + "sections": [ + "vm_role", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46839": { + "description": "A VNF's Heat Orchestration Template's use of\n'{vm-type}' in all Resource IDs **MUST** be the same case.", + "full_title": "", + "hide_links": "", + "id": "R-46839", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{vm-type}", + "sections": [ + "{vm-type}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46908": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, comply\nwith \"password complexity\" policy. When passwords are used, they shall\nbe complex and shall at least meet the following password construction\nrequirements: (1) be a minimum configurable number of characters in\nlength, (2) include 3 of the 4 following types of characters:\nupper-case alphabetic, lower-case alphabetic, numeric, and special,\n(3) not be the same as the UserID with which they are associated or\nother common strings as specified by the environment, (4) not contain\nrepeating or sequential characters or numbers, (5) not to use special\ncharacters that may have command functions, and (6) new passwords must\nnot contain sequences of three or more characters from the previous\npassword.", + "full_title": "", + "hide_links": "", + "id": "R-46908", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46960": { + "description": "NCSPs **MAY** operate a limited set of Guest OS and CPU\narchitectures and families, virtual machines, etc.", + "full_title": "", + "hide_links": "", + "id": "R-46960", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46968": { + "description": "VNF's Heat Orchestration Template's Resource **MAY**\ndeclare the attribute \"depends_on:\".", + "full_title": "", + "hide_links": "", + "id": "R-46968", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "depends_on", + "sections": [ + "depends_on", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-46986": { + "description": "The VNF **SHOULD** have source code scanned using scanning\ntools (e.g., Fortify) and provide reports.", + "full_title": "", + "hide_links": "", + "id": "R-46986", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-47061": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource **SHOULD** contain the metadata map value parameter\n'workload_context'.", + "full_title": "", + "hide_links": "", + "id": "R-47061", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "workload_context", + "sections": [ + "workload_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-47068": { + "description": "The xNF **MAY** expose a single endpoint that is\nresponsible for all functionality.", + "full_title": "", + "hide_links": "", + "id": "R-47068", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Chef Client Requirements", + "sections": [ + "Chef Client Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-47204": { + "description": "The VNF **MUST** protect the confidentiality and integrity of\ndata at rest and in transit from unauthorized access and modification.", + "full_title": "", + "hide_links": "", + "id": "R-47204", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-47597": { + "description": "The xNF **MUST** carry data in motion only over secure connections.", + "full_title": "", + "hide_links": "", + "id": "R-47597", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Security", + "sections": [ + "Security", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-47849": { + "description": "The xNF provider **MUST** support the metadata about\nlicenses (and their applicable entitlements) as defined in this\ndocument for xNF software, and any license keys required to authorize\nuse of the xNF software. This metadata will be used to facilitate\nonboarding the xNF into the ONAP environment and automating processes\nfor putting the licenses into use and managing the full lifecycle of\nthe licenses. The details of this license model are described in\nTables C1 to C8 in the Appendix.\n\nNote: License metadata support in ONAP is not currently available\nand planned for 1Q 2018.", + "full_title": "", + "hide_links": "", + "id": "R-47849", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Licensing Requirements", + "sections": [ + "Licensing Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-47874": { + "description": "A VNF **MAY** have\n\n * Only an IPv4 OAM Management IP Address\n * Only an IPv6 OAM Management IP Address\n * Both a IPv4 and IPv6 OAM Management IP Addresses", + "full_title": "", + "hide_links": "", + "id": "R-47874", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OAM Management IP Addresses", + "sections": [ + "OAM Management IP Addresses", + "Predefined Output Parameters", + "ONAP Output Parameter Names", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48067": { + "description": "A VNF's Heat Orchestration Template's {vm-type} **MUST NOT** be a\nsubstring of {network-role}.", + "full_title": "", + "hide_links": "", + "id": "R-48067", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "{vm-type}", + "sections": [ + "{vm-type}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48080": { + "description": "The VNF **SHOULD** support SCEP (Simple Certificate Enrollment Protocol).", + "full_title": "", + "hide_links": "", + "id": "R-48080", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48247": { + "description": "The xNF **MUST** support ONAP Controller's **ConfigRestore** command.", + "full_title": "", + "hide_links": "", + "id": "R-48247", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Commands", + "sections": [ + "Configuration Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48356": { + "description": "The VNF **MUST** fully exploit exception handling to the extent\nthat resources (e.g., threads and memory) are released when no longer\nneeded regardless of programming language.", + "full_title": "", + "hide_links": "", + "id": "R-48356", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48470": { + "description": "The VNF **MUST** support Real-time detection and\nnotification of security events.", + "full_title": "", + "hide_links": "", + "id": "R-48470", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48596": { + "description": "The xNF Package **MUST** include documentation describing\nthe characteristics for the xNF reliability and high availability.", + "full_title": "", + "hide_links": "", + "id": "R-48596", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48698": { + "description": "The xNF **MUST** utilize information from key value pairs\nthat will be provided by the Ansible Server as \"extra-vars\" during\ninvocation to execute the desired xNF action. If the playbook requires\nfiles, they must also be supplied using the methodology detailed in\nthe Ansible Server API, unless they are bundled with playbooks, example,\ngeneric templates.", + "full_title": "", + "hide_links": "", + "id": "R-48698", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48880": { + "description": "If a VNF's Port is attached to an external network and the port's\nIP addresses are assigned by ONAP's SDN-Controller,\nthe 'OS::Neutron::Port' Resource's\n\n * property 'fixed_ips' map property 'ip_address' **MUST** be used\n * property 'fixed_ips' map property 'subnet'/'subnet_id' **MUST NOT** be used", + "full_title": "", + "hide_links": "", + "id": "R-48880", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Items to Note", + "sections": [ + "Items to Note", + "Introduction", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48917": { + "description": "The VNF **MUST** monitor for and alert on (both sender and\nreceiver) errant, running longer than expected and missing file transfers,\nso as to minimize the impact due to file transfer errors.", + "full_title": "", + "hide_links": "", + "id": "R-48917", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Monitoring & Dashboard", + "sections": [ + "Monitoring & Dashboard", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-48987": { + "description": "If the VNF's OAM Management IP Address is Cloud assigned and\nand the OAM IP Address is required to be inventoried in ONAP AAI,\nthen the parameter **MUST** be obtained by the resource 'OS::Neutron::Port'\nattribute 'ip_address'.", + "full_title": "", + "hide_links": "", + "id": "R-48987", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OAM Management IP Addresses", + "sections": [ + "OAM Management IP Addresses", + "Predefined Output Parameters", + "ONAP Output Parameter Names", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49036": { + "description": "The xNF **SHOULD** conform its YANG model to RFC 7277,\n\"A YANG Data Model for IP Management\".", + "full_title": "", + "hide_links": "", + "id": "R-49036", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49109": { + "description": "The VNF **MUST** encrypt TCP/IP--HTTPS (e.g., TLS v1.2)\ntransmission of data on internal and external networks.", + "full_title": "", + "hide_links": "", + "id": "R-49109", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49145": { + "description": "The xNF **MUST** implement **:confirmed-commit** If\n**:candidate** is supported.", + "full_title": "", + "hide_links": "", + "id": "R-49145", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49177": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_name' is passed\ninto a Nested YAML file, the parameter name 'vf\\_module\\_name'\n**MUST NOT** change.", + "full_title": "", + "hide_links": "", + "id": "R-49177", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vf_module_name", + "sections": [ + "vf_module_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49224": { + "description": "The VNF **MUST** provide unique traceability of a transaction\nthrough its life cycle to ensure quick and efficient troubleshooting.", + "full_title": "", + "hide_links": "", + "id": "R-49224", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Monitoring & Dashboard", + "sections": [ + "Monitoring & Dashboard", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49308": { + "description": "The VNF **SHOULD** test for adherence to the defined resiliency\nrating recommendation at each layer, during each delivery cycle with\ndelivered results, so that the resiliency rating is measured and the\ncode is adjusted to meet software resiliency requirements.", + "full_title": "", + "hide_links": "", + "id": "R-49308", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Deployment Optimization", + "sections": [ + "Deployment Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49396": { + "description": "The xNF **MUST** support each ONAP (APPC) xNF action\nby invocation of **one** playbook [#7.3.4]_. The playbook will be responsible\nfor executing all necessary tasks (as well as calling other playbooks)\nto complete the request.", + "full_title": "", + "hide_links": "", + "id": "R-49396", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49466": { + "description": "The xNF **MUST** support ONAP Controller's **UpgradeSoftware** command.", + "full_title": "", + "hide_links": "", + "id": "R-49466", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "LifeCycle Management Related Commands", + "sections": [ + "LifeCycle Management Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49945": { + "description": "The VNF **MUST** authorize VNF provider access through a\nclient application API by the client application owner and the resource\nowner of the VNF before provisioning authorization through Role Based\nAccess Control (RBAC), Attribute Based Access Control (ABAC), or other\npolicy based mechanism.", + "full_title": "", + "hide_links": "", + "id": "R-49945", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-49956": { + "description": "The VNF **MUST** pass all access to applications (Bearer,\nsignaling and OA&M) through various security tools and platforms from\nACLs, stateful firewalls and application layer gateways depending on\nmanner of deployment. The application is expected to function (and in\nsome cases, interwork) with these security tools.", + "full_title": "", + "hide_links": "", + "id": "R-49956", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-50011": { + "description": "A VNF's Heat Orchestration Template's 'OS::Heat::ResourceGroup'\nproperty 'count' **MUST** be enumerated in the VNF's\nHeat Orchestration Template's Environment File and **MUST** be\nassigned a value.", + "full_title": "", + "hide_links": "", + "id": "R-50011", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Heat::ResourceGroup Property count", + "sections": [ + "OS::Heat::ResourceGroup Property count", + "Use of Heat ResourceGroup", + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-50252": { + "description": "The xNF **MUST** write to a specific one text files that\nwill be retrieved and made available by the Ansible Server if, as part\nof a xNF action (e.g., audit), a playbook is required to return any\nxNF information. The text files must be written in the same directory as\nthe one from which the playbook is being executed. A text file must be\ncreated for the xNF playbook run targets/affects, with the name\n'<VNFname>_results.txt' into which any desired output from each\nrespective VM/xNF must be written.", + "full_title": "", + "hide_links": "", + "id": "R-50252", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-50436": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'flavor' parameter **MUST** be declared as\ntype: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-50436", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: flavor", + "sections": [ + "Property: flavor", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-50468": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::ContrailV2::VirtualMachineInterface that is attaching\nto an internal network Resource ID **MUST** use the naming convention\n\n * {vm-type}_{vm-type_index}_int_{network-role}_vmi_{vmi_index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port (i.e. virtual machine interface) is attached to\n * {vmi_index} is the instance of the the vmi on the vm-type\n attached to the network of {network-role}", + "full_title": "", + "hide_links": "", + "id": "R-50468", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::VirtualMachineInterface", + "sections": [ + "OS::ContrailV2::VirtualMachineInterface", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-50816": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource **MAY** contain the metadata map value parameter\n'vf\\_module\\_index'.", + "full_title": "", + "hide_links": "", + "id": "R-50816", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "vf_module_index", + "sections": [ + "vf_module_index", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-51430": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'name' parameter **MUST** be declared as\neither type 'string' or type 'comma\\_delimited\\_list\".", + "full_title": "", + "hide_links": "", + "id": "R-51430", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: Name", + "sections": [ + "Property: Name", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-51442": { + "description": "The xNF **SHOULD** use playbooks that are designed to\nautomatically 'rollback' to the original state in case of any errors\nfor actions that change state of the xNF (e.g., configure).\n\n Note: In case rollback at the playbook level is not supported or\n possible, the xNF provider shall provide alternative locking\n mechanism (e.g., for a small xNF the rollback mechanism may rely\n on workflow to terminate and re-instantiate VNF VMs and then re-run\n playbook(s)). Backing up updated files also recommended to support\n rollback when soft rollback is feasible.", + "full_title": "", + "hide_links": "", + "id": "R-51442", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-51883": { + "description": "The VNF **MUST** provide or support the Identity and Access\nManagement (IDAM) based threat detection data for Replay.", + "full_title": "", + "hide_links": "", + "id": "R-51883", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-51910": { + "description": "The xNF **MUST** provide all telemetry (e.g., fault event\nrecords, syslog records, performance records etc.) to ONAP using the\nmodel, format and mechanisms described in this section.", + "full_title": "", + "hide_links": "", + "id": "R-51910", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF telemetry via standardized interface", + "sections": [ + "VNF telemetry via standardized interface", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-52060": { + "description": "The VNF **MUST** provide the capability to configure encryption\nalgorithms or devices so that they comply with the laws of the jurisdiction\nin which there are plans to use data encryption.", + "full_title": "", + "hide_links": "", + "id": "R-52060", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-52085": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, provide\nthe ability to support Multi-Factor Authentication (e.g., 1st factor =\nSoftware token on device (RSA SecureID); 2nd factor = User Name+Password,\netc.) for the users.", + "full_title": "", + "hide_links": "", + "id": "R-52085", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-52425": { + "description": "A VNF's port connected to an internal network **MUST** connect\nthe port to VMs in the same VNF.", + "full_title": "", + "hide_links": "", + "id": "R-52425", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-52499": { + "description": "The VNF **MUST** meet their own resiliency goals and not rely\non the Network Cloud.", + "full_title": "", + "hide_links": "", + "id": "R-52499", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "All Layer Redundancy", + "sections": [ + "All Layer Redundancy", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-52530": { + "description": "A VNF's Heat Orchestration Template's Nested YAML file\n**MUST** be in the same directory hierarchy as the VNF's Heat\nOrchestration Templates.", + "full_title": "", + "hide_links": "", + "id": "R-52530", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Nested Heat Template Requirements", + "sections": [ + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-52753": { + "description": "VNF's Heat Orchestration Template's Base Module's output parameter's\nname and type **MUST** match the VNF's Heat Orchestration Template's\nincremental Module's name and type unless the output parameter is of type\n'comma_delimited_list', then the corresponding input parameter **MUST**\nbe declared as type 'json'.", + "full_title": "", + "hide_links": "", + "id": "R-52753", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Base Module Output Parameters", + "sections": [ + "ONAP Base Module Output Parameters", + "Output Parameters", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-52870": { + "description": "The VNF **MUST** provide a method of metrics gathering\nand analysis to evaluate the resiliency of the software from both\na granular as well as a holistic standpoint. This includes, but is\nnot limited to thread utilization, errors, timeouts, and retries.", + "full_title": "", + "hide_links": "", + "id": "R-52870", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Monitoring & Dashboard", + "sections": [ + "Monitoring & Dashboard", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-53015": { + "description": "The xNF **MUST** apply locking based on the sequence of\nNETCONF operations, with the first configuration operation locking\nout all others until completed.", + "full_title": "", + "hide_links": "", + "id": "R-53015", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-53310": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::InstanceIp' that is configuring an IPv4 Address\non a port attached to an external network Resource ID **MUST**\nuse the naming convention\n\n * {vm-type}_{vm-type_index}_{network-role}_vmi_{vmi_index}_IP_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port is attached to\n * {vmi_index} is the instance of the the virtual machine interface\n (e.g., port) on the vm-type\n attached to the network of {network-role}\n * 'IP' signifies that an IPv4 address is being configured\n * {index} is the index of the IPv4 address", + "full_title": "", + "hide_links": "", + "id": "R-53310", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::InstanceIp", + "sections": [ + "OS::ContrailV2::InstanceIp", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-53317": { + "description": "The xNF **MUST** conform its YANG model to RFC 6087,\n\"Guidelines for Authors and Reviewers of YANG Data Model Documents\".", + "full_title": "", + "hide_links": "", + "id": "R-53317", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-53433": { + "description": "The VNF **MUST** have a corresponding environment file for a Cinder Volume Module.", + "full_title": "", + "hide_links": "", + "id": "R-53433", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-53598": { + "description": "The xNF Package **MUST** include documentation to, when relevant,\nprovide a threshold crossing alert point for each KPI and describe the\nsignificance of the threshold crossing.", + "full_title": "", + "hide_links": "", + "id": "R-53598", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-53952": { + "description": "A VNF's Heat Orchestration Template's Resource\n**MUST NOT** reference a HTTP-based resource definitions.", + "full_title": "", + "hide_links": "", + "id": "R-53952", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "type", + "sections": [ + "type", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54171": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'name' parameter is defined as a 'string',\nthe parameter name **MUST** follow the naming convention\n'{vm-type}\\_name\\_{index}', where {index} is a numeric value that starts\nat zero and increments by one.", + "full_title": "", + "hide_links": "", + "id": "R-54171", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: Name", + "sections": [ + "Property: Name", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54190": { + "description": "The xNF **MUST** release locks to prevent permanent lock-outs\nwhen/if a session applying the lock is terminated (e.g., SSH session\nis terminated).", + "full_title": "", + "hide_links": "", + "id": "R-54190", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54340": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_index' **MUST** be\ndeclared as type: 'number'.", + "full_title": "", + "hide_links": "", + "id": "R-54340", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vf_module_index", + "sections": [ + "vf_module_index", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54373": { + "description": "The xNF **MUST** have Python >= 2.6 on the endpoint VM(s)\nof a xNF on which an Ansible playbook will be executed.", + "full_title": "", + "hide_links": "", + "id": "R-54373", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Client Requirements", + "sections": [ + "Ansible Client Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54430": { + "description": "The VNF **MUST** use the NCSP's supported library and compute\nflavor that supports DPDK to optimize network efficiency if using DPDK. [#4.1.1]_", + "full_title": "", + "hide_links": "", + "id": "R-54430", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54458": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::ContrailV2::VirtualMachineInterface that is attaching to\na sub-interface network Resource ID **MUST** use the naming convention\n\n * {vm-type}_{vm-type_index}_subint_{network-role}_vmi_{vmi_index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port (i.e. virtual machine interface) is attached to\n * {vmi_index} is the instance of the the vmi on the vm-type\n attached to the network of {network-role}", + "full_title": "", + "hide_links": "", + "id": "R-54458", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::VirtualMachineInterface", + "sections": [ + "OS::ContrailV2::VirtualMachineInterface", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54517": { + "description": "When a VNF's Heat Orchestration Template's resource is associated\nwith a single '{vm-type}', the Resource ID **MUST** contain the '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-54517", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource IDs", + "sections": [ + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54520": { + "description": "The VNF **MUST** log successful and unsuccessful login attempts.", + "full_title": "", + "hide_links": "", + "id": "R-54520", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54816": { + "description": "The VNF **MUST** support the storage of security audit logs\nfor agreed period of time for forensic analysis.", + "full_title": "", + "hide_links": "", + "id": "R-54816", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-54930": { + "description": "The VNF **MUST** implement the following input validation\ncontrol: Do not permit input that contains content or characters\ninappropriate to the input expected by the design. Inappropriate input,\nsuch as SQL insertions, may cause the system to execute undesirable\nand unauthorized transactions against the database or allow other\ninappropriate access to the internal network.", + "full_title": "", + "hide_links": "", + "id": "R-54930", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-55218": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vnf_id' **MUST NOT** have\nparameter contraints defined.", + "full_title": "", + "hide_links": "", + "id": "R-55218", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vnf_id", + "sections": [ + "vnf_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-55306": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_index' **MUST NOT** be\nused in a VNF's Volume Template; it is not supported.", + "full_title": "", + "hide_links": "", + "id": "R-55306", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vf_module_index", + "sections": [ + "vf_module_index", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-55345": { + "description": "The VNF **SHOULD** use techniques such as \"lazy loading\" when\ninitialization includes loading catalogues and/or lists which can grow\nover time, so that the VNF startup time does not grow at a rate\nproportional to that of the list.", + "full_title": "", + "hide_links": "", + "id": "R-55345", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-55478": { + "description": "The VNF **MUST** log logoffs.", + "full_title": "", + "hide_links": "", + "id": "R-55478", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-55802": { + "description": "The VNF Package **MUST** include VM requirements via a Heat\ntemplate that provides the necessary data for scaling/growth VM\nspecifications.\n\nNote: Must comply with the *Heat requirements in 5.b*.", + "full_title": "", + "hide_links": "", + "id": "R-55802", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Compute, Network, and Storage Requirements", + "sections": [ + "Compute, Network, and Storage Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-55830": { + "description": "The VNF **MUST** distribute all production code from NCSP\ninternal sources only. No production code, libraries, OS images, etc.\nshall be distributed from publically accessible depots.", + "full_title": "", + "hide_links": "", + "id": "R-55830", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56183": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'environment_context' **MUST NOT**\nhave parameter contraints defined.", + "full_title": "", + "hide_links": "", + "id": "R-56183", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "environment_context", + "sections": [ + "environment_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56218": { + "description": "The VNF **MUST** support ONAP Controller's Migrate command that\nmoves container (VM) from a live Physical Server / Compute Node to\nanother live Physical Server / Compute Node.\n\n Note: Container migrations MUST be transparent to the VNF and no more intrusive than a stop,\n followed by some down time for the migration to be performed from one Compute Node / Physical\n Server to another, followed by a start of the same VM with same configuration on the new\n Compute Node / Physical Server.", + "full_title": "", + "hide_links": "", + "id": "R-56218", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Virtual Function - Container Recovery Requirements", + "sections": [ + "Virtual Function - Container Recovery Requirements", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56287": { + "description": "If the VNF's OAM Management IP Address is assigned by ONAP SDN-C and\nassigned in the VNF's Heat Orchestration Template's via a heat resource\n'OS::Neutron::Port' property 'fixed_ips' map property\n'ip_adress' parameter (e.g., '{vm-type}_{network-role}_ip_{index}',\n'{vm-type}_{network-role}_v6_ip_{index}')\nand the OAM IP Address is required to be inventoried in ONAP AAI,\nthen the parameter **MUST** be echoed in an output statement.", + "full_title": "", + "hide_links": "", + "id": "R-56287", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OAM Management IP Addresses", + "sections": [ + "OAM Management IP Addresses", + "Predefined Output Parameters", + "ONAP Output Parameter Names", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56385": { + "description": "The xNF **MUST** support ONAP Controller's **Audit** command.", + "full_title": "", + "hide_links": "", + "id": "R-56385", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Commands", + "sections": [ + "Configuration Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56438": { + "description": "A VNF's Heat Orchestration Template's Nested YAML file extension\n**MUST** be in the lower case format '.yaml' or '.yml'.", + "full_title": "", + "hide_links": "", + "id": "R-56438", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Heat Orchestration Template Filenames", + "sections": [ + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56721": { + "description": "A VNF's Incremental Module **MAY** utilize nested heat.", + "full_title": "", + "hide_links": "", + "id": "R-56721", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Nested Heat Orchestration Templates Overview", + "sections": [ + "Nested Heat Orchestration Templates Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56786": { + "description": "The VNF **MUST** implement \"Closed Loop\" automatic implementation\n(without human intervention) for Known Threats with detection rate in low\nfalse positives.", + "full_title": "", + "hide_links": "", + "id": "R-56786", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56793": { + "description": "The VNF **MUST** test for adherence to the defined performance\nbudgets at each layer, during each delivery cycle with delivered\nresults, so that the performance budget is measured and the code\nis adjusted to meet performance budget.", + "full_title": "", + "hide_links": "", + "id": "R-56793", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Deployment Optimization", + "sections": [ + "Deployment Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56815": { + "description": "The xNF Package **MUST** include documentation describing\nsupported xNF scaling capabilities and capacity limits (e.g., number\nof users, bandwidth, throughput, concurrent calls).", + "full_title": "", + "hide_links": "", + "id": "R-56815", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56904": { + "description": "The VNF **MUST** interoperate with the ONAP (SDN) Controller so that\nit can dynamically modify the firewall rules, ACL rules, QoS rules, virtual\nrouting and forwarding rules.", + "full_title": "", + "hide_links": "", + "id": "R-56904", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-56920": { + "description": "The VNF **MUST** protect all security audit logs (including\nAPI, OS and application-generated logs), security audit software, data,\nand associated documentation from modification, or unauthorized viewing,\nby standard OS access control mechanisms, by sending to a remote system,\nor by encryption.", + "full_title": "", + "hide_links": "", + "id": "R-56920", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-57271": { + "description": "The VNF **MUST** provide the capability of generating security\naudit logs by interacting with the operating system (OS) as appropriate.", + "full_title": "", + "hide_links": "", + "id": "R-57271", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-57282": { + "description": "Each VNF's Heat Orchestration Template's '{vm-type}'\n**MUST** have a unique parameter name for the 'OS::Nova::Server'\nproperty 'image' even if more than one {vm-type} shares the same image.", + "full_title": "", + "hide_links": "", + "id": "R-57282", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: image", + "sections": [ + "Property: image", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-57424": { + "description": "A VNF's port connected to an external network **MUST**\nuse the port for the purpose of reaching VMs in another VNF\nand/or an external gateway and/or external router. A VNF's port\nconnected to an external network **MAY** use the port for\nthe purpose of reaching VMs in the same VNF.", + "full_title": "", + "hide_links": "", + "id": "R-57424", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-57617": { + "description": "The VNF **MUST** include the field \"success/failure\" in the\nSecurity alarms (where applicable and technically feasible).", + "full_title": "", + "hide_links": "", + "id": "R-57617", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-57855": { + "description": "The VNF **MUST** support hitless staggered/rolling deployments\nbetween its redundant instances to allow \"soak-time/burn in/slow roll\"\nwhich can enable the support of low traffic loads to validate the\ndeployment prior to supporting full traffic loads.", + "full_title": "", + "hide_links": "", + "id": "R-57855", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Deployment Optimization", + "sections": [ + "Deployment Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58301": { + "description": "The xNF **SHOULD NOT** use playbooks that make requests to\nCloud resources e.g. Openstack (nova, neutron, glance, heat, etc.);\ntherefore, there is no use for Cloud specific variables like Openstack\nUUIDs in Ansible Playbooks.\n\nRationale: Flows that require interactions with Cloud services e.g.\nOpenstack shall rely on workflows run by an Orchestrator\n(Change Management) or other capability (such as a control loop or\nOperations GUI) outside Ansible Server which can be executed by a\nController such as APPC. There are policies, as part of Control Loop\nmodels, that send remediation action requests to APPC; these are\ntriggered as a response to an event or correlated events published\nto Event Bus.", + "full_title": "", + "hide_links": "", + "id": "R-58301", + "impacts": "", + "introduced": "", + "keyword": "SHOULD NOT", + "links": [], + "notes": "", + "section_name": "Ansible Playbook Requirements", + "sections": [ + "Ansible Playbook Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58358": { + "description": "The xNF **MUST** implement the **:with-defaults** capability\n[RFC6243].", + "full_title": "", + "hide_links": "", + "id": "R-58358", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58370": { + "description": "The VNF **MUST** coexist and operate normally with commercial\nanti-virus software which shall produce alarms every time when there is a\nsecurity incident.", + "full_title": "", + "hide_links": "", + "id": "R-58370", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58421": { + "description": "The VNF **SHOULD** be decomposed into granular re-usable VNFCs.", + "full_title": "", + "hide_links": "", + "id": "R-58421", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58424": { + "description": "A VNF's Heat Orchestration Template's use of '{network-role}'\nin all Resource property parameter names **MUST** be the same case.", + "full_title": "", + "hide_links": "", + "id": "R-58424", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{network-role}", + "sections": [ + "{network-role}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58670": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'image' parameter name **MUST** follow the\nnaming convention '{vm-type}_image_name'.", + "full_title": "", + "hide_links": "", + "id": "R-58670", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: image", + "sections": [ + "Property: image", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58775": { + "description": "The xNF provider **MUST** provide software components that\ncan be packaged with/near the xNF, if needed, to simulate any functions\nor systems that connect to the xNF system under test. This component is\nnecessary only if the existing testing environment does not have the\nnecessary simulators.", + "full_title": "", + "hide_links": "", + "id": "R-58775", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Testing", + "sections": [ + "Testing", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58964": { + "description": "The VNF **MUST** provide the capability to restrict read\nand write access to data.", + "full_title": "", + "hide_links": "", + "id": "R-58964", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58977": { + "description": "The VNF **MUST** provide or support the Identity and Access\nManagement (IDAM) based threat detection data for Eavesdropping.", + "full_title": "", + "hide_links": "", + "id": "R-58977", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-58998": { + "description": "The VNF **MUST** provide or support the Identity and Access\nManagement (IDAM) based threat detection data for Malware (Key Logger).", + "full_title": "", + "hide_links": "", + "id": "R-58998", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-59391": { + "description": "The VNF provider **MUST**, where a VNF provider requires\nthe assumption of permissions, such as root or administrator, first\nlog in under their individual user login ID then switch to the other\nhigher level account; or where the individual user login is infeasible,\nmust login with an account with admin privileges in a way that\nuniquely identifies the individual performing the function.", + "full_title": "", + "hide_links": "", + "id": "R-59391", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-59434": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::Subnet Resource ID **SHOULD** use the naming convention\n\n * int_{network-role}_subnet_{index}\n\nwhere\n\n * {network-role} is the network-role\n * {index} is the {index} of the subnet of the network", + "full_title": "", + "hide_links": "", + "id": "R-59434", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Neutron::Subnet", + "sections": [ + "OS::Neutron::Subnet", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-59482": { + "description": "A VNF's Heat Orchestration Template **MUST NOT** be VNF instance\nspecific or Cloud site specific.", + "full_title": "", + "hide_links": "", + "id": "R-59482", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Scope of a Heat Orchestration Template", + "sections": [ + "Scope of a Heat Orchestration Template", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-59568": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'availability_zone' parameter **MUST NOT**\nbe enumerated in the Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-59568", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: availability_zone", + "sections": [ + "Property: availability_zone", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-59610": { + "description": "The xNF **MUST** implement the data model discovery and\ndownload as defined in [RFC6022].", + "full_title": "", + "hide_links": "", + "id": "R-59610", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-59930": { + "description": "A VNF's Heat Orchestration template's Environment\nFile's **MAY** contain the \"parameter_defaults:\" section.", + "full_title": "", + "hide_links": "", + "id": "R-59930", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Environment File Format", + "sections": [ + "Environment File Format", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-60011": { + "description": "A VNF's Heat Orchestration Template **MUST** have no more than\ntwo levels of nesting.", + "full_title": "", + "hide_links": "", + "id": "R-60011", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Nested Heat Template Requirements", + "sections": [ + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-60106": { + "description": "The xNF **MUST** implement the protocol operation:\n**get(filter)** - Retrieve (a filtered subset of) the running\nconfiguration and device state information. This should include\nthe list of xNF supported schemas.", + "full_title": "", + "hide_links": "", + "id": "R-60106", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-60656": { + "description": "The xNF **MUST** support sub tree filtering.", + "full_title": "", + "hide_links": "", + "id": "R-60656", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-61001": { + "description": "A shared Heat Orchestration Template resource must be defined\nin the base module. A shared resource is a resource that that will\nbe referenced by another resource that is defined in the Base Module\nand/or one or more incremental modules. When the shared resource needs\nto be referenced by a resource in an incremental module, the UUID of\nthe shared resource **MUST** be exposed by declaring an ONAP Base\nModule Output Parameter.", + "full_title": "", + "hide_links": "", + "id": "R-61001", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity", + "sections": [ + "ONAP VNF Modularity", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-61354": { + "description": "The VNF **MUST** implement access control list for OA&M\nservices (e.g., restricting access to certain ports or applications).", + "full_title": "", + "hide_links": "", + "id": "R-61354", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-61648": { + "description": "The VNF **MUST** support event logging, formats, and delivery\ntools to provide the required degree of event data to ONAP.", + "full_title": "", + "hide_links": "", + "id": "R-61648", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62170": { + "description": "The xNF **MUST** over-ride any default values for\nconfigurable parameters that can be set by ONAP in the roles,\ncookbooks and recipes.", + "full_title": "", + "hide_links": "", + "id": "R-62170", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62177": { + "description": "When using the intrinsic function get_file, the included files\n**MUST** have unique file names within the scope of the VNF.", + "full_title": "", + "hide_links": "", + "id": "R-62177", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Heat Files Support (get_file)", + "sections": [ + "Heat Files Support (get_file)", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62187": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::InstanceIp' that is configuring an\nIPv4 Address on a port attached to an internal network\nResource ID **MUST** use the naming convention\n\n * {vm-type}_{vm-type_index}_int_{network-role}_vmi_{vmi_index}_IP_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port is attached to\n * {vmi_index} is the instance of the the virtual machine interface\n (e.g., port) on the vm-type\n attached to the network of {network-role}\n * 'IP' signifies that an IPv4 address is being configured\n * {index} is the index of the IPv4 address", + "full_title": "", + "hide_links": "", + "id": "R-62187", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::InstanceIp", + "sections": [ + "OS::ContrailV2::InstanceIp", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62300": { + "description": "If a VNF has two or more ports that require a Virtual IP Address (VIP),\na VNF's Heat Orchestration Template's Resource 'OS::Neutron::Port' property\n'allowed_address_pairs' map property 'ip_address' parameter **MUST** be used.", + "full_title": "", + "hide_links": "", + "id": "R-62300", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: allowed_address_pairs, Map Property: ip_address", + "sections": [ + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62428": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vnf_name' **MUST** be\ndeclared as type: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-62428", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vnf_name", + "sections": [ + "vnf_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62468": { + "description": "The xNF **MUST** allow all configuration data to be\nedited through a NETCONF <edit-config> operation. Proprietary\nNETCONF RPCs that make configuration changes are not sufficient.", + "full_title": "", + "hide_links": "", + "id": "R-62468", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62498": { + "description": "The VNF **MUST**, if not using the NCSPs IDAM API, encrypt\nOA&M access (e.g., SSH, SFTP).", + "full_title": "", + "hide_links": "", + "id": "R-62498", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62590": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property 'ip_address'\nparameter associated with an external network, i.e.,\n\n- {vm-type}_{network-role}\\_ip\\_{index}\n- {vm-type}_{network-role}\\_ip\\_v6\\_{index}\n- {vm-type}_{network-role}_ips\n- {vm-type}_{network-role}_v6_ips\n\n**MUST NOT** be enumerated in the Heat Orchestration Template's Environment File.\nONAP provides the IP address assignments at orchestration time.", + "full_title": "", + "hide_links": "", + "id": "R-62590", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62802": { + "description": "When the VNF's Heat Orchestration Template's resource\n'OS::Neutron::Port' is attaching to an external network, and an IPv4\naddress is being Cloud Assigned by OpenStack's DHCP Service and the\nexternal network IPv4 subnet is to be specified using the property\n'fixed_ips' map property 'subnet'/'subnet_id', the parameter **MUST**\nfollow the naming convention\n\n * '{network-role}_subnet_id'\n\nwhere\n\n * '{network-role}' is the network role of the network.", + "full_title": "", + "hide_links": "", + "id": "R-62802", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: subnet_id", + "sections": [ + "Property: fixed_ips, Map Property: subnet_id", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62954": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'environment_context' is\npassed into a Nested YAML file, the parameter name\n'environment_context' **MUST NOT** change.", + "full_title": "", + "hide_links": "", + "id": "R-62954", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "environment_context", + "sections": [ + "environment_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-62983": { + "description": "When the VNF's Heat Orchestration Template's Resource 'OS::Neutron::Port'\nis attaching to an external network, the 'network' parameter name **MUST**\n\n- follow the naming convention '{network-role}_net_id' if the Neutron\n network UUID value is used to reference the network\n- follow the naming convention '{network-role}_net_name' if the OpenStack\n network name is used to reference the network.\n\nwhere '{network-role}' is the network-role of the external network and\na 'get_param' **MUST** be used as the intrinsic function.", + "full_title": "", + "hide_links": "", + "id": "R-62983", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: network", + "sections": [ + "Property: network", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-63137": { + "description": "VNF's Heat Orchestration Template's Resource **MAY**\ndeclare the attribute \"update_policy:\".", + "full_title": "", + "hide_links": "", + "id": "R-63137", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "update_policy", + "sections": [ + "update_policy", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-63217": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, support\nlogging via ONAP for a historical view of \"who did what and when.\"", + "full_title": "", + "hide_links": "", + "id": "R-63217", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-63229": { + "description": "The xNF **MAY** use another option which is expected to include REST\nfor synchronous data, using RESTCONF (e.g., for xNF state polling).", + "full_title": "", + "hide_links": "", + "id": "R-63229", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Addressing and Delivery Protocol", + "sections": [ + "Addressing and Delivery Protocol", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-63330": { + "description": "The VNF **MUST** detect when the security audit log storage\nmedium is approaching capacity (configurable) and issue an alarm via\nSMS or equivalent as to allow time for proper actions to be taken to\npre-empt loss of audit data.", + "full_title": "", + "hide_links": "", + "id": "R-63330", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-63473": { + "description": "The VNF **MUST** automatically advertise newly scaled\ncomponents so there is no manual intervention required.", + "full_title": "", + "hide_links": "", + "id": "R-63473", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-63935": { + "description": "The xNF **MUST** release locks to prevent permanent lock-outs\nwhen a user configured timer has expired forcing the NETCONF SSH Session\ntermination (i.e., product must expose a configuration knob for a user\nsetting of a lock expiration timer).", + "full_title": "", + "hide_links": "", + "id": "R-63935", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-63953": { + "description": "The xNF **MUST** have the echo command return a zero value\notherwise the validation has failed.", + "full_title": "", + "hide_links": "", + "id": "R-63953", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-63956": { + "description": "If the VNF's ports connected to a unique external network\nand the port's IP addresses are ONAP SDN-C assigned IP Addresses,\nthe IPv4 Addresses **MAY** be from different subnets and the IPv6\nAddresses **MAY** be from different subnets.", + "full_title": "", + "hide_links": "", + "id": "R-63956", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Items to Note", + "sections": [ + "Items to Note", + "Introduction", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-64197": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Heat::ResourceGroup Resource ID that creates sub-interfaces **MUST**\nuse the naming convention\n\n * {vm-type}_{vm-type_index}_subint_{network-role}_port_{port-index}_subinterfaces\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the networks\n that the sub-interfaces attach to\n * {port-index} is the instance of the the port on the vm-type\n attached to the network of {network-role}", + "full_title": "", + "hide_links": "", + "id": "R-64197", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Heat::ResourceGroup", + "sections": [ + "OS::Heat::ResourceGroup", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-64445": { + "description": "The VNF **MUST** support the ability of a requestor of the\nservice to determine the version (and therefore capabilities) of the\nservice so that Network Cloud Service Provider can understand the\ncapabilities of the service.", + "full_title": "", + "hide_links": "", + "id": "R-64445", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Deployment Optimization", + "sections": [ + "Deployment Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-64503": { + "description": "The VNF **MUST** provide minimum privileges for initial\nand default settings for new user accounts.", + "full_title": "", + "hide_links": "", + "id": "R-64503", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-64713": { + "description": "The VNF **SHOULD** support a software promotion methodology\nfrom dev/test -> pre-prod -> production in software, development &\ntesting and operations.", + "full_title": "", + "hide_links": "", + "id": "R-64713", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-64768": { + "description": "The VNF **MUST** limit the size of application data packets\nto no larger than 9000 bytes for SDN network-based tunneling when\nguest data packets are transported between tunnel endpoints that\nsupport guest logical networks.", + "full_title": "", + "hide_links": "", + "id": "R-64768", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-65134": { + "description": "The VNF **SHOULD** maintain state in a geographically\nredundant datastore that may, in fact, be its own VNFC.", + "full_title": "", + "hide_links": "", + "id": "R-65134", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-65515": { + "description": "The VNF **MUST** provide a mechanism and tool to start VNF\ncontainers (VMs) without impacting service or service quality assuming\nanother VNF in same or other geographical location is processing service\nrequests.", + "full_title": "", + "hide_links": "", + "id": "R-65515", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-65516": { + "description": "A VNF's Heat Orchestration Template's Resource OS::Nova::Keypair\napplies to all Virtual Machines in the the VNF, the Resource ID **SHOULD**\nuse the naming convention\n\n * {vnf-type}_keypair\n\nwhere\n\n * {vnf-type} describes the VNF", + "full_title": "", + "hide_links": "", + "id": "R-65516", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Nova::Keypair", + "sections": [ + "OS::Nova::Keypair", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-65618": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::ServiceHealthCheck' Resource ID\n**MAY** use the naming convention\n\n * {vm-type}_RSHC_{LEFT|RIGHT}\n\nwhere\n\n * {vm-type} is the vm-type\n * 'RSHC' signifies that it is the Resource Service Health Check\n * 'LEFT' is used if the Service Health Check is on the left interface\n * 'RIGHT' is used if the Service Health Check is on the right interface", + "full_title": "", + "hide_links": "", + "id": "R-65618", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::ServiceHealthCheck", + "sections": [ + "OS::ContrailV2::ServiceHealthCheck", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-65641": { + "description": "The xNF **MUST** support ONAP Controller's **UpgradeBackOut** command.", + "full_title": "", + "hide_links": "", + "id": "R-65641", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "LifeCycle Management Related Commands", + "sections": [ + "LifeCycle Management Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-65755": { + "description": "The xNF **SHOULD** support callback URLs to return information\nto ONAP upon completion of the chef-client run for any chef-client run\nassociated with a xNF action.\n\n- As part of the push job, ONAP will provide two parameters in the\n environment of the push job JSON object:\n\n - \"RequestId\" a unique Id to be used to identify the request,\n - \"CallbackUrl\", the URL to post response back.\n\n- If the CallbackUrl field is empty or missing in the push job, then\n the chef-client run need not post the results back via callback.", + "full_title": "", + "hide_links": "", + "id": "R-65755", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-66070": { + "description": "The xNF Package **MUST** include xNF Identification Data to\nuniquely identify the resource for a given xNF provider. The identification\ndata must include: an identifier for the xNF, the name of the xNF as was\ngiven by the xNF provider, xNF description, xNF provider, and version.", + "full_title": "", + "hide_links": "", + "id": "R-66070", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Description", + "sections": [ + "Resource Description", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-66729": { + "description": "A VNF's Heat Orchestration Template's Resource that is\nassociated with a unique Virtual Machine type **MUST** include\n'{vm-type}' as part of the resource ID.", + "full_title": "", + "hide_links": "", + "id": "R-66729", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{vm-type}", + "sections": [ + "{vm-type}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-66793": { + "description": "The xNF **MUST** guarantee the xNF configuration integrity\nfor all simultaneous configuration operations (e.g., if a change is\nattempted to the BUM filter rate from multiple interfaces on the same\nEVC, then they need to be sequenced in the xNF without locking either\nconfiguration method out).", + "full_title": "", + "hide_links": "", + "id": "R-66793", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-67114": { + "description": "The xNF **MUST** be installed with Chef-Client >= 12.0 and Chef\npush jobs client >= 2.0.", + "full_title": "", + "hide_links": "", + "id": "R-67114", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Client Requirements", + "sections": [ + "Chef Client Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-67205": { + "description": "The VNF Heat Orchestration Template **MUST** have a corresponding\nenvironment file for a Base Module.", + "full_title": "", + "hide_links": "", + "id": "R-67205", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Support of Environment Files", + "sections": [ + "ONAP Support of Environment Files", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-67231": { + "description": "A VNF's Heat Orchestration template's Environment File's **MUST NOT**\ncontain the \"resource_registry:\" section.", + "full_title": "", + "hide_links": "", + "id": "R-67231", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Environment File Format", + "sections": [ + "Environment File Format", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-67597": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vm_role' **MUST NOT** have\nparameter contraints defined.", + "full_title": "", + "hide_links": "", + "id": "R-67597", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vm_role", + "sections": [ + "vm_role", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-67709": { + "description": "The VNF **MUST** be designed, built and packaged to enable\ndeployment across multiple fault zones (e.g., VNFCs deployed in\ndifferent servers, racks, OpenStack regions, geographies) so that\nin the event of a planned/unplanned downtime of a fault zone, the\noverall operation/throughput of the VNF is maintained.", + "full_title": "", + "hide_links": "", + "id": "R-67709", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "All Layer Redundancy", + "sections": [ + "All Layer Redundancy", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-67793": { + "description": "When a VNF's Heat Orchestration Template's resource is associated\nwith more than one '{vm-type}' and/or more than one internal and/or\nexternal network, the Resource ID **MUST NOT** contain the '{vm-type}'\nand/or '{network-role}'/'int\\_{network-role}'. It also should contain the\nterm 'shared' and/or contain text that identifies the VNF", + "full_title": "", + "hide_links": "", + "id": "R-67793", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Resource IDs", + "sections": [ + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-67918": { + "description": "The VNF **MUST** handle replication race conditions both locally\nand geo-located in the event of a data base instance failure to maintain\nservice continuity.", + "full_title": "", + "hide_links": "", + "id": "R-67918", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-68023": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource **SHOULD** contain the metadata map value parameter\n'vf\\_module\\_name'.", + "full_title": "", + "hide_links": "", + "id": "R-68023", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "vf_module_name", + "sections": [ + "vf_module_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-68122": { + "description": "A VNF's incremental module **MAY** be deployed more than once,\neither during initial VNF deployment and/or scale out.", + "full_title": "", + "hide_links": "", + "id": "R-68122", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-68165": { + "description": "The xNF **MUST** encrypt any content containing Sensitive Personal\nInformation (SPI) or certain proprietary data, in addition to applying the\nregular procedures for securing access and delivery.", + "full_title": "", + "hide_links": "", + "id": "R-68165", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Security", + "sections": [ + "Security", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-68198": { + "description": "A VNF's Heat Orchestration template's Environment File's\n\"parameters:\" section **MAY** enumerate parameters.", + "full_title": "", + "hide_links": "", + "id": "R-68198", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Environment File Format", + "sections": [ + "Environment File Format", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-68200": { + "description": "The xNF **MUST** support the **:url** value to specify\nprotocol operation source and target parameters. The capability URI\nfor this feature will indicate which schemes (e.g., file, https, sftp)\nthat the server supports within a particular URL value. The 'file'\nscheme allows for editable local configuration databases. The other\nschemes allow for remote storage of configuration databases.", + "full_title": "", + "hide_links": "", + "id": "R-68200", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-68520": { + "description": "A VNF's Heat Orchestration Template's Resource OS::Neutron::Port\nthat is creating a *Reserve Port* with an IPv6 address Resource ID\n**MUST** use the naming convention\n\n * reserve_port_{vm-type}_{network-role}_floating_v6_ip_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {network-role} is the network-role of the network\n that the port is attached to\n * {index} is the instance of the IPv6 *Reserve Port*\n for the vm-type attached to the network of {network-role}", + "full_title": "", + "hide_links": "", + "id": "R-68520", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::Neutron::Port", + "sections": [ + "OS::Neutron::Port", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-68589": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, support\nUser-IDs and passwords to uniquely identify the user/application. VNF\nneeds to have appropriate connectors to the Identity, Authentication\nand Authorization systems that enables access at OS, Database and\nApplication levels as appropriate.", + "full_title": "", + "hide_links": "", + "id": "R-68589", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-68936": { + "description": "When a VNF creates an internal network, a network role, referred to\nas the '{network-role}' **MUST** be assigned to the internal network for\nuse in the VNF's Heat Orchestration Template.", + "full_title": "", + "hide_links": "", + "id": "R-68936", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-68990": { + "description": "The xNF **MUST** support the **:startup** capability. It\nwill allow the running configuration to be copied to this special\ndatabase. It can also be locked and unlocked.", + "full_title": "", + "hide_links": "", + "id": "R-68990", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69014": { + "description": "When a VNF connects to an external network, a network role, referred\nto as the '{network-role}' **MUST** be assigned to the external network\nfor use in the VNF's Heat Orchestration Template.", + "full_title": "", + "hide_links": "", + "id": "R-69014", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69431": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'flavor' parameter **MUST** be enumerated in the\nHeat Orchestration Template's Environment File and a value **MUST** be\nassigned.", + "full_title": "", + "hide_links": "", + "id": "R-69431", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: flavor", + "sections": [ + "Property: flavor", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69565": { + "description": "The xNF Package **MUST** include documentation describing xNF\nManagement APIs, which must include information and tools for ONAP to\ndeploy and configure (initially and ongoing) the xNF application(s)\n(e.g., NETCONF APIs) which includes a description of configurable\nparameters for the xNF and whether the parameters can be configured\nafter xNF instantiation.", + "full_title": "", + "hide_links": "", + "id": "R-69565", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Description", + "sections": [ + "Resource Description", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69588": { + "description": "When a VNF's Heat Orchestration Template's Virtual Machine\n(i.e., 'OS::Nova::Server' Resource) boots from Cinder Volume, the\n'OS::Nova::Server' resource property 'block_device_mapping' or\n'block_device_mapping_v2' **MUST** be used.", + "full_title": "", + "hide_links": "", + "id": "R-69588", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Boot Options", + "sections": [ + "Boot Options", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69610": { + "description": "The VNF **MUST** provide the capability of using certificates\nissued from a Certificate Authority not provided by the VNF provider.", + "full_title": "", + "hide_links": "", + "id": "R-69610", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69634": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property\nsubnet'/'subnet_id' parameter 'int\\_{network-role}_subnet_id'\n**MUST NOT** be enumerated in the VNF's Heat Orchestration Template's\nEnvironment File.", + "full_title": "", + "hide_links": "", + "id": "R-69634", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: subnet_id", + "sections": [ + "Property: fixed_ips, Map Property: subnet_id", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69649": { + "description": "The VNF **MUST** have all vulnerabilities patched as soon\nas possible. Patching shall be controlled via change control process\nwith vulnerabilities disclosed along with mitigation recommendations.", + "full_title": "", + "hide_links": "", + "id": "R-69649", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69663": { + "description": "A VNF **MAY** be composed from one or more Heat Orchestration\nTemplates, each of which represents a subset of the overall VNF.", + "full_title": "", + "hide_links": "", + "id": "R-69663", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69874": { + "description": "A VNF's '{network-role}' assigned to an internal network **MUST**\nbe different than the '{network-role}' assigned to the VNF's external\nnetworks.", + "full_title": "", + "hide_links": "", + "id": "R-69874", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-69877": { + "description": "The xNF Package **MUST** include documentation for each KPI,\nidentify the suggested actions that need to be performed when a\nthreshold crossing alert event is recorded.", + "full_title": "", + "hide_links": "", + "id": "R-69877", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-70013": { + "description": "The VNF **MUST NOT** require any manual steps to get it ready for\nservice after a container rebuild.", + "full_title": "", + "hide_links": "", + "id": "R-70013", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-70266": { + "description": "The xNF **MUST** respond to an ONAP request to deliver the\ncurrent data for any of the record types defined in\n`Event Records - Data Structure Description`_ by returning the requested\nrecord, populated with the current field values. (Currently the defined\nrecord types include fault fields, mobile flow fields, measurements for\nxNF scaling fields, and syslog fields. Other record types will be added\nin the future as they become standardized and are made available.)", + "full_title": "", + "hide_links": "", + "id": "R-70266", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Asynchronous and Synchronous Data Delivery", + "sections": [ + "Asynchronous and Synchronous Data Delivery", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-70276": { + "description": "A VNF HEAT's Orchestration Nested Template's YAML file\nname **MUST NOT** be in the format '{vm-type}.y[a]ml' where\n'{vm-type}' is defined in the Heat Orchestration Template.", + "full_title": "", + "hide_links": "", + "id": "R-70276", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Nested Heat file", + "sections": [ + "Nested Heat file", + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-70496": { + "description": "The xNF **MUST** implement the protocol operation:\n**commit(confirmed, confirm-timeout)** - Commit candidate\nconfiguration datastore to the running configuration.", + "full_title": "", + "hide_links": "", + "id": "R-70496", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-70757": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vm_role' is passed into a\nNested YAML file, the parameter name 'vm_role' **MUST NOT** change.", + "full_title": "", + "hide_links": "", + "id": "R-70757", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vm_role", + "sections": [ + "vm_role", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-70933": { + "description": "The VNF **MUST** provide the ability to migrate to newer\nversions of cryptographic algorithms and protocols with no impact.", + "full_title": "", + "hide_links": "", + "id": "R-70933", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-70964": { + "description": "If a VNF's Port is attached to an internal network and the port's\nIP addresses are statically assigned by the VNF's Heat Orchestration\\\nTemplate (i.e., enumerated in the Heat Orchestration Template's\nenvironment file), the 'OS::Neutron::Port' Resource's\n\n * property 'fixed_ips' map property 'ip_address' **MUST** be used\n * property 'fixed_ips' map property 'subnet'/'subnet_id'\n **MUST NOT** be used", + "full_title": "", + "hide_links": "", + "id": "R-70964", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Items to Note", + "sections": [ + "Items to Note", + "Introduction", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-71152": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'image' parameter **MUST** be declared as\ntype: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-71152", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: image", + "sections": [ + "Property: image", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-71493": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource **MUST** contain the metadata map value parameter\n'vf\\_module\\_id'.", + "full_title": "", + "hide_links": "", + "id": "R-71493", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vf_module_id", + "sections": [ + "vf_module_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-71577": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' is attaching to an external network, and an IPv6 address\nis assigned using the property 'fixed_ips' map property 'ip_address' and\nthe parameter type is defined as a string, the parameter name **MUST** follow\nthe naming convention\n\n * '{vm-type}_{network-role}\\_v6\\_ip\\_{index}'\n\nwhere\n\n * '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n * '{network-role}' is the {network-role} of the external network\n * the value for {index} must start at zero (0) and increment by one", + "full_title": "", + "hide_links": "", + "id": "R-71577", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-71699": { + "description": "A VNF's Heat Orchestration Template's Resource\n**MUST NOT** reference a HTTP-based Nested YAML file.", + "full_title": "", + "hide_links": "", + "id": "R-71699", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "type", + "sections": [ + "type", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-71787": { + "description": "The VNF **MUST** comply with Segregation of Duties (access to a\nsingle layer and no developer may access production without special\noversight) when persons or non-person entities access VNFs.", + "full_title": "", + "hide_links": "", + "id": "R-71787", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-71842": { + "description": "The VNF **MUST** include the field \"service or program used for\naccess\" in the Security alarms (where applicable and technically feasible).", + "full_title": "", + "hide_links": "", + "id": "R-71842", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-72184": { + "description": "The xNF **MUST** have routable FQDNs for all the endpoints\n(VMs) of a xNF that contain chef-clients which are used to register\nwith the Chef Server. As part of invoking xNF actions, ONAP will\ntrigger push jobs against FQDNs of endpoints for a xNF, if required.", + "full_title": "", + "hide_links": "", + "id": "R-72184", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Client Requirements", + "sections": [ + "Chef Client Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-72243": { + "description": "The VNF **MUST** provide or support the Identity and Access\nManagement (IDAM) based threat detection data for Phishing / SMishing.", + "full_title": "", + "hide_links": "", + "id": "R-72243", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-72483": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource **MUST** contain the metadata map value parameter\n'vnf_name'.", + "full_title": "", + "hide_links": "", + "id": "R-72483", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vnf_name", + "sections": [ + "vnf_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-72871": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_id' **MUST NOT**\nbe enumerated in the Heat Orchestration Template's environment file.", + "full_title": "", + "hide_links": "", + "id": "R-72871", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vf_module_id", + "sections": [ + "vf_module_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73067": { + "description": "The VNF **MUST** use industry standard cryptographic algorithms\nand standard modes of operations when implementing cryptography.", + "full_title": "", + "hide_links": "", + "id": "R-73067", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73213": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Neutron::SecurityGroup that is applicable to more than\none {vm-type} and one internal network Resource ID **SHOULD**\nuse the naming convention\n\n * int_{network-role}_security_group\n\nwhere\n\n * {network-role} is the network-role", + "full_title": "", + "hide_links": "", + "id": "R-73213", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Neutron::SecurityGroup", + "sections": [ + "OS::Neutron::SecurityGroup", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73223": { + "description": "The VNF **MUST** support proactive monitoring to detect and\nreport the attacks on resources so that the VNFs and associated VMs can\nbe isolated, such as detection techniques for resource exhaustion, namely\nOS resource attacks, CPU attacks, consumption of kernel memory, local\nstorage attacks.", + "full_title": "", + "hide_links": "", + "id": "R-73223", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73228": { + "description": "A VNF's Heat Orchestration Template's parameter\n'{network-role}_net_fqdn'\n**MUST** be declared as type 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-73228", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Contrail Network Parameters", + "Contrail Resource Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73285": { + "description": "The xNF **MUST** must encode, address and deliver the data\nas described in the previous paragraphs.", + "full_title": "", + "hide_links": "", + "id": "R-73285", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Asynchronous and Synchronous Data Delivery", + "sections": [ + "Asynchronous and Synchronous Data Delivery", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73364": { + "description": "The VNF **MUST** support at least two major versions of the\nVNF software and/or sub-components to co-exist within production\nenvironments at any time so that upgrades can be applied across\nmultiple systems in a staggered manner.", + "full_title": "", + "hide_links": "", + "id": "R-73364", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Deployment Optimization", + "sections": [ + "Deployment Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73468": { + "description": "The xNF **MUST** allow the NETCONF server connection\nparameters to be configurable during virtual machine instantiation\nthrough Heat templates where SSH keys, usernames, passwords, SSH\nservice and SSH port numbers are Heat template parameters.", + "full_title": "", + "hide_links": "", + "id": "R-73468", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73541": { + "description": "The VNF **MUST** use access controls for VNFs and their\nsupporting computing systems at all times to restrict access to\nauthorized personnel only, e.g., least privilege. These controls\ncould include the use of system configuration or access control\nsoftware.", + "full_title": "", + "hide_links": "", + "id": "R-73541", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73560": { + "description": "The xNF Package **MUST** include documentation about monitoring\nparameters/counters exposed for virtual resource management and xNF\napplication management.", + "full_title": "", + "hide_links": "", + "id": "R-73560", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-73583": { + "description": "The VNF **MUST** allow changes of configuration parameters\nto be consumed by the VNF without requiring the VNF or its sub-components\nto be bounced so that the VNF availability is not effected.", + "full_title": "", + "hide_links": "", + "id": "R-73583", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Configuration Management", + "sections": [ + "Application Configuration Management", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-74304": { + "description": "A VNF's Heat Orchestration Template's Environment file extension\n**MUST** be in the lower case format '.env'.", + "full_title": "", + "hide_links": "", + "id": "R-74304", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Heat Orchestration Template Filenames", + "sections": [ + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-74481": { + "description": "The VNF **MUST NOT** require the use of a dynamic routing\nprotocol unless necessary to meet functional requirements.", + "full_title": "", + "hide_links": "", + "id": "R-74481", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-74712": { + "description": "The VNF **MUST** utilize FQDNs (and not IP address) for\nboth Service Chaining and scaling.", + "full_title": "", + "hide_links": "", + "id": "R-74712", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-74763": { + "description": "The xNF provider **MUST** provide an artifact per xNF that contains\nall of the xNF Event Records supported. The artifact should include\nreference to the specific release of the xNF Event Stream Common Event\nData Model document it is based on. (e.g.,\n`VES Event Listener <https://onap.readthedocs.io/en/latest/submodules/vnfsdk/model.git/docs/files/VESEventListener.html>`__)", + "full_title": "", + "hide_links": "", + "id": "R-74763", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-74958": { + "description": "The VNF **MUST** activate security alarms automatically when\nthe following event is detected: unsuccessful attempts to gain permissions\nor assume the identity of another user.", + "full_title": "", + "hide_links": "", + "id": "R-74958", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-74978": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'workload_context' **MUST** be\ndeclared as type: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-74978", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "workload_context", + "sections": [ + "workload_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-75041": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, expire\npasswords at regular configurable intervals.", + "full_title": "", + "hide_links": "", + "id": "R-75041", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-75141": { + "description": "A VNF's Heat Orchestration Template's resource name\n(i.e., <resource ID>) **MUST** only contain alphanumeric\ncharacters and underscores ('_').", + "full_title": "", + "hide_links": "", + "id": "R-75141", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "resource ID", + "sections": [ + "resource ID", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-75202": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'workload_context' is passed\ninto a Nested YAML file, the parameter name 'workload_context'\n**MUST NOT** change.", + "full_title": "", + "hide_links": "", + "id": "R-75202", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "workload_context", + "sections": [ + "workload_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-75343": { + "description": "The VNF **MUST** provide the capability of testing the\nvalidity of a digital certificate by recognizing the identity represented\nby the certificate - the \"distinguished name\".", + "full_title": "", + "hide_links": "", + "id": "R-75343", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-75608": { + "description": "The xNF provider **MUST** provide playbooks to be loaded\non the appropriate Ansible Server.", + "full_title": "", + "hide_links": "", + "id": "R-75608", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Management via Ansible", + "sections": [ + "Configuration Management via Ansible", + "Resource Configuration", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-75850": { + "description": "The VNF **SHOULD** decouple persistent data from the VNFC\nand keep it in its own datastore that can be reached by all instances\nof the VNFC requiring the data.", + "full_title": "", + "hide_links": "", + "id": "R-75850", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-76014": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::ServiceHealthCheck' Resource ID **MUST**\ncontain the '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-76014", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::ServiceHealthCheck", + "sections": [ + "OS::ContrailV2::ServiceHealthCheck", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-76057": { + "description": "A VNF Heat Orchestration Template's Nested YAML file name **MUST**\ncontain only alphanumeric characters and underscores '_' and **MUST NOT**\ncontain the case insensitive word 'base'.", + "full_title": "", + "hide_links": "", + "id": "R-76057", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Nested Heat file", + "sections": [ + "Nested Heat file", + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-76160": { + "description": "When\n\n- the VNF's Heat Orchestration Template's resource\n 'OS::Neutron::Port' in an Incremental Module is attaching to an\n internal network that is created in the Base Module, AND\n- an IPv6 address is being Cloud Assigned by OpenStack's DHCP Service AND\n- the internal network IPv6 subnet is to be specified using the property\n 'fixed_ips' map property 'subnet'/'subnet_id',\n\nthe parameter **MUST** follow the naming convention\n * 'int\\_{network-role}_v6_subnet_id'\nwhere\n * '{network-role}' is the network role of the internal network\n\n- Note that the parameter **MUST** be defined as an 'output' parameter in\n the base module.", + "full_title": "", + "hide_links": "", + "id": "R-76160", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: subnet_id", + "sections": [ + "Property: fixed_ips, Map Property: subnet_id", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-76449": { + "description": "A VNF's Heat Orchestration Template's **MUST NOT**\ncontain the Resource 'OS::Neutron::FloatingIPAssociation'.", + "full_title": "", + "hide_links": "", + "id": "R-76449", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-76682": { + "description": "If a VNF's Heat Orchestration Template\n'OS::ContrailV2::InterfaceRouteTable' resource\n'interface_route_table_routes' property\n'interface_route_table_routes_route' map property parameter\n'{vm-type}_{network-role}_route_prefixes'\n**MUST NOT** be enumerated in the VNF's Heat Orchestration Template's\nEnvironment File.", + "full_title": "", + "hide_links": "", + "id": "R-76682", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Interface Route Table Prefixes for Contrail InterfaceRoute Table", + "sections": [ + "Interface Route Table Prefixes for Contrail InterfaceRoute Table", + "Contrail Resource Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-76718": { + "description": "If a VNF's Heat Orchestration Template uses the intrinsic function\n'get\\_file', the 'get\\_file' target **MUST** be referenced in\nthe Heat Orchestration Template by file name.", + "full_title": "", + "hide_links": "", + "id": "R-76718", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Heat Files Support (get_file)", + "sections": [ + "Heat Files Support (get_file)", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-76901": { + "description": "The VNF **MUST** support a container rebuild mechanism based on existing\nimage (e.g. Glance image in Openstack environment) or a snapshot.", + "full_title": "", + "hide_links": "", + "id": "R-76901", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Virtual Function - Container Recovery Requirements", + "sections": [ + "Virtual Function - Container Recovery Requirements", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-77157": { + "description": "The VNF **MUST** conform to approved request, workflow\nauthorization, and authorization provisioning requirements when\ncreating privileged users.", + "full_title": "", + "hide_links": "", + "id": "R-77157", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-77334": { + "description": "The VNF **MUST** allow configurations and configuration parameters\nto be managed under version control to ensure consistent configuration\ndeployment, traceability and rollback.", + "full_title": "", + "hide_links": "", + "id": "R-77334", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Configuration Management", + "sections": [ + "Application Configuration Management", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-77667": { + "description": "The VNF **MUST** test for adherence to the defined performance\nbudget at each layer, during each delivery cycle so that the performance\nbudget is measured and feedback is provided where the performance budget\nis not met.", + "full_title": "", + "hide_links": "", + "id": "R-77667", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Deployment Optimization", + "sections": [ + "Deployment Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-77707": { + "description": "The xNF provider **MUST** include a Manifest File that\ncontains a list of all the components in the xNF package.", + "full_title": "", + "hide_links": "", + "id": "R-77707", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Description", + "sections": [ + "Resource Description", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-78010": { + "description": "The VNF **MUST** use the NCSP's IDAM API for Identification,\nauthentication and access control of customer or VNF application users.", + "full_title": "", + "hide_links": "", + "id": "R-78010", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-78066": { + "description": "The VNF **MUST** support requests for information from law\nenforcement and government agencies.", + "full_title": "", + "hide_links": "", + "id": "R-78066", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-78116": { + "description": "The xNF **MUST** update status on the Chef Server\nappropriately (e.g., via a fail or raise an exception) if the\nchef-client run encounters any critical errors/failures when\nexecuting a xNF action.", + "full_title": "", + "hide_links": "", + "id": "R-78116", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-78282": { + "description": "The xNF **MUST** conform to the NETCONF RFC 6242,\n\"Using the Network Configuration Protocol over Secure Shell\".", + "full_title": "", + "hide_links": "", + "id": "R-78282", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-78380": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' is attaching to an internal network, and an IPv4 address\nis assigned using the property 'fixed_ips' map property 'ip_address' and\nthe parameter type is defined as a string, the parameter name **MUST** follow\nthe naming convention\n\n * '{vm-type}\\_int\\_{network-role}\\_ip\\_{index}'\n\nwhere\n\n * '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n * '{network-role}' is the {network-role} of the internal network\n * the value for {index} must start at zero (0) and increment by one", + "full_title": "", + "hide_links": "", + "id": "R-78380", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-78569": { + "description": "A VNF's Heat Orchestration Template's Resouce **MAY**\ndeclare the attribute \"external_id:\".", + "full_title": "", + "hide_links": "", + "id": "R-78569", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "external_id", + "sections": [ + "external_id", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-79107": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, enforce\na configurable maximum number of Login attempts policy for the users.\nVNF provider must comply with \"terminate idle sessions\" policy.\nInteractive sessions must be terminated, or a secure, locking screensaver\nmust be activated requiring authentication, after a configurable period\nof inactivity. The system-based inactivity timeout for the enterprise\nidentity and access management system must also be configurable.", + "full_title": "", + "hide_links": "", + "id": "R-79107", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-79224": { + "description": "The xNF **MUST** have the chef-client be preloaded with\nvalidator keys and configuration to register with the designated\nChef Server as part of the installation process.", + "full_title": "", + "hide_links": "", + "id": "R-79224", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Chef Client Requirements", + "sections": [ + "Chef Client Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-79412": { + "description": "The xNF **MAY** use another option which is expected to include TCP\nfor high volume streaming asynchronous data sets and for other high volume\ndata sets. TCP delivery can be used for either JSON or binary encoded data\nsets.", + "full_title": "", + "hide_links": "", + "id": "R-79412", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Addressing and Delivery Protocol", + "sections": [ + "Addressing and Delivery Protocol", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-79531": { + "description": "The VNF Heat Orchestration Template **MUST** define\n\"outputs\" in the volume template for each Cinder volume\nresource universally unique identifier (UUID) (i.e. ONAP\nVolume Template Output Parameters).", + "full_title": "", + "hide_links": "", + "id": "R-79531", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Cinder Volumes", + "sections": [ + "Cinder Volumes", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-79817": { + "description": "A VNF's Heat Orchestration Template's parameter defined as\ntype \"comma_delimited_list\" **MAY** have a parameter constraint defined.", + "full_title": "", + "hide_links": "", + "id": "R-79817", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "constraints", + "sections": [ + "constraints", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-79952": { + "description": "The VNF **SHOULD** support container snapshots if not for rebuild\nand evacuate for rollback or back out mechanism.", + "full_title": "", + "hide_links": "", + "id": "R-79952", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "All Layer Redundancy", + "sections": [ + "All Layer Redundancy", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-80070": { + "description": "The VNF **MUST** handle errors and exceptions so that they do\nnot interrupt processing of incoming VNF requests to maintain service\ncontinuity (where the error is not directly impacting the software\nhandling the incoming request).", + "full_title": "", + "hide_links": "", + "id": "R-80070", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-80335": { + "description": "The VNF **MUST** make visible a Warning Notice: A formal\nstatement of resource intent, i.e., a warning notice, upon initial\naccess to a VNF provider user who accesses private internal networks\nor Company computer resources, e.g., upon initial logon to an internal\nweb site, system or application which requires authentication.", + "full_title": "", + "hide_links": "", + "id": "R-80335", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-80374": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_name'\n**MUST NOT** be enumerated in the Heat Orchestration Template's\nenvironment file.", + "full_title": "", + "hide_links": "", + "id": "R-80374", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vf_module_name", + "sections": [ + "vf_module_name", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-80829": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property\nsubnet'/'subnet_id' parameter '{network-role}_subnet_v6_id'\n**MUST NOT** be enumerated in the VNF's Heat Orchestration Template's\nEnvironment File.", + "full_title": "", + "hide_links": "", + "id": "R-80829", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: subnet_id", + "sections": [ + "Property: fixed_ips, Map Property: subnet_id", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-80898": { + "description": "TThe xNF **MUST** support heartbeat via a <get> with null filter.", + "full_title": "", + "hide_links": "", + "id": "R-80898", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-81147": { + "description": "The VNF **MUST** have greater restrictions for access and\nexecution, such as up to 3 factors of authentication and restricted\nauthorization, for commands affecting network services, such as\ncommands relating to VNFs.", + "full_title": "", + "hide_links": "", + "id": "R-81147", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-81214": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::InterfaceRouteTable' Resource ID **MUST**\ncontain the '{network-role}'.", + "full_title": "", + "hide_links": "", + "id": "R-81214", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::InterfaceRouteTable", + "sections": [ + "OS::ContrailV2::InterfaceRouteTable", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-81339": { + "description": "A VNF Heat Orchestration Template's Base Module file name **MUST**\ninclude 'base' in the filename and **MUST** match one of the following four\nformats:\n\n * 'base_<text>.y[a]ml'\n * '<text>_base.y[a]ml'\n * 'base.y[a]ml'\n * '<text>_base_<text>'.y[a]ml\n\nwhere 'base' is case insensitive and where '<text>'\n**MUST** contain only alphanumeric characters\nand underscores '_' and **MUST NOT** contain the case\ninsensitive word 'base'.", + "full_title": "", + "hide_links": "", + "id": "R-81339", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Base Modules", + "sections": [ + "Base Modules", + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-81725": { + "description": "The VNF **MUST** have a corresponding environment file for an Incremental Module.", + "full_title": "", + "hide_links": "", + "id": "R-81725", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-81777": { + "description": "The xNF **MUST** be configured with initial address(es) to use\nat deployment time. Subsequently, address(es) may be changed through\nONAP-defined policies delivered from ONAP to the xNF using PUTs to a\nRESTful API, in the same manner that other controls over data reporting\nwill be controlled by policy.", + "full_title": "", + "hide_links": "", + "id": "R-81777", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Addressing and Delivery Protocol", + "sections": [ + "Addressing and Delivery Protocol", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-81979": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::NetworkIpam' Resource ID **MAY**\nuse the naming convention\n\n * {network-role}_RNI\n\nwhere\n\n * {network-role} is the network-role\n * 'RNI' signifies that it is the Resource Network IPAM", + "full_title": "", + "hide_links": "", + "id": "R-81979", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::NetworkIpam", + "sections": [ + "OS::ContrailV2::NetworkIpam", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-82018": { + "description": "The xNF **MUST** load the Ansible Server SSH public key onto xNF\nVM(s) as part of instantiation. This will allow the Ansible Server\nto authenticate to perform post-instantiation configuration without\nmanual intervention and without requiring specific xNF login IDs and\npasswords.\n\nCAUTION: For VNFs configured using Ansible, to eliminate the need\nfor manual steps, post-instantiation and pre-configuration, to\nupload of SSH public keys, SSH public keys loaded during (heat)\ninstantiation shall be preserved and not removed by (heat) embedded\n(userdata) scripts.", + "full_title": "", + "hide_links": "", + "id": "R-82018", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Client Requirements", + "sections": [ + "Ansible Client Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-82115": { + "description": "When a VNF's Heat Orchestration Template's resource is associated\nwith a single '{vm-type}' and a single external network, the Resource\nID text **MUST** contain both the '{vm-type}' and the '{network-role}'\n\n - the '{vm-type}' **MUST** appear before the '{network-role}' and **MUST**\n be separated by an underscore '_'\n\n - e.g.,'{vm-type}\\_{network-role}', '{vm-type}\\_{index}\\_{network-role}'\n\n - note that an '{index}' value **MAY** separate the '{vm-type}' and the\n '{network-role}' and when this occurs underscores **MUST** separate the\n three values.", + "full_title": "", + "hide_links": "", + "id": "R-82115", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource IDs", + "sections": [ + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-82134": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_id' **MUST**\nbe declared as type: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-82134", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vf_module_id", + "sections": [ + "vf_module_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-82223": { + "description": "The VNF **MUST** be decomposed if the functions have\nsignificantly different scaling characteristics (e.g., signaling\nversus media functions, control versus data plane functions).", + "full_title": "", + "hide_links": "", + "id": "R-82223", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-82481": { + "description": "A VNF's Heat Orchestration Template's Resource property\nparameter that is associated with a unique Virtual Machine\ntype **MUST** include '{vm-type}' as part of the parameter\nname with two exceptions:\n\n 1.) The Resource OS::Nova::Server property availability_zone parameter\n **MUST NOT** be prefixed with a common '{vm-type} identifier,\n\n 2.) The Resource OS::Nova::Server eight mandatory and optional metadata\n parameters (vnf_name, vnf_id, vf_module_id, vf_module_name, vm_role,\n vf_module_index, environment_context, workload_context) **MUST NOT**\n be prefixed with a common '{vm-type}' identifier.", + "full_title": "", + "hide_links": "", + "id": "R-82481", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{vm-type}", + "sections": [ + "{vm-type}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-82551": { + "description": "When a VNF's Heat Orchestration Template's resource is associated\nwith a single '{vm-type}' and a single internal network, the Resource ID\n**MUST** contain both the '{vm-type}' and the 'int\\_{network-role}' and\n\n - the '{vm-type}' **MUST** appear before the 'int\\_{network-role}' and\n **MUST** be separated by an underscore '_'\n\n - e.g.,'{vm-type}\\_int\\_{network-role}', '{vm-type}_{index}\\_int\\_{network-role}'\n\n - note that an '{index}' value **MAY** separate the '{vm-type}' and the\n 'int\\_{network-role}' and when this occurs underscores **MUST** separate\n the three values.", + "full_title": "", + "hide_links": "", + "id": "R-82551", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource IDs", + "sections": [ + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-82732": { + "description": "A VNF Heat Orchestration Template's Cinder Volume Module **MUST** be\nnamed identical to the base or incremental module it is supporting with\n'_volume appended'", + "full_title": "", + "hide_links": "", + "id": "R-82732", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Cinder Volume Modules", + "sections": [ + "Cinder Volume Modules", + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-82811": { + "description": "The xNF **MUST** support ONAP Controller's **StartApplication** command.", + "full_title": "", + "hide_links": "", + "id": "R-82811", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "LifeCycle Management Related Commands", + "sections": [ + "LifeCycle Management Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83015": { + "description": "A VNF's '{network-role}' assigned to an external network **MUST**\nbe different than the '{network-role}' assigned to the VNF's internal\nnetworks, if internal networks exist.", + "full_title": "", + "hide_links": "", + "id": "R-83015", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83146": { + "description": "The xNF **MUST** support ONAP Controller's **StopApplication** command.", + "full_title": "", + "hide_links": "", + "id": "R-83146", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "LifeCycle Management Related Commands", + "sections": [ + "LifeCycle Management Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83227": { + "description": "The VNF **MUST** Provide the capability to encrypt data in\ntransit on a physical or virtual network.", + "full_title": "", + "hide_links": "", + "id": "R-83227", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83412": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'allowed_address_pairs'\nmap property 'ip_address' parameter\n'{vm-type}_{network-role}_floating_ip'\n**MUST NOT** be enumerated in the\nVNF's Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-83412", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83418": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'allowed_address_pairs'\nmap property 'ip_address' parameter\n'{vm-type}_{network-role}_floating_v6_ip'\n**MUST NOT** be enumerated in the\nVNF's Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-83418", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83500": { + "description": "The VNF **MUST** provide the capability of allowing certificate\nrenewal and revocation.", + "full_title": "", + "hide_links": "", + "id": "R-83500", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83677": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property\nsubnet'/'subnet_id' parameter '{network-role}_subnet_id'\n**MUST NOT** be enumerated in the VNF's Heat Orchestration Template's\nEnvironment File.", + "full_title": "", + "hide_links": "", + "id": "R-83677", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: subnet_id", + "sections": [ + "Property: fixed_ips, Map Property: subnet_id", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83706": { + "description": "When a VNF's Heat Orchestration Template's Virtual Machine\n(i.e., 'OS::Nova::Server' Resource) boots from an image, the\n'OS::Nova::Server' resource property 'image' **MUST** be used.", + "full_title": "", + "hide_links": "", + "id": "R-83706", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Boot Options", + "sections": [ + "Boot Options", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83790": { + "description": "The xNF **MUST** implement the **:validate** capability.", + "full_title": "", + "hide_links": "", + "id": "R-83790", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-83873": { + "description": "The xNF **MUST** support **:rollback-on-error** value for\nthe <error-option> parameter to the <edit-config> operation. If any\nerror occurs during the requested edit operation, then the target\ndatabase (usually the running configuration) will be left unaffected.\nThis provides an 'all-or-nothing' edit mode for a single <edit-config>\nrequest.", + "full_title": "", + "hide_links": "", + "id": "R-83873", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-84123": { + "description": "When\n\n- the VNF's Heat Orchestration Template's resource 'OS::Neutron::Port'\n in an Incremental Module is attaching to an internal network\n that is created in the Base Module, AND\n- an IPv4 address is being Cloud Assigned by OpenStack's DHCP Service AND\n- the internal network IPv4 subnet is to be specified using the\n property 'fixed_ips' map property 'subnet'/'subnet_id',\n\nthe parameter **MUST** follow the naming convention\n * 'int\\_{network-role}_subnet_id'\nwhere\n * '{network-role}' is the network role of the internal network\n\n- Note that the parameter **MUST** be defined as an 'output' parameter in\n the base module.", + "full_title": "", + "hide_links": "", + "id": "R-84123", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: subnet_id", + "sections": [ + "Property: fixed_ips, Map Property: subnet_id", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-84160": { + "description": "The VNF **MUST** have security logging for VNFs and their\nOSs be active from initialization. Audit logging includes automatic\nroutines to maintain activity records and cleanup programs to ensure\nthe integrity of the audit/logging systems.", + "full_title": "", + "hide_links": "", + "id": "R-84160", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-84322": { + "description": "A VNF's Heat Orchestration Template's Resource property\nparameter that is associated with an internal network\n**MUST** include 'int\\_{network-role}' as part of the parameter\nname, where 'int\\_' is a hard coded string.", + "full_title": "", + "hide_links": "", + "id": "R-84322", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{network-role}", + "sections": [ + "{network-role}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-84366": { + "description": "The xNF Package **MUST** include documentation describing\nxNF Functional APIs that are utilized to build network and\napplication services. This document describes the externally exposed\nfunctional inputs and outputs for the xNF, including interface\nformat and protocols supported.", + "full_title": "", + "hide_links": "", + "id": "R-84366", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Description", + "sections": [ + "Resource Description", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-84457": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::PortTuple' Resource ID **MAY**\nuse the naming convention\n\n * {vm-type}_RPT\n\nwhere\n\n * {vm-type} is the vm-type\n * 'RPT' signifies that it is the Resource Port Tuple", + "full_title": "", + "hide_links": "", + "id": "R-84457", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::PortTuple", + "sections": [ + "OS::ContrailV2::PortTuple", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-84473": { + "description": "The VNF **MUST** enable DPDK in the guest OS for VNF's requiring\nhigh packets/sec performance. High packet throughput is defined as greater\nthan 500K packets/sec.", + "full_title": "", + "hide_links": "", + "id": "R-84473", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-84517": { + "description": "The Contrail GUI has a limitation displaying special characters.\nThe issue is documented in\nhttps://bugs.launchpad.net/juniperopenstack/+bug/1590710.\nIt is recommended that special **SHOULD** characters be avoided.\nHowever, if special characters must be used, note that for\nthe following resources:\n\n * Virtual Machine\n * Virtual Network\n * Port\n * Security Group\n * Policies\n * IPAM Creation\n\nthe only special characters supported\nare - \\\" ! $\\ \\ ' ( ) = ~ ^ | @ ` { } [ ] > , . _\"", + "full_title": "", + "hide_links": "", + "id": "R-84517", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Contrail Issue with Values for the Property Name", + "sections": [ + "Contrail Issue with Values for the Property Name", + "Resource Property \u201cname\u201d", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-84879": { + "description": "The xNF **MUST** have the capability of maintaining a primary\nand backup DNS name (URL) for connecting to ONAP collectors, with the\nability to switch between addresses based on conditions defined by policy\nsuch as time-outs, and buffering to store messages until they can be\ndelivered. At its discretion, the service provider may choose to populate\nonly one collector address for a xNF. In this case, the network will\npromptly resolve connectivity problems caused by a collector or network\nfailure transparently to the xNF.", + "full_title": "", + "hide_links": "", + "id": "R-84879", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Addressing and Delivery Protocol", + "sections": [ + "Addressing and Delivery Protocol", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85028": { + "description": "The VNF **MUST** authenticate system to system access and\ndo not conceal a VNF provider user's individual accountability for\ntransactions.", + "full_title": "", + "hide_links": "", + "id": "R-85028", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85235": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' is attaching to an internal network, and an IPv4\naddress is assigned using the property 'fixed_ips' map property 'ip_address'\nand the parameter type is defined as a comma_delimited_list, the parameter\nname **MUST** follow the naming convention\n\n * '{vm-type}\\_int\\_{network-role}_ips'\n\nwhere\n\n * '{vm-type}' is the {vm-type} associated with the OS::Nova::Server\n * '{network-role}' is the {network-role} of the internal network", + "full_title": "", + "hide_links": "", + "id": "R-85235", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85328": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource **MAY** contain the metadata map value parameter 'vm_role'.", + "full_title": "", + "hide_links": "", + "id": "R-85328", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "vm_role", + "sections": [ + "vm_role", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85419": { + "description": "The VNF **SHOULD** use REST APIs exposed to Client\nApplications for the implementation of OAuth 2.0 Authorization\nCode Grant and Client Credentials Grant, as the standard interface\nfor a VNF.", + "full_title": "", + "hide_links": "", + "id": "R-85419", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85633": { + "description": "The VNF **MUST** implement Data Storage Encryption\n(database/disk encryption) for Sensitive Personal Information (SPI)\nand other subscriber identifiable data.\n\nNote: Subscribers SPI/data must be encrypted at rest, and other\nsubscriber identifiable data should be encrypted at rest. Other\ndata protection requirements exist and should be well understood\nby the developer.", + "full_title": "", + "hide_links": "", + "id": "R-85633", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85653": { + "description": "The xNF **MUST** provide metrics (e.g., number of sessions,\nnumber of subscribers, number of seats, etc.) to ONAP for tracking\nevery license.", + "full_title": "", + "hide_links": "", + "id": "R-85653", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Licensing Requirements", + "sections": [ + "Licensing Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85734": { + "description": "If a VNF's Heat Orchestration Template contains the property 'name'\nfor a non 'OS::Nova::Server' resource, the intrinsic function\n'str_replace' **MUST** be used in conjunction with the ONAP\nsupplied metadata parameter 'vnf_name' to generate a unique value.", + "full_title": "", + "hide_links": "", + "id": "R-85734", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Property \u201cname\u201d", + "sections": [ + "Resource Property \u201cname\u201d", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85800": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'name' parameter is defined as a\n'comma_delimited_list', a parameter **MUST** be delcared once for all\n'OS::Nova::Server' resources associated with the '{vm-type}'.", + "full_title": "", + "hide_links": "", + "id": "R-85800", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: Name", + "sections": [ + "Property: Name", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85959": { + "description": "The VNF **SHOULD** automatically enable/disable added/removed\nsub-components or component so there is no manual intervention required.", + "full_title": "", + "hide_links": "", + "id": "R-85959", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-85991": { + "description": "The xNF provider **MUST** provide a universal license key\nper xNF to be used as needed by services (i.e., not tied to a VM\ninstance) as the recommended solution. The xNF provider may provide\npools of Unique xNF License Keys, where there is a unique key for\neach xNF instance as an alternate solution. Licensing issues should\nbe resolved without interrupting in-service xNFs.", + "full_title": "", + "hide_links": "", + "id": "R-85991", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Licensing Requirements", + "sections": [ + "Licensing Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86182": { + "description": "When the VNF's Heat Orchestration Template's Resource 'OS::Neutron::Port'\nis attaching to an internal network, and the internal network is created in a different\nHeat Orchestration Template than the 'OS::Neutron::Port', the 'network'\nparameter name **MUST**\n\n- follow the naming convention 'int\\_{network-role}_net_id' if the Neutron\n network UUID value is used to reference the network\n- follow the naming convention 'int\\_{network-role}_net_name' if the\n OpenStack network name in is used to reference the network.\n\nwhere '{network-role}' is the network-role of the internal network and a 'get_param' **MUST** be used as the intrinsic function.", + "full_title": "", + "hide_links": "", + "id": "R-86182", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: network", + "sections": [ + "Property: network", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86235": { + "description": "The xNF Package **MUST** include documentation about the monitoring\nparameters that must include latencies, success rates, retry rates, load\nand quality (e.g., DPM) for the key transactions/functions supported by\nthe xNF and those that must be exercised by the xNF in order to perform\nits function.", + "full_title": "", + "hide_links": "", + "id": "R-86235", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86237": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf_module_id' is passed\ninto a Nested YAML file, the parameter name 'vf\\_module\\_id'\n**MUST NOT** change.", + "full_title": "", + "hide_links": "", + "id": "R-86237", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vf_module_id", + "sections": [ + "vf_module_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86261": { + "description": "The VNF **MUST NOT** allow vendor access to VNFs remotely.", + "full_title": "", + "hide_links": "", + "id": "R-86261", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86285": { + "description": "The VNF Heat Orchestration Template **MUST** have a corresponding\nenvironment file, even if no parameters are required to be enumerated.", + "full_title": "", + "hide_links": "", + "id": "R-86285", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Environment File Format", + "sections": [ + "Environment File Format", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86476": { + "description": "If a VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vm_role' value **MUST** only\ncontain alphanumeric characters and underscores '_'.", + "full_title": "", + "hide_links": "", + "id": "R-86476", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vm_role", + "sections": [ + "vm_role", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86497": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Cinder::VolumeAttachment Resource ID **SHOULD** use the naming convention\n\n * {vm-type}_volume_attachment_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {index} starts at zero and increments by one", + "full_title": "", + "hide_links": "", + "id": "R-86497", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Cinder::VolumeAttachment", + "sections": [ + "OS::Cinder::VolumeAttachment", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86585": { + "description": "The VNFC **SHOULD** minimize the use of state within\na VNFC to facilitate the movement of traffic from one instance\nto another.", + "full_title": "", + "hide_links": "", + "id": "R-86585", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86586": { + "description": "The xNF **MUST** use the YANG configuration models and RESTCONF\n[RFC8040] (https://tools.ietf.org/html/rfc8040).", + "full_title": "", + "hide_links": "", + "id": "R-86586", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Asynchronous and Synchronous Data Delivery", + "sections": [ + "Asynchronous and Synchronous Data Delivery", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86588": { + "description": "A VNF's Heat Orchestration Template's '{network-role}' case\nin Resource property parameter names **SHOULD** match the case\nof '{network-role}' in Resource IDs and vice versa.", + "full_title": "", + "hide_links": "", + "id": "R-86588", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "{network-role}", + "sections": [ + "{network-role}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86758": { + "description": "The VNF **SHOULD** provide an automated test suite to validate\nevery new version of the software on the target environment(s). The tests\nshould be of sufficient granularity to independently test various\nrepresentative VNF use cases throughout its lifecycle. Operations might\nchoose to invoke these tests either on a scheduled basis or on demand to\nsupport various operations functions including test, turn-up and\ntroubleshooting.", + "full_title": "", + "hide_links": "", + "id": "R-86758", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86835": { + "description": "The VNF **MUST** set the default settings for user access\nto sensitive commands and data to deny authorization.", + "full_title": "", + "hide_links": "", + "id": "R-86835", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86926": { + "description": "A VNF's incremental module **MAY** be used for scale out only.", + "full_title": "", + "hide_links": "", + "id": "R-86926", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-86972": { + "description": "A VNF **SHOULD** create the internal network in the VNF's Heat\nOrchestration Template Base Module.", + "full_title": "", + "hide_links": "", + "id": "R-86972", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87004": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::Cinder::Volume Resource ID **SHOULD** use the naming convention\n\n * {vm-type}_volume_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {index} starts at zero and increments by one", + "full_title": "", + "hide_links": "", + "id": "R-87004", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "OS::Cinder::Volume", + "sections": [ + "OS::Cinder::Volume", + "OpenStack Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87096": { + "description": "A VNF **MAY** contain zero, one or more than one internal networks.", + "full_title": "", + "hide_links": "", + "id": "R-87096", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Internal Networks", + "sections": [ + "Internal Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87123": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property 'ip_address'\nparameter '{vm-type}_{network-role}\\_v6\\_ip\\_{index}'\n**MUST NOT** be enumerated in the VNF's Heat Orchestration\nTemplate's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-87123", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87135": { + "description": "The VNF **MUST** comply with NIST standards and industry\nbest practices for all implementations of cryptography.", + "full_title": "", + "hide_links": "", + "id": "R-87135", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF API Security Requirements", + "sections": [ + "VNF API Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87247": { + "description": "A VNF Heat Orchestration Template's Incremental Module file name\n**MUST** contain only alphanumeric characters and underscores '_' and\n**MUST NOT** contain the case insensitive word 'base'.", + "full_title": "", + "hide_links": "", + "id": "R-87247", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Incremental Modules", + "sections": [ + "Incremental Modules", + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87352": { + "description": "The VNF **SHOULD** utilize Cloud health checks, when available\nfrom the Network Cloud, from inside the application through APIs to check\nthe network connectivity, dropped packets rate, injection, and auto failover\nto alternate sites if needed.", + "full_title": "", + "hide_links": "", + "id": "R-87352", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Monitoring & Dashboard", + "sections": [ + "Monitoring & Dashboard", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87485": { + "description": "A VNF's Heat Orchestration Template's file extension **MUST**\nbe in the lower case format '.yaml' or '.yml'.", + "full_title": "", + "hide_links": "", + "id": "R-87485", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Heat Orchestration Template Filenames", + "sections": [ + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87563": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::InstanceIp' that is configuring an\nIPv6 Address on a port attached to an internal network\nResource ID **MUST** use the naming convention\n\n * {vm-type}_{vm-type_index}_int_{network-role}_vmi_{vmi_index}_v6_IP_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port is attached to\n * {vmi_index} is the instance of the the virtual machine interface\n (e.g., port) on the vm-type\n attached to the network of {network-role}\n * 'v6_IP' signifies that an IPv6 address is being configured\n * {index} is the index of the IPv6 address", + "full_title": "", + "hide_links": "", + "id": "R-87563", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::InstanceIp", + "sections": [ + "OS::ContrailV2::InstanceIp", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87564": { + "description": "The xNF **SHOULD** conform its YANG model to RFC 7317,\n\"A YANG Data Model for System Management\".", + "full_title": "", + "hide_links": "", + "id": "R-87564", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87817": { + "description": "When the VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'name' parameter is defined as a\n'comma_delimited_list', the parameter name **MUST** follow the naming\nconvention '{vm-type}_names'.", + "full_title": "", + "hide_links": "", + "id": "R-87817", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: Name", + "sections": [ + "Property: Name", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-87848": { + "description": "A VNF's Heat Orchestration Template's 'get\\_file' target files\n**MUST** be in the same directory hierarchy as the VNF's Heat\nOrchestration Templates.", + "full_title": "", + "hide_links": "", + "id": "R-87848", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Heat Files Support (get_file)", + "sections": [ + "Heat Files Support (get_file)", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-88026": { + "description": "The xNF **MUST** include a NETCONF server enabling\nruntime configuration and lifecycle management capabilities.", + "full_title": "", + "hide_links": "", + "id": "R-88026", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Management", + "sections": [ + "Configuration Management", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-88031": { + "description": "The xNF **SHOULD** implement the protocol operation:\n**delete-config(target) -** Delete the named configuration\ndatastore target.", + "full_title": "", + "hide_links": "", + "id": "R-88031", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-88199": { + "description": "The VNF **MUST** utilize a persistent datastore service that\ncan meet the data performance/latency requirements. (For example:\nDatastore service could be a VNFC in VNF or a DBaaS in the Cloud\nexecution environment)", + "full_title": "", + "hide_links": "", + "id": "R-88199", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-88482": { + "description": "The xNF **SHOULD** use REST using HTTPS delivery of plain\ntext JSON for moderate sized asynchronous data sets, and for high\nvolume data sets when feasible.", + "full_title": "", + "hide_links": "", + "id": "R-88482", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Addressing and Delivery Protocol", + "sections": [ + "Addressing and Delivery Protocol", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-88524": { + "description": "A VNF's Heat Orchestration Template's Volume Template\nOutput Parameter names **MUST** contain {vm-type} when appropriate.", + "full_title": "", + "hide_links": "", + "id": "R-88524", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Volume Template Output Parameters:", + "sections": [ + "ONAP Volume Template Output Parameters:", + "ONAP Output Parameter Names", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-88536": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource **SHOULD** contain the metadata map value parameter\n'environment_context'.", + "full_title": "", + "hide_links": "", + "id": "R-88536", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "environment_context", + "sections": [ + "environment_context", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-88540": { + "description": "A VNF's Heat Orchestration Template's Resource\n'OS::ContrailV2::InstanceIp' that is configuring an IPv6 Address\non a sub-interface port attached to a sub-interface network\nResource ID **MUST** use the naming convention\n\n * {vm-type}_{vm-type_index}_subint_{network-role}_vmi_{vmi_index}_v6_IP_{index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port is attached to\n * {vmi_index} is the instance of the the virtual machine interface\n (e.g., port) on the vm-type\n attached to the network of {network-role}\n * 'v6_IP' signifies that an IPv6 address is being configured\n * {index} is the index of the IPv6 address", + "full_title": "", + "hide_links": "", + "id": "R-88540", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::InstanceIp", + "sections": [ + "OS::ContrailV2::InstanceIp", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-88863": { + "description": "A VNF's Heat Orchestration Template's parameter defined as\ntype \"number\" **MUST** have a parameter constraint of \"range\" or\n\"allowed_values\" defined.", + "full_title": "", + "hide_links": "", + "id": "R-88863", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "constraints", + "sections": [ + "constraints", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-88899": { + "description": "The xNF **MUST** support simultaneous <commit> operations\nwithin the context of this locking requirements framework.", + "full_title": "", + "hide_links": "", + "id": "R-88899", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-89010": { + "description": "The VNF **MUST** survive any single points of software failure\ninternal to the VNF (e.g., in memory structures, JMS message queues).", + "full_title": "", + "hide_links": "", + "id": "R-89010", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "All Layer Redundancy", + "sections": [ + "All Layer Redundancy", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-89474": { + "description": "The VNF **MUST** log the field \"Login ID\" in the security audit logs.", + "full_title": "", + "hide_links": "", + "id": "R-89474", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-89571": { + "description": "The xNF **MUST** support and provide artifacts for configuration\nmanagement using at least one of the following technologies;\na) Netconf/YANG, b) Chef, or c) Ansible.\n\nNote: The requirements for Netconf/YANG, Chef, and Ansible protocols\nare provided separately and must be supported only if the corresponding\nprotocol option is provided by the xNF providor.", + "full_title": "", + "hide_links": "", + "id": "R-89571", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Configuration", + "sections": [ + "Resource Configuration", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-89753": { + "description": "The VNF **MUST NOT** install or use systems, tools or\nutilities capable of capturing or logging data that was not created\nby them or sent specifically to them in production, without\nauthorization of the VNF system owner.", + "full_title": "", + "hide_links": "", + "id": "R-89753", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-89800": { + "description": "The VNF **MUST NOT** require Hypervisor-level customization\nfrom the cloud provider.", + "full_title": "", + "hide_links": "", + "id": "R-89800", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VNF Devops", + "sections": [ + "VNF Devops" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-89868": { + "description": "The VNF Heat Orchestration Template **MUST** have unique\nfile names within the scope of the VNF for a nested heat yaml file.", + "full_title": "", + "hide_links": "", + "id": "R-89868", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Nested Heat Template Requirements", + "sections": [ + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-89913": { + "description": "A VNF's Heat Orchestration Template's Cinder Volume Module Output\nParameter(s) **MUST** include the UUID(s) of the Cinder Volumes created in\ntemplate, while other Output Parameters **MAY** be included.", + "full_title": "", + "hide_links": "", + "id": "R-89913", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Volume Module Output Parameters", + "sections": [ + "ONAP Volume Module Output Parameters", + "Output Parameters", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-90007": { + "description": "The xNF **MUST** implement the protocol operation:\n**close-session()**- Gracefully close the current session.", + "full_title": "", + "hide_links": "", + "id": "R-90007", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-90022": { + "description": "A VNF's Nested YAML file **MAY** be invoked more than\nonce by a VNF's Heat Orchestration Template.", + "full_title": "", + "hide_links": "", + "id": "R-90022", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Nested Heat Template Requirements", + "sections": [ + "Nested Heat Template Requirements", + "Heat Template Constructs", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-90152": { + "description": "A VNF's Heat Orchestration Template's \"resources:\"\nsection **MUST** contain the declaration of at least one resource.", + "full_title": "", + "hide_links": "", + "id": "R-90152", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "resources", + "sections": [ + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-90206": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property 'ip_address'\nparameter '{vm-type}\\_int\\_{network-role}_int_ips' **MUST** be enumerated in\nthe VNF's Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-90206", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-90279": { + "description": "A VNF's Heat Orchestration template's parameter **MUST**\nbe used in a resource with the exception of the parameters\nfor the OS::Nova::Server resource property availability_zone.", + "full_title": "", + "hide_links": "", + "id": "R-90279", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "parameters", + "sections": [ + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-90526": { + "description": "A VNF Heat Orchestration Template parameter\ndeclaration **MUST** not contain the default attribute.", + "full_title": "", + "hide_links": "", + "id": "R-90526", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "default", + "sections": [ + "default", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-90632": { + "description": "The xNF Package **MUST** include documentation about KPIs and\nmetrics that need to be collected at each VM for capacity planning\nand performance management purposes.", + "full_title": "", + "hide_links": "", + "id": "R-90632", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Control Loop", + "sections": [ + "Resource Control Loop", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-90748": { + "description": "A VNF's Heat Orchestration Template's Resource OS::Heat::CinderVolume\n**MAY** be defined in an Incremental Module.", + "full_title": "", + "hide_links": "", + "id": "R-90748", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-91125": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'image' parameter **MUST** be enumerated in\nthe Heat Orchestration Template's Environment File and a value **MUST** be\nassigned.", + "full_title": "", + "hide_links": "", + "id": "R-91125", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: image", + "sections": [ + "Property: image", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-91273": { + "description": "A VNF Heat Orchestration's template's parameter for\nthe OS::Nova::Server resource property availability_zone\n**MAY NOT** be used in any OS::Nova::Resource.", + "full_title": "", + "hide_links": "", + "id": "R-91273", + "impacts": "", + "introduced": "", + "keyword": "MAY NOT", + "links": [], + "notes": "", + "section_name": "parameters", + "sections": [ + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-91342": { + "description": "A VNF Heat Orchestration Template's Base Module's Environment File\n**MUST** be named identical to the VNF Heat Orchestration Template's Base\nModule with '.y[a]ml' replaced with '.env'.", + "full_title": "", + "hide_links": "", + "id": "R-91342", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Base Modules", + "sections": [ + "Base Modules", + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-91497": { + "description": "A VNF's incremental module **MAY** be used for both deployment\nand scale out.", + "full_title": "", + "hide_links": "", + "id": "R-91497", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "ONAP VNF Modularity Overview", + "sections": [ + "ONAP VNF Modularity Overview", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-91745": { + "description": "The xNF **MUST** update the Ansible Server and other entities\nstoring and using the SSH keys for authentication when the SSH\nkeys used by Ansible are regenerated/updated.\n\nNote: Ansible Server itself may be used to upload new SSH public\nkeys onto supported VNFs.", + "full_title": "", + "hide_links": "", + "id": "R-91745", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Client Requirements", + "sections": [ + "Ansible Client Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-91810": { + "description": "If a VNF requires ONAP to assign a Virtual IP (VIP) Address to\nports connected an external network, the port\n**MUST NOT** have more than one IPv4 VIP address.", + "full_title": "", + "hide_links": "", + "id": "R-91810", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-92193": { + "description": "A VNF's Heat Orchestration Template's parameter\n'{network-role}_net_fqdn'\n**MUST NOT** be enumerated in the VNF's Heat Orchestration Template's\nEnvironment File.", + "full_title": "", + "hide_links": "", + "id": "R-92193", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Contrail Network Parameters", + "Contrail Resource Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-92207": { + "description": "The VNF **SHOULD** implement a mechanism for automated and\nfrequent \"system configuration (automated provisioning / closed loop)\"\nauditing.", + "full_title": "", + "hide_links": "", + "id": "R-92207", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-92571": { + "description": "The VNF **MUST** provide operational instrumentation such as\nlogging, so as to facilitate quick resolution of issues with the VNF to\nprovide service continuity.", + "full_title": "", + "hide_links": "", + "id": "R-92571", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Monitoring & Dashboard", + "sections": [ + "Monitoring & Dashboard", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-92866": { + "description": "The xNF **MUST** include as part of post-instantiation configuration\ndone by Ansible Playbooks the removal/update of the SSH public key from\n/root/.ssh/authorized_keys, and update of SSH keys loaded through\ninstantiation to support Ansible. This may include download and install of\nnew SSH keys and new mechanized IDs.", + "full_title": "", + "hide_links": "", + "id": "R-92866", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Ansible Client Requirements", + "sections": [ + "Ansible Client Requirements", + "VNF Configuration via Ansible Requirements", + "Ansible Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-92935": { + "description": "The VNF **SHOULD** minimize the propagation of state information\nacross multiple data centers to avoid cross data center traffic.", + "full_title": "", + "hide_links": "", + "id": "R-92935", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "Minimize Cross Data-Center Traffic", + "sections": [ + "Minimize Cross Data-Center Traffic", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-93030": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property 'ip_address'\nparameter '{vm-type}_{network-role}_v6_ips' **MUST NOT** be enumerated in the\nVNF's Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-93030", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-93177": { + "description": "When the VNF's Heat Orchestration Template's\nResource 'OS::Neutron::Port' is attaching to an internal\nnetwork, and the internal network is created in the same Heat\nOrchestration Template than the 'OS::Neutron::Port', the 'network'\nparameter name **MUST** obtain the UUID of the internal network\nby using the intrinsic function 'get_resource' or 'get_attr'\nand referencing the Resource ID of the internal network.", + "full_title": "", + "hide_links": "", + "id": "R-93177", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: network", + "sections": [ + "Property: network", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-93272": { + "description": "A VNF **MAY** have one or more ports connected to a unique\nexternal network. All VNF ports connected to the unique external\nnetwork **MUST** have Cloud Assigned IP Addresses\nor **MUST** have ONAP SDN-C assigned IP addresses.", + "full_title": "", + "hide_links": "", + "id": "R-93272", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Items to Note", + "sections": [ + "Items to Note", + "Introduction", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-93443": { + "description": "The xNF **MUST** define all data models in YANG [RFC6020],\nand the mapping to NETCONF shall follow the rules defined in this RFC.", + "full_title": "", + "hide_links": "", + "id": "R-93443", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-93496": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property 'ip_address'\nparameter associated with an internal network, i.e.,\n\n- {vm-type}\\_int\\_{network-role}\\_ip\\_{index}\n- {vm-type}\\_int\\_{network-role}\\_ip\\_v6\\_{index}\n- {vm-type}\\_int\\_{network-role}_ips\n- {vm-type}\\_int\\_{network-role}_v6_ips\n\n**MUST** be enumerated in the Heat Orchestration Template's Environment\nFile and IP addresses **MUST** be assigned.", + "full_title": "", + "hide_links": "", + "id": "R-93496", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-93860": { + "description": "The VNF **MUST** provide the capability to integrate with an\nexternal encryption service.", + "full_title": "", + "hide_links": "", + "id": "R-93860", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-94084": { + "description": "The xNF **MUST** support ONAP Controller's **ConfigScaleOut** command.", + "full_title": "", + "hide_links": "", + "id": "R-94084", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Commands", + "sections": [ + "Configuration Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-94509": { + "description": "A VNF Heat Orchestration Template's Incremental Module's Environment\nFile **MUST** be named identical to the VNF Heat Orchestration Template's\nIncremental Module with '.y[a]ml' replaced with '.env'.", + "full_title": "", + "hide_links": "", + "id": "R-94509", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Incremental Modules", + "sections": [ + "Incremental Modules", + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-94525": { + "description": "The VNF **MUST** log connections to a network listener of the\nresource.", + "full_title": "", + "hide_links": "", + "id": "R-94525", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-94669": { + "description": "If a VNF has one IPv6 OAM Management IP Address and the\nIP Address needs to be inventoried in ONAP's AAI\ndatabase, an output parameter **MUST** be declared in only one of the\nVNF's Heat Orchestration Templates and the parameter **MUST** be named\n'oam_management_v6_address'.", + "full_title": "", + "hide_links": "", + "id": "R-94669", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OAM Management IP Addresses", + "sections": [ + "OAM Management IP Addresses", + "Predefined Output Parameters", + "ONAP Output Parameter Names", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-94978": { + "description": "The VNF **MUST** provide a mechanism and tool to perform a graceful\nshutdown of all the containers (VMs) in the VNF without impacting service\nor service quality assuming another VNF in same or other geographical\nlocation can take over traffic and process service requests.", + "full_title": "", + "hide_links": "", + "id": "R-94978", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Resilient Error Handling", + "sections": [ + "Application Resilient Error Handling", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-95105": { + "description": "The VNF **MUST** host connectors for access to the application layer.", + "full_title": "", + "hide_links": "", + "id": "R-95105", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-95303": { + "description": "A VNF's Heat Orchestration Template **MUST** be defined using valid YAML.", + "full_title": "", + "hide_links": "", + "id": "R-95303", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "YAML Format", + "sections": [ + "YAML Format", + "General Guidelines", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-95430": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vm_role' **MUST** be\ndeclared as type: 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-95430", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "vm_role", + "sections": [ + "vm_role", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-95864": { + "description": "The VNF **MUST** use commercial tools that comply with X.509\nstandards and produce x.509 compliant keys for public/private key generation.", + "full_title": "", + "hide_links": "", + "id": "R-95864", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-95950": { + "description": "The xNF **MUST** provide a NETCONF interface fully defined\nby supplied YANG models for the embedded NETCONF server.", + "full_title": "", + "hide_links": "", + "id": "R-95950", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Configuration Management", + "sections": [ + "Configuration Management", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-96227": { + "description": "A VNF's Heat Orchestration Template's parameter defined as\ntype \"json\" **MAY** have a parameter constraint defined.", + "full_title": "", + "hide_links": "", + "id": "R-96227", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "constraints", + "sections": [ + "constraints", + "parameters", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-96253": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::ContrailV2::VirtualMachineInterface that is attaching\nto an external network Resource ID **MUST**\nuse the naming convention\n\n * {vm-type}_{vm-type_index}_{network-role}_vmi_{vmi_index}\n\nwhere\n\n * {vm-type} is the vm-type\n * {vm-type_index} is the instance of the {vm-type}\n * {network-role} is the network-role of the network\n that the port (i.e. virtual machine interface) is attached to\n * {vmi_index} is the instance of the the vmi on the vm-type\n attached to the network of {network-role}", + "full_title": "", + "hide_links": "", + "id": "R-96253", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::VirtualMachineInterface", + "sections": [ + "OS::ContrailV2::VirtualMachineInterface", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-96482": { + "description": "When a VNF's Heat Orchestration Template's resource is associated\nwith a single external network, the Resource ID **MUST** contain the text\n'{network-role}'.", + "full_title": "", + "hide_links": "", + "id": "R-96482", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource IDs", + "sections": [ + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-96554": { + "description": "The xNF **MUST** implement the protocol operation:\n**unlock(target)** - Unlock the configuration datastore target.", + "full_title": "", + "hide_links": "", + "id": "R-96554", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-96634": { + "description": "The xNF provider **MUST** describe scaling capabilities\nto manage scaling characteristics of the xNF.", + "full_title": "", + "hide_links": "", + "id": "R-96634", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Compute, Network, and Storage Requirements", + "sections": [ + "Compute, Network, and Storage Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-96983": { + "description": "A VNF's Heat Orchestration Template's Resource ID that is\nassociated with an internal network **MUST** include\n'int\\_{network-role}' as part of the Resource ID, where\n'int\\_' is a hard coded string.", + "full_title": "", + "hide_links": "", + "id": "R-96983", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "{network-role}", + "sections": [ + "{network-role}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-97102": { + "description": "The VNF Package **MUST** include VM requirements via a Heat\ntemplate that provides the necessary data for VM specifications\nfor all VNF components - for hypervisor, CPU, memory, storage.", + "full_title": "", + "hide_links": "", + "id": "R-97102", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Compute, Network, and Storage Requirements", + "sections": [ + "Compute, Network, and Storage Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-97199": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nresource **MUST** contain the attribute \"metadata\".", + "full_title": "", + "hide_links": "", + "id": "R-97199", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "metadata", + "sections": [ + "metadata", + "resources", + "Heat Orchestration Template Structure", + "Heat Orchestration Template Format", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-97201": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property 'ip_address'\nparameter '{vm-type}\\_int\\_{network-role}\\_v6\\_ip\\_{index}'\n**MUST** be enumerated in the VNF's Heat Orchestration\nTemplate's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-97201", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-97293": { + "description": "The xNF provider **MUST NOT** require audits\nof Service Provider's business.", + "full_title": "", + "hide_links": "", + "id": "R-97293", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Licensing Requirements", + "sections": [ + "Licensing Requirements", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-97343": { + "description": "The xNF **MUST** support ONAP Controller's **UpgradeBackup** command.", + "full_title": "", + "hide_links": "", + "id": "R-97343", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "LifeCycle Management Related Commands", + "sections": [ + "LifeCycle Management Related Commands", + "Controller Interactions With VNF", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-97445": { + "description": "The VNF **MUST** log the field \"date/time\" in the security audit\nlogs.", + "full_title": "", + "hide_links": "", + "id": "R-97445", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-97529": { + "description": "The xNF **SHOULD** implement the protocol operation:\n**get-schema(identifier, version, format) -** Retrieve the YANG schema.", + "full_title": "", + "hide_links": "", + "id": "R-97529", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "NETCONF Server Requirements", + "sections": [ + "NETCONF Server Requirements", + "VNF Configuration via NETCONF Requirements", + "NETCONF Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-97726": { + "description": "A VNF's Heat Orchestration Template's Base Module Output\nParameter names **MUST** contain {vm-type} and/or {network-role}\nwhen appropriate.", + "full_title": "", + "hide_links": "", + "id": "R-97726", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Base Module Output Parameters:", + "sections": [ + "ONAP Base Module Output Parameters:", + "ONAP Output Parameter Names", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98138": { + "description": "When a VNF's Heat Orchestration Template's resource is associated\nwith a single internal network, the Resource ID **MUST** contain the text\n'int\\_{network-role}'.", + "full_title": "", + "hide_links": "", + "id": "R-98138", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource IDs", + "sections": [ + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98191": { + "description": "The xNF **MUST** vary the frequency that asynchronous data\nis delivered based on the content and how data may be aggregated or\ngrouped together.\n\n Note:\n\n - For example, alarms and alerts are expected to be delivered as\n soon as they appear. In contrast, other content, such as performance\n measurements, KPIs or reported network signaling may have various\n ways of packaging and delivering content. Some content should be\n streamed immediately; or content may be monitored over a time\n interval, then packaged as collection of records and delivered\n as block; or data may be collected until a package of a certain\n size has been collected; or content may be summarized statistically\n over a time interval, or computed as a KPI, with the summary or KPI\n being delivered.\n - We expect the reporting frequency to be configurable depending on\n the virtual network functions needs for management. For example,\n Service Provider may choose to vary the frequency of collection\n between normal and trouble-shooting scenarios.\n - Decisions about the frequency of data reporting will affect\n the size of delivered data sets, recommended delivery method,\n and how the data will be interpreted by ONAP. These considerations\n should not affect deserialization and decoding of the data, which\n will be guided by the accompanying JSON schema or GPB definition\n files.", + "full_title": "", + "hide_links": "", + "id": "R-98191", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Reporting Frequency", + "sections": [ + "Reporting Frequency", + "Monitoring & Management Requirements", + "Monitoring & Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98374": { + "description": "A VNF's Heat Orchestration Template's OS::Nova::Server\nResource metadata map value parameter 'vf\\_module\\_id' **MUST NOT**\nhave parameter contraints defined.", + "full_title": "", + "hide_links": "", + "id": "R-98374", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "vf_module_id", + "sections": [ + "vf_module_id", + "Resource: OS::Nova::Server \u2013 Metadata Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98391": { + "description": "The VNF **MUST**, if not using the NCSP's IDAM API, support\nRole-Based Access Control to permit/limit the user/application to\nperforming specific activities.", + "full_title": "", + "hide_links": "", + "id": "R-98391", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98407": { + "description": "A VNF's Heat Orchestration Template's '{vm-type}' **MUST** contain\nonly alphanumeric characters and/or underscores '_' and\n**MUST NOT** contain any of the following strings: '_int' or 'int\\_'\nor '\\_int\\_'.", + "full_title": "", + "hide_links": "", + "id": "R-98407", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "{vm-type}", + "sections": [ + "{vm-type}", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98450": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Nova::Server' property 'availability\\_zone' parameter name\n**MUST** follow the naming convention 'availability\\_zone\\_{index}'\nwhere the '{index}' **MUST** start at zero and increment by one.", + "full_title": "", + "hide_links": "", + "id": "R-98450", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: availability_zone", + "sections": [ + "Property: availability_zone", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98569": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'fixed_ips' map property 'ip_address'\nparameter '{vm-type}\\_int\\_{network-role}_v6_ips' **MUST** be enumerated in\nthe VNF's Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-98569", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98617": { + "description": "The xNF provider **MUST** provide information regarding any\ndependency (e.g., affinity, anti-affinity) with other xNFs and resources.", + "full_title": "", + "hide_links": "", + "id": "R-98617", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Resource Description", + "sections": [ + "Resource Description", + "VNF On-boarding and package management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98748": { + "description": "The VNF's Heat Orchestration Template's Resource\n'OS::Neutron::Port' property 'allowed_address_pairs'\nmap property 'ip_address' parameter\n**MUST** be declared as type 'string'.", + "full_title": "", + "hide_links": "", + "id": "R-98748", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VIP Assignment, External Networks, Supported by Automation", + "sections": [ + "VIP Assignment, External Networks, Supported by Automation", + "Property: allowed_address_pairs, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98905": { + "description": "The VNF's Heat Orchestration Template's Resource 'OS::Neutron::Port'\nproperty 'fixed_ips' map property 'ip_address' parameter\n'{vm-type}_{network-role}_ips' **MUST NOT** be enumerated in the VNF's\nHeat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-98905", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Property: fixed_ips, Map Property: ip_address", + "sections": [ + "Property: fixed_ips, Map Property: ip_address", + "Resource: OS::Neutron::Port - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98911": { + "description": "The xNF **MUST NOT** use any instance specific parameters\nfor the xNF in roles/cookbooks/recipes invoked for a xNF action.", + "full_title": "", + "hide_links": "", + "id": "R-98911", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Chef Roles/Requirements", + "sections": [ + "Chef Roles/Requirements", + "VNF Configuration via Chef Requirements", + "Chef Standards and Capabilities", + "Configuration Management" + ], + "status": null, + "tags": [], + "target": "XNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-98989": { + "description": "The VNF **SHOULD** utilize resource pooling (threads,\nconnections, etc.) within the VNF application so that resources\nare not being created and destroyed resulting in resource management\noverhead.", + "full_title": "", + "hide_links": "", + "id": "R-98989", + "impacts": "", + "introduced": "", + "keyword": "SHOULD", + "links": [], + "notes": "", + "section_name": "System Resource Optimization", + "sections": [ + "System Resource Optimization", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99110": { + "description": "A VNF's Heat Orchestration Template's Resource\nOS::ContrailV2::VirtualNetwork Resource ID **MUST**\nuse the naming convention\n\n * 'int_{network-role}_network'\n\nor\n\n * 'int_{network-role}_RVN' where RVN represents Resource Virtual Network", + "full_title": "", + "hide_links": "", + "id": "R-99110", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "OS::ContrailV2::VirtualNetwork", + "sections": [ + "OS::ContrailV2::VirtualNetwork", + "Contrail Heat Resources Resource ID Naming Convention", + "Resource IDs", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99112": { + "description": "The VNF **MUST** provide the capability to restrict access\nto data to specific users.", + "full_title": "", + "hide_links": "", + "id": "R-99112", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Data Protection Requirements", + "sections": [ + "VNF Data Protection Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99174": { + "description": "The VNF **MUST** comply with Individual Accountability\n(each person must be assigned a unique ID) when persons or non-person\nentities access VNFs.", + "full_title": "", + "hide_links": "", + "id": "R-99174", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Identity and Access Management Requirements", + "sections": [ + "VNF Identity and Access Management Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99646": { + "description": "A VNF's YAML files (i.e, Heat Orchestration Template files and\nNested files) **MUST** have a unique name in the scope of the VNF.", + "full_title": "", + "hide_links": "", + "id": "R-99646", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "ONAP Heat Orchestration Template Filenames", + "sections": [ + "ONAP Heat Orchestration Template Filenames", + "ONAP Heat Orchestration Templates: Overview", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99656": { + "description": "The VNF **MUST** NOT terminate stable sessions if a VNFC\ninstance fails.", + "full_title": "", + "hide_links": "", + "id": "R-99656", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Design", + "sections": [ + "VNF Design" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99730": { + "description": "The VNF **MUST** include the field \"Login ID\" in the Security\nalarms (where applicable and technically feasible).", + "full_title": "", + "hide_links": "", + "id": "R-99730", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF Security Analytics Requirements", + "sections": [ + "VNF Security Analytics Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99766": { + "description": "The VNF **MUST** allow configurations and configuration parameters\nto be managed under version control to ensure the ability to rollback to\na known valid configuration.", + "full_title": "", + "hide_links": "", + "id": "R-99766", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "Application Configuration Management", + "sections": [ + "Application Configuration Management", + "VNF Resiliency" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99771": { + "description": "The VNF **MUST** provide all code/configuration files in a\n\"Locked down\" or hardened state or with documented recommendations for\nsuch hardening. All unnecessary services will be disabled. VNF provider\ndefault credentials, community strings and other such artifacts will be\nremoved or disclosed so that they can be modified or removed during\nprovisioning.", + "full_title": "", + "hide_links": "", + "id": "R-99771", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "VNF General Security Requirements", + "sections": [ + "VNF General Security Requirements", + "VNF Security" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99794": { + "description": "An external network **MUST** have one subnet. An external network\n**MAY** have more than one subnet.", + "full_title": "", + "hide_links": "", + "id": "R-99794", + "impacts": "", + "introduced": "", + "keyword": "MUST", + "links": [], + "notes": "", + "section_name": "External Networks", + "sections": [ + "External Networks", + "Networking", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99798": { + "description": "A VNF's Heat Orchestration Template's Virtual Machine\n(i.e., OS::Nova::Server Resource) **MAY** boot from an image or **MAY**\nboot from a Cinder Volume.", + "full_title": "", + "hide_links": "", + "id": "R-99798", + "impacts": "", + "introduced": "", + "keyword": "MAY", + "links": [], + "notes": "", + "section_name": "Boot Options", + "sections": [ + "Boot Options", + "Resource: OS::Nova::Server - Parameters", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "", + "test_case": "", + "test_file": "", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + }, + "R-99812": { + "description": "A value for VNF's Heat Orchestration Template's property 'name'\nfor a non 'OS::Nova::Server' resource **MUST NOT** be declared\nin the VNF's Heat Orchestration Template's Environment File.", + "full_title": "", + "hide_links": "", + "id": "R-99812", + "impacts": "", + "introduced": "", + "keyword": "MUST NOT", + "links": [], + "notes": "", + "section_name": "Resource Property \u201cname\u201d", + "sections": [ + "Resource Property \u201cname\u201d", + "ONAP Resource ID and Parameter Naming Convention", + "Heat" + ], + "status": null, + "tags": [], + "target": "VNF", + "test": "no test found", + "test_case": "no test found", + "test_file": "no test found", + "title": "", + "title_from_content": "", + "type_name": "Requirement", + "updated": "", + "validated_by": "", + "validation_mode": "" + } + }, + "needs_amount": 750 + } + } +}
\ No newline at end of file diff --git a/ice_validator/resolution_steps.json b/ice_validator/resolution_steps.json new file mode 100644 index 0000000..83a611d --- /dev/null +++ b/ice_validator/resolution_steps.json @@ -0,0 +1,290 @@ +[ + { + "module": "test_get_file_only_reference_local_files", + "function": "test_get_file_only_reference_local_files", + "resolution_steps": "Make sure that any use of the get_file function only references local files. Local files must be referenced by a local path, not via http, https, file, ftp, ftps funcitons. To do so: \n1) locate the use of get_file in your templates \n. - Ensure the file only contains local path plus the file name.", + "header": "Get file only references local files" + }, + { + "module": "test_heat_pairs_provided", + "function": "test_heat_pairs_provided", + "resolution_steps": "Make sure that every yaml file is submitted with an associated environment (.env) file, and every environment file has an associated yaml file. Also make sure every volume template is paired to an incremental or base module. Do note that nested files do not require an associated environment file, but must be referenced in the templates.", + "header": "Every yaml has an env" + }, + { + "module": "test_heat_template_parameters_contain_required_fields", + "function": "test_heat_template_parameters_contain_required_fields", + "resolution_steps": "Make sure that any defined parameter in a heat template contains the required fields type and description. Please go through the parameters section in the associated files to make sure all parameters have those two properties defined. To do so: \n1) Locate the parameters section of each yaml template file \n - Ensure that for every parameter defined in this section, they have both a type, and description defined. \n - Ensure that those definitions are properly aligned", + "header": "All parameters do not contain the required fields" + }, + { + "module": "test_heat_template_structure", + "function": "test_heat_template_structure", + "resolution_steps": "Make sure only allowed heat template section are provided in heat template(s). \n\nTo do so please review the heat template(s) and verify only the sections 'heat_template_version', 'description', 'parameter_groups', 'parameters', 'resources', 'outputs',and 'conditions' are used and those sections declared contain values.", + "header": "Heat template including sections that are not allowed. " + }, + { + "module": "test_heat_template_structure", + "function": "test_heat_template_structure_contains_required_sections", + "resolution_steps": "Make sure all required heat template sections are provided in heat template(s). \n\nTo do so please review the heat template(s) and verify the sections 'heat_template_version', 'description', 'parameters', and 'resources' are present, and those sections contain values.", + "header": "test_heat_template_structure_contains_required_sections" + }, + { + "module": "test_heat_template_structure", + "function": "test_parameter_type", + "resolution_steps": "Make sure all parameters are an accepted 'type'.(\n'string',\n'number',\n'json',\n'comma_delimited_list',\n'boolean'\n)", + "header": "Test correct parameter types" + }, + { + "module": "test_nested_templates", + "function": "test_all_nested_templates_provided", + "resolution_steps": "Make sure that all templates referenced as nested templates were provided in the git repo. To do so: \n\n 1) Look for any references to files within templates (likely in a resource group) \n - Make sure that the file referenced is included in the repo, and named exactly the same", + "header": "All nested templates provided" + }, + { + "module": "test_all_referenced_resources_exists", + "function": "test_all_referenced_resources_exists", + "resolution_steps": "Make sure that any resource referenced via get_resource in a heat template is also defined in the same heat template. Do note that a resource in a nested file is not directly accessible in the parent template. To do so: \n\n1) Please check the resources, and outputs sections of all yaml files for any references to the function get_resource \n\n2) Then check that those resources are also defined within in the resources section of the same heat template", + "header": "All referenced resources are not defined in the same heat template" + }, + { + "module": "test_allowed_address_pairs_include_vm_type_network_role", + "function": "test_allowed_address__pairs_include_vm_type_network_role", + "resolution_steps": "Make sure that any map property ip_address under the allowed_address_pairs property for any OS::Neutron::Port meet the naming conventions specified in the guidelines. This includes using a consistent {network_role}. Do note that this naming convention is not enforced within nested files. To do so: \n\n1) Identify the network referenced in the port's definition. Do note that this may be a parameter or a resource. \n - Ensure it follows naming conventions and that it's {network_role} is included in the port's resource id, and the ip_address map property of allowed_address_pairs", + "header": "Allowed address pairs include both {vm_type} and {network_role}" + }, + { + "module": "test_availability_zone", + "function": "test_availability_zone_naming", + "resolution_steps": "Make sure all availability zones are properly formatted as per the guidelines. To do so: \n\nVerify the availability _zone property of all OS::Nova::Servers retrieves a parameter that is type string, and that each is appended with an index.", + "header": "Availability Zones correctly named" + }, + { + "module": "test_base_template_names", + "function": "test_base_template_names", + "resolution_steps": "Make sure that only the the base template pair (.yaml and .env) contains the keyword 'base'. If the base template has an associated independent volume template those should also contain the keyword 'base'. To do so: \n\n1) Look at the file names for all templates of your VNF \n - Ensure that there are only one environment and yaml file have the word 'base' in them Do note that if the base heat template has an associated independent volume template, one additional environment and yaml file will also have 'base' in their filenames.", + "header": "Only the the base template pair (.yaml and .env) must contain the keyword base" + }, + { + "module": "test_base_template_outputs_consumed", + "function": "test_base_template_outputs_consumed", + "resolution_steps": "Any output parameter defined in the base template must be consumed by another add-on module. Check that all parameters defined in your base template's output section are in the parameters and resources section of another template. To do so: \n\n1) Locate the outputs section of your base template \n\n2) Ensure that every output in that base template is defined as a parameter which is consumed in another template", + "header": "Base template outputs consumed" + }, + { + "module": "test_heat_parameter_section", + "function": "test_default_values", + "resolution_steps": "Make sure no default values are set for any parameter in the heat templates. Note any default value for a parameter should be specified in the ENV file. \n\nTo do so look at the parameters in the heat templates and look for the key default.", + "header": "Default key is specified for parameters in the heat templates. " + }, + { + "module": "test_heat_parameter_section", + "function": "test_parameter_names", + "resolution_steps": "Make sure parameter names only contain alphanumberic characters or underscores", + "header": "Test acceptable parameter names" + }, + { + "module": "test_env_and_yaml_same_name", + "function": "test_env_and_yaml_same_name", + "resolution_steps": "Make sure all ENV filenames are identical to an associated Heat template filename. To do so: \n\n1) Locate all .env files \n2) Ensure there is a corresponding .yaml file; that is, both files should have the same name up to the file extension (.env or .yaml)", + "header": "ENV file names not matching heat template names." + }, + { + "module": "test_env_files_provided", + "function": "test_env_files_provided", + "resolution_steps": "Make sure the necessary environment file(s) have been provided. Do note that the git repo must have a flat directory structure which means that no subfolders or compressed files are allowed in the repository. \n\nTo do so, please follow the instructions found in the Documentation section for how to commit or upload those environment file(s).", + "header": "Make sure the necessary environment file(s) has/have been provided" + }, + { + "module": "test_environment_file_structure", + "function": "test_environment_file_contains_required_sections", + "resolution_steps": "Make sure environment filed have the required sections as per the guidelines. ", + "header": "Environment file is missing required section" + }, + { + "module": "test_heat_template_and_env_file_extension", + "function": "test_environment_file_extension", + "resolution_steps": "Make sure that values of parameters in the environment file are valid per the guidelines. \n\nTo do so check that parameter values are not dictionaries.", + "header": "Parameter values are dictionaries" + }, + { + "module": "test_environment_file_structure", + "function": "test_environment_structure", + "resolution_steps": "Make sure environment files only have the allowed sections as per the guidelines. ", + "header": "Environment file has invalid sections" + }, + { + "module": "test_fixed_ips_format", + "function": "test_fixed_ips_format", + "resolution_steps": "Make sure that any map property ip_address under the fixed_ips property for any OS::Neutron::Port meet the naming conventions per as specified in the guidelines. This includes using a consistent {network_role}. Do note that this naming convention is not enforced within nested files. To do so: \n\n1) Identify the network referenced in the port's definition. Do note that this may be a parameter or a resource. \n - Ensure it follows naming conventions and that it's {network_role} is included in the port's resource ID, and the ip_address map property of fixed_ips", + "header": "The map property ip_address in fixed_ips do not follow the naming convention" + }, + { + "module": "test_fixed_ips_include_vm_type_network_role", + "function": "test_fixed_ips_include_vm_type_network_role", + "resolution_steps": "Make sure that any map property ip_address under the fixed_ips property for any OS::Neutron::Port include using a consistent {vm-type}, and {network_role}. Do note that this naming convention is not enforced within nested files. To do so: \n\n1) Identify the network referenced in the port's definition. Do note that this may be a parameter or a resource. \n - Ensure it follows naming conventions and that it's {network_role} is included in the port's resource ID, and the ip_address map property of fixed_ips \n\n2) Identify the Nova server the port is attached to \n - Ensure that server's {vm_type} is properly included in all ip_address map property of fixed_ips", + "header": "Fixed IPs include both {vm_type} and {network_role}" + }, + { + "module": "test_heat_templates_provided", + "function": "test_heat_templates_provided", + "resolution_steps": "Make sure the necessary Heat template(s) have been provided. Do note that the git repo must have a flat directory structure which means that no subfolders or compressed files are allowed in the repository. \n\nTo do so, please follow the instructions found in the Documentation section for how to commit or upload the Heat template(s).", + "header": "Make sure the necessary Heat template(s) have been provided" + }, + { + "module": "test_network_format", + "function": "test_network_format", + "resolution_steps": "Make sure that any network property for any OS::Neutron::Port meets the naming conventions per as specified in the guidelines including a consistent {network_role}. Do note that there is no naming convention applied within nested files. To do so: \n\n1) Identify the network referenced in the port's definition. Do note that this may be a parameter or a resource. \n - Ensure that the network property is following the naming convention per as outlined in the guidelines. \n - Ensure that the required port property 'network' is used in the templates (not the commonly mistaken used network_id instead of network)", + "header": "The network port property do not follow the right format" + }, + { + "module": "test_no_unused_parameters_between_env_and_templates", + "function": "test_no_unused_parameters_between_env_and_templates", + "resolution_steps": "Conditional (on the test result A OR B): \n\n A (Left set)): Make sure that all parameters defined in environment file are also defined as parameters corresponding heat template. To do so: \n1) Locate the parameters section of the environment file, and it's corresponding yaml file \n - Ensure that the parameters defined in the environment file are also defined in the yaml file \n\n OR ===================================================== \n\nB (Right set)): Make sure that all parameters defined in heat template are also defined as a parameter in the environment file. Do note that you should not comment out any parameters in the environment file. To do so: \n1) Locate the parameters section of the yaml file, and it's corresponding environment file \n - Ensure that the parameters defined in the yaml file are also defined, and not commented out in the environment file", + "header": "Parameters are either missing in the environment file or the corresponding heat template" + }, + { + "module": "test_nova_servers_correct_parameter_types", + "function": "test_nova_servers_correct_parameter_types", + "resolution_steps": "Make sure all nova servers have properly assigned types for the parameters used for their name, image and flavor as per the guidelines. To do so: \n\n1) Identify the OS::Nova::Server properties Name, Image and Flavor. \n2) Identify the parameter passed to Name, Image and Flavor \n3) Verify the type for each parameter is correct.", + "header": "Server parameters correct types" + }, + { + "module": "test_nova_servers_resource_ids", + "function": "test_nova_servers_valid_resource_ids", + "resolution_steps": "Make sure all OS::Nova::Servers have valid resource ID as per the guidelines. To do so: \n\n1) Identify the Image and Flavor property for the server \n - Ensure the {vm-type} of the Flavor and Image match the {vm-type} in the server resource ID.", + "header": "Nova server resource ID is valid" + }, + { + "module": "test_heat_numeric_parameters", + "function": "test_numeric_parameter", + "resolution_steps": "Make sure that all parameters with the type number have the constraints either `range` or `allowed_values` defined. To do so: \n\n1) Locate any parameter with the type 'number' in the parameters section of any yaml file of your VNF \n2) Ensure that each has either `range` or `allowed_values` properly defined", + "header": "Numeric parameter constraints" + }, + { + "module": "test_heat_parameter_section", + "function": "test_parameter_valid_keys", + "resolution_steps": "Make sure the keys specified for parameters in the heat template are valid per the guidelines. To do so check the keys for parameter in the heat templates. ", + "header": "Heat template parameters using invalid keys" + }, + { + "module": "test_parse_yaml", + "function": "test_parse_yaml", + "resolution_steps": "Make sure all files contain valid yaml.", + "header": "Invalid yaml" + }, + { + "module": "test_port_resource_ids", + "function": "test_port_resource_ids", + "resolution_steps": "Make sure that all Port resource IDs follow the right naming convention to include the {vm_type} of the nova server its associated to and also contains the {network_role} of the network its associated with. To do so: \n\n1) Identify the Nova server the port is attached to \n - Ensure that server's {vm_type} is properly included in the resource id for the port \n2) Identify the network referenced in the port's definition. Do note that this may be a parameter or a resource. \n - Ensure it follows naming conventions and that it's {network_role} is included in the port's resource ID. \n3) If the port is associated with a single internal network, its resource id should include int_{network-role}", + "header": "Port resource IDs must include the {vm_type} and {network_role} they're associated with" + }, + { + "module": "test_referenced_and_defined_parameters_match", + "function": "test_referenced_and_defined_parameters_match", + "resolution_steps": "Conditional (on the test result A OR B): \n\n(RIGHT SET) \nA) Make sure that any parameter which is referenced in the heat template is also defined in the parameter section in the same yaml heat template. \nTo do so: \n1) Locate any parameter referenced by the get_param function in the resources section of a yaml heat template \n - Ensure that each parameter is defined in the parameters section of that file \n\nOR ===================================================== \n\n(LEFT SET) \nB) Make sure that any parameter found in the parameter section is referenced in the same heat template. \n1) Locate the parameters section of the yaml heat template \n - Ensure that every parameter defined is referenced in the resource section of the template via the get_param function", + "header": "All referenced and defined parameters must match 1:1" + }, + { + "module": "test_required_parameters_specified_in_env_files", + "function": "test_required_parameters_provided_in_env_file", + "resolution_steps": "Make sure that the required metadata (vnf_id, vf_module_id, and vnf_name) is defined in the environment file if the corresponding heat template contains any OS::Nova::Server resources. To do so: \n\n1) Check if any OS::Nova::Server resources are defined in a Heat template \n - If there are, ensure that the required parameters vnf_id, vf_module_id, and vnf_name are defined in the corresponding environment file", + "header": "The required metadata parameters are missing in the environment file" + }, + { + "module": "test_required_parameters_specified_in_heat_templates", + "function": "test_required_parameters_provided_in_heat_template", + "resolution_steps": "Make sure that the required metadata (vnf_id, vf_module_id, and vnf_name) is defined in the same yaml file of the corresponding heat template that defines OS::Nova::Server resources. To do so: \n\n1) Check if any OS::Nova::Server resources are defined in a Heat template \n - If there are, ensure that the required parameters vnf_id, vf_module_id, and vnf_name are defined in that template's parameters section", + "header": "The required metadata parameters are missing in the yaml file" + }, + { + "module": "test_reserve_port_fixed_ips_has_base_outputs", + "function": "test_reserve_port_fixed_ips_has_base_outputs", + "resolution_steps": "Make sure all fixed_ips specified in reserved ports are also exported as outputs in the same base template. To do so: \n\n1) Identify all OS::Neutron::Ports that are reserved ports by looking for 'reserve' at the. beginning of the resource id for the port. \n2) Verify each 'reserve' port has a corrisponding output parameter", + "header": "Reserve port fixed_ips have outputs in base template" + }, + { + "module": "test_servers_have_required_metadata", + "function": "test_servers_have_required_metadata", + "resolution_steps": "Make sure that the required metadata (vnf_id, vf_module_id, and vnf_name) are specified as metadata for all OS::Nova::Server resources in a heat template. Do note that this also applies for any OS::Nova::Server resources specified in nested files. To do so: \n\n1) Identify each OS::Nova::Server resources in a Heat template \n - Ensure that the required parameters vnf_id, vf_module_id, and vnf_name are defined as metadata to the same resource", + "header": "Make sure all required parameters are specified properly in the heat template if a server resource is defined" + }, + { + "module": "test_servers_metadata_use_get_param", + "function": "test_servers_metadata_use_get_param", + "resolution_steps": "Make sure that the required metadata fields (vnf_id, vf_module_id, and vnf_name) use the get_param function to assign their values. Do note that this also applies for any OS::Nova::Server resources specified in nested files. To do so: \n\n1) Identify each OS::Nova::Server resources in a Heat template \n2) Locate the metadata section for each server \n - Ensure that the required metadata vnf_id, vf_module_id, and vnf_name use the get_param function to assign their values \n - Ensure they are formatted as valid heat", + "header": "Server metadata uses get_param" + }, + { + "module": "test_subnet_format", + "function": "test_subnet_format", + "resolution_steps": "Make sure that any map property subnet_id under the subnet property for any OS::Neutron::Port meet the naming conventions per as specified in the guidelines. This includes using a consistent {network_role}. Do note that this naming convention is not enforced within nested files. To do so: \n\n1) Identify the network referenced in the port's definition. Do note that this may be a parameter or a resource. \n - Ensure it follows naming conventions and that it's {network_role} is included in the subnet_id map property of subnet", + "header": "The map property subnet_id in subnet do not follow the naming convention" + }, + { + "module": "test_unique_name_resources", + "function": "test_unique_name_resources", + "resolution_steps": "Make sure that the property 'name' for each resource is unique across all templates in the VNF. To do so: \n\n1) Locate the property 'name' under any resource \n2) Ensure that parameter is not used for other resources across the template set", + "header": "Unique name properties for resources" + }, + { + "module": "test_unique_name_str_replace_use_req_params", + "function": "test_unique_name_str_replace_use_req_params", + "resolution_steps": "Make sure any resource's property, name, which uses str_replace also uses the required parameters (vnf_name and/or vf_module_id) to construct the name. To do so: \n\n1) Locate any resource definition which uses str_replace in its name property \n - Ensure that vnf_name, vf_module_id, or both are used to construct the name", + "header": "Resources using str_replace to specific the name are not using the required params" + }, + { + "module": "test_unique_name_str_replace_use_req_params_in_tmpl", + "function": "test_unique_name_str_replace_use_req_params_in_tmpl", + "resolution_steps": "Make sure that all parameters used to define the resource property name via str_replace is defined in the parameters section. To do so: \n\n1) Locate any resource definition which uses str_replace in its name property \n - Ensure that any parameter used in the template section of the str_replace function are in the parameters section of the str_replace function", + "header": "Resources using str_replace to specific the name are not using the required params" + }, + { + "module": "test_unique_resources_across_all_templates", + "function": "test_unique_resources_across_all_yaml_files", + "resolution_steps": "Make sure all resource IDs are unique across all yaml files in your repository. To do so: 1) Locate all resource definitions in the template set - Ensure that the resource id is unique across all templates", + "header": "Resource IDs must be unique across all templates" + }, + { + "module": "test_nova_servers_vm_types_use_get_param", + "function": "test_vm_type_assignments_on_nova_servers_only_use_get_param", + "resolution_steps": "Ensure that the OS::Nova::Server properties for name, flavor, and image only use the get_param function. To do so: \n\n1) Locate any OS::Nova::Server resource \n - Ensure that the properties: name, flavor, and image do not use any function other than get_param.", + "header": "Nova Server name, flavor, and image use get_param" + }, + { + "module": "test_nova_servers_vm_types", + "function": "test_vm_type_consistent_on_nova_servers", + "resolution_steps": "Make sure a consistent {vm-type} is used across the server properties: name, flavor, and image. Also, ensure that they follow the guideline naming convention. To do so: \n\n1) Locate any OS::Nova::Server resource \n - Make sure that the parameter names for the image, flavor, and name use a consistent {vm-type}, and that they follow the defined naming conventions.", + "header": "Consistent VM type in key server properties" + }, + { + "module": "test_volume_format_outputs", + "function": "test_volume_format_outputs", + "resolution_steps": "Make sure the format of output parameters in volume modules is valid as per the guidelines. To do so: \n\nVerify that each volume is output and that get_resource or get_attr is used to retrieve the resource.", + "header": "Volume output format " + }, + { + "module": "test_volume_outputs_consumed", + "function": "test_volume_outputs_consumed", + "resolution_steps": "Make sure that all volume template's outputs are consumed in the corresponding heat template. To do so: \n\n1) Locate the outputs of your independent volume templat \n2) Ensure that each output is defined as a parameter in the corresponding heat template (the corresponding heat template will have the same name, but not include _volume)", + "header": "Volume templates outputs consumed" + }, + { + "module": "test_volume_templates_outputs", + "function": "test_volume_templates_contains_outputs", + "resolution_steps": "Make sure that all volume template's contain output values", + "header": "Volume templates outputs consumed" + }, + { + "module": "test_volume_resource_ids", + "function": "test_volume_resource_ids", + "resolution_steps": "Make sure that all resource ids for cinder volumes follow the right naming convention to include the {vm_type} of the nova server it is associated to as per the guidelines.", + "header": "Volume resources IDs are valid" + }, + { + "module": "test_volume_templates_outputs_match_resources", + "function": "test_volume_templates_outputs_match_resources", + "resolution_steps": "Make sure that all resource ids for cinder volumes follow the right naming convention to include the {vm_type} of the nova server it is associated to as per the guidelines.", + "header": "Volume resources referenced in volume template outputs do not exist." + } +]
\ No newline at end of file diff --git a/ice_validator/tests/__init__.py b/ice_validator/tests/__init__.py index e8f24cd..ec11176 100644 --- a/ice_validator/tests/__init__.py +++ b/ice_validator/tests/__init__.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/conftest.py b/ice_validator/tests/conftest.py index 84429cf..09baa9a 100644 --- a/ice_validator/tests/conftest.py +++ b/ice_validator/tests/conftest.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -34,29 +34,377 @@ # limitations under the License. # # ============LICENSE_END============================================ -# -# ECOMP is a trademark and service mark of AT&T Intellectual Property. -# +import collections +import csv +import datetime +import hashlib +import io +import json import os +import sys +import time +import docutils.core +import pytest +from more_itertools import partition +from six import string_types +import xlsxwriter __path__ = [os.path.dirname(os.path.abspath(__file__))] +resolution_steps_file = "resolution_steps.json" +requirements_file = "requirements.json" + +FAILURE_DATA = {} + +report_columns = [ + ("Input File", "file"), + ("Test", "test_file"), + ("Requirements", "req_description"), + ("Resolution Steps", "resolution_steps"), + ("Error Message", "message"), + ("Raw Test Output", "raw_output"), +] +report = collections.OrderedDict(report_columns) + + +def extract_error_msg(rep): + msg = str(rep.longrepr.reprcrash) + if "AssertionError:" in msg: + return msg.split("AssertionError:")[1] + else: + return msg + + +@pytest.hookimpl(tryfirst=True, hookwrapper=True) +def pytest_runtest_makereport(item, call): + + outcome = yield + rep = outcome.get_result() + + output_dir = "{}/../output".format(__path__[0]) + if rep.outcome == "failed": + if not os.path.exists(output_dir): + os.mkdir(output_dir) + + if hasattr(item.function, "requirement_ids"): + requirement_ids = item.function.requirement_ids + else: + requirement_ids = "" + + if "environment_pair" in item.fixturenames: + resolved_pair = "{} environment pair".format( + item.funcargs["environment_pair"]["name"] + ) + elif "heat_volume_pair" in item.fixturenames: + resolved_pair = "{} volume pair".format( + item.funcargs["heat_volume_pair"]["name"] + ) + elif "heat_templates" in item.fixturenames: + resolved_pair = item.funcargs["heat_templates"] + elif "yaml_files" in item.fixturenames: + resolved_pair = item.funcargs["yaml_files"] + else: + resolved_pair = rep.nodeid.split("[")[1][:-1] + + FAILURE_DATA[len(FAILURE_DATA)] = { + "file": resolved_pair, + "vnfrqts": requirement_ids, + "test": item.function.__name__, + "test_file": item.function.__module__.split(".")[-1], + "raw_output": str(rep.longrepr), + "message": extract_error_msg(rep), + } + + with open("{}/failures".format(output_dir), "w") as f: + json.dump(FAILURE_DATA, f, indent=4) + + +def make_timestamp(): + timezone = time.tzname[time.localtime().tm_isdst] + return "{} {}".format(str(datetime.datetime.now()), timezone) + + +def pytest_sessionfinish(session, exitstatus): + if not session.config.option.template_dir: + return + template_path = os.path.abspath(session.config.option.template_dir[0]) + profile_name = session.config.option.validation_profile_name + generate_report( + "{}/../output".format(__path__[0]), + template_path, + profile_name, + session.config.option.report_format, + ) + + +def pytest_runtest_setup(item): + profile = item.session.config.option.validation_profile + markers = set(m.name for m in item.iter_markers()) + if not profile and markers: + pytest.skip("No validation profile selected. Skipping tests with marks.") + if profile and markers and profile not in markers: + pytest.skip("Doesn't match selection validation profile") + + +def make_href(path): + paths = [path] if isinstance(path, string_types) else path + links = [] + for p in paths: + abs_path = os.path.abspath(p) + filename = os.path.split(abs_path)[1] + links.append( + "<a href='file://{abs_path}' target='_blank'>{filename}</a>".format( + abs_path=abs_path, filename=filename + ) + ) + return "<br/>".join(links) + + +def generate_report(outpath, template_path, profile_name, output_format): + failures = "{}/failures".format(outpath) + faildata = None + rdata = None + hdata = None + + if os.path.exists(failures): + with open(failures, "r") as f: + faildata = json.loads(f.read()) + else: + faildata = {} + + resolution_steps = "{}/../{}".format(__path__[0], resolution_steps_file) + if os.path.exists(resolution_steps): + with open(resolution_steps, "r") as f: + rdata = json.loads(f.read()) + + heat_requirements = "{}/../{}".format(__path__[0], requirements_file) + if os.path.exists(heat_requirements): + with open(heat_requirements, "r") as f: + hdata = json.loads(f.read()) + + # point requirements at the most recent version + current_version = hdata["current_version"] + hdata = hdata["versions"][current_version]["needs"] + # mapping requirement IDs from failures to requirement descriptions + for k, v in faildata.items(): + req_text = "" + if v["vnfrqts"] != "": + for req in v["vnfrqts"]: + if req in hdata: + req_text += "\n\n{}: \n{}".format(req, hdata[req]["description"]) + faildata[k]["req_description"] = req_text + + # mapping resolution steps to module and test name + for k, v in faildata.items(): + faildata[k]["resolution_steps"] = "" + for rs in rdata: + if v["test_file"] == rs["module"] and v["test"] == rs["function"]: + faildata[k]["resolution_steps"] = "\n{}: \n{}".format( + rs["header"], rs["resolution_steps"] + ) + output_format = output_format.lower().strip() if output_format else "html" + if output_format == "html": + generate_html_report(outpath, profile_name, template_path, faildata) + elif output_format == "excel": + generate_excel_report(outpath, profile_name, template_path, faildata) + elif output_format == "csv": + generate_csv_report(outpath, profile_name, template_path, faildata) + else: + raise ValueError("Unsupported output format: " + output_format) + + +def generate_csv_report(output_dir, profile_name, template_path, faildata): + rows = [] + rows.append(["Validation Failures"]) + headers = [ + ("Profile Selected:", profile_name), + ("Report Generated At:", make_timestamp()), + ("Directory Validated:", template_path), + ("Checksum:", hash_directory(template_path)), + ("Total Errors:", len(faildata)), + ] + + rows.append([]) + for header in headers: + rows.append(header) + rows.append([]) + + # table header + rows.append([col for col, _ in report_columns]) + + # table content + for data in faildata.values(): + rows.append( + [ + data.get("file", ""), + data.get("test_file", ""), + data.get("req_description", ""), + data.get("resolution_steps", ""), + data.get("message", ""), + data.get("raw_output", ""), + ] + ) + + output_path = os.path.join(output_dir, "report.csv") + with open(output_path, "w", newline="") as f: + writer = csv.writer(f) + for row in rows: + writer.writerow(row) + + +def generate_excel_report(output_dir, profile_name, template_path, faildata): + output_path = os.path.join(output_dir, "report.xlsx") + workbook = xlsxwriter.Workbook(output_path) + bold = workbook.add_format({"bold": True}) + code = workbook.add_format(({"font_name": "Courier", "text_wrap": True})) + normal = workbook.add_format({"text_wrap": True}) + heading = workbook.add_format({"bold": True, "font_size": 18}) + worksheet = workbook.add_worksheet("failures") + worksheet.write(0, 0, "Validation Failures", heading) + + headers = [ + ("Profile Selected:", profile_name), + ("Report Generated At:", make_timestamp()), + ("Directory Validated:", template_path), + ("Checksum:", hash_directory(template_path)), + ("Total Errors:", len(faildata)), + ] + for row, (header, value) in enumerate(headers, start=2): + worksheet.write(row, 0, header, bold) + worksheet.write(row, 1, value) + + worksheet.set_column(0, len(headers) - 1, 40) + worksheet.set_column(len(headers), len(headers), 80) + + # table header + start_error_table_row = 2 + len(headers) + 2 + for col_num, (col_name, _) in enumerate(report_columns): + worksheet.write(start_error_table_row, col_num, col_name, bold) + + # table content + for row, data in enumerate(faildata.values(), start=start_error_table_row + 1): + for col, key in enumerate(report.values()): + if key == "file": + paths = ( + [data[key]] if isinstance(data[key], string_types) else data[key] + ) + contents = "\n".join(paths) + worksheet.write(row, col, contents, normal) + elif key == "raw_output": + worksheet.write_string(row, col, data[key], code) + else: + worksheet.write(row, col, data[key], normal) + + workbook.close() + + +def generate_html_report(outpath, profile_name, template_path, faildata): + with open("{}/report.html".format(outpath), "w") as of: + body_begin = """ + <style type="text/css"> + h1, li {{ + font-family:Arial, sans-serif; + }} + .tg {{border-collapse:collapse;border-spacing:0;}} + .tg td{{font-family:Arial, sans-serif;font-size:8px;padding:10px 5px; + border-style:solid;border-width:1px;overflow:hidden;word-break:normal; + border-color:black;}} + .tg th{{font-family:Arial, sans-serif;font-size:14px;font-weight:normal; + padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden; + word-break:normal;border-color:black;}} + .tg .tg-rwj1{{font-size:10px;font-family:Arial, Helvetica, + sans-serif !important;;border-color:inherit;vertical-align:top}}</style> + <h1>Validation Failures</h1> + <ul> + <li><b>Profile Selected: </b> <tt>{profile}</tt></li> + <li><b>Report Generated At:</b> <tt>{timestamp}</tt></li> + <li><b>Directory Validated:</b> <tt>{template_dir}</tt></li> + <li><b>Checksum:</b> <tt>{checksum}</tt></li> + <li><b>Total Errors:</b> {num_failures}</li> + </ul> + """.format( + profile=profile_name, + timestamp=make_timestamp(), + checksum=hash_directory(template_path), + template_dir=template_path, + num_failures=len(faildata), + ) + of.write(body_begin) + + if len(faildata) == 0: + of.write("<p>Success! No validation failures detected.</p>") + return + + table_begin = '<table class="tg">' + of.write(table_begin) + + # table headers + of.write("<tr>") + for k, v in report.items(): + of.write('<th class="tg-rwj1">{}</th>'.format(k)) + of.write("</tr>") + + # table content + for k, v in faildata.items(): + of.write("<tr>") + for rk, rv in report.items(): + if rv == "file": + value = make_href(v[rv]) + elif rv == "raw_output": + value = "<pre>{}</pre>".format(v[rv]) + elif rv == "req_description": + parts = docutils.core.publish_parts( + writer_name="html", source=v[rv] + ) + value = parts["body"] + else: + value = v[rv].replace("\n", "<br />") + of.write(" <td>{}</td>".format(value)) + of.write("</tr>") + + of.write("</table>") + def pytest_addoption(parser): """ Add needed CLI arguments """ - parser.addoption("--template-directory", - dest="template_dir", - action="append", - help="Directory which holds the templates for validation") + parser.addoption( + "--template-directory", + dest="template_dir", + action="append", + help="Directory which holds the templates for validation", + ) + + parser.addoption( + "--self-test", + dest="self_test", + action="store_true", + help="Test the unit tests against their fixtured data", + ) + + parser.addoption( + "--validation-profile", + dest="validation_profile", + action="store", + help="Runs all unmarked tests plus test with a matching marker", + ) - parser.addoption("--self-test", - dest="self_test", - action='store_true', - help="Test the unit tests against their fixtured data") + parser.addoption( + "--validation-profile-name", + dest="validation_profile_name", + action="store", + help="Friendly name of the validation profile used in reports", + ) + + parser.addoption( + "--report-format", + dest="report_format", + action="store", + help="Format of output report (html, csv, excel)", + ) def pytest_configure(config): @@ -64,12 +412,14 @@ def pytest_configure(config): Ensure that we are receive either `--self-test` or `--template-dir=<directory` as CLI arguments """ - if config.getoption('template_dir') and config.getoption('self_test'): - raise Exception(('"--template-dir", and "--self-test"' - ' are mutually exclusive')) - if not (config.getoption('template_dir') or config.getoption('self_test')): - raise Exception(('One of "--template-dir" or' - ' "--self-test" must be specified')) + if config.getoption("template_dir") and config.getoption("self_test"): + raise Exception('"--template-dir", and "--self-test"' " are mutually exclusive") + if not ( + config.getoption("template_dir") or + config.getoption("self_test") or + config.getoption("help") + ): + raise Exception('One of "--template-dir" or' ' "--self-test" must be specified') def pytest_generate_tests(metafunc): @@ -80,81 +430,180 @@ def pytest_generate_tests(metafunc): is not specified on the CLI, the fixtures associated with this test name. """ - if 'filename' in metafunc.fixturenames: + if "filename" in metafunc.fixturenames: from .parametrizers import parametrize_filename + parametrize_filename(metafunc) - if 'filenames' in metafunc.fixturenames: + if "filenames" in metafunc.fixturenames: from .parametrizers import parametrize_filenames + parametrize_filenames(metafunc) - if 'template_dir' in metafunc.fixturenames: + if "template_dir" in metafunc.fixturenames: from .parametrizers import parametrize_template_dir + parametrize_template_dir(metafunc) - if 'environment_pair' in metafunc.fixturenames: + if "environment_pair" in metafunc.fixturenames: from .parametrizers import parametrize_environment_pair + parametrize_environment_pair(metafunc) - if 'heat_volume_pair' in metafunc.fixturenames: + if "heat_volume_pair" in metafunc.fixturenames: from .parametrizers import parametrize_heat_volume_pair + parametrize_heat_volume_pair(metafunc) - if 'yaml_files' in metafunc.fixturenames: + if "yaml_files" in metafunc.fixturenames: from .parametrizers import parametrize_yaml_files + parametrize_yaml_files(metafunc) - if 'env_files' in metafunc.fixturenames: + if "env_files" in metafunc.fixturenames: from .parametrizers import parametrize_environment_files + parametrize_environment_files(metafunc) - if 'yaml_file' in metafunc.fixturenames: + if "yaml_file" in metafunc.fixturenames: from .parametrizers import parametrize_yaml_file + parametrize_yaml_file(metafunc) - if 'env_file' in metafunc.fixturenames: + if "env_file" in metafunc.fixturenames: from .parametrizers import parametrize_environment_file + parametrize_environment_file(metafunc) - if 'parsed_yaml_file' in metafunc.fixturenames: + if "parsed_yaml_file" in metafunc.fixturenames: from .parametrizers import parametrize_parsed_yaml_file + parametrize_parsed_yaml_file(metafunc) - if 'parsed_environment_file' in metafunc.fixturenames: + if "parsed_environment_file" in metafunc.fixturenames: from .parametrizers import parametrize_parsed_environment_file + parametrize_parsed_environment_file(metafunc) - if 'heat_template' in metafunc.fixturenames: + if "heat_template" in metafunc.fixturenames: from .parametrizers import parametrize_heat_template + parametrize_heat_template(metafunc) - if 'heat_templates' in metafunc.fixturenames: + if "heat_templates" in metafunc.fixturenames: from .parametrizers import parametrize_heat_templates + parametrize_heat_templates(metafunc) - if 'volume_template' in metafunc.fixturenames: + if "volume_template" in metafunc.fixturenames: from .parametrizers import parametrize_volume_template + parametrize_volume_template(metafunc) - if 'volume_templates' in metafunc.fixturenames: + if "volume_templates" in metafunc.fixturenames: from .parametrizers import parametrize_volume_templates + parametrize_volume_templates(metafunc) - if 'template' in metafunc.fixturenames: + if "template" in metafunc.fixturenames: from .parametrizers import parametrize_template + parametrize_template(metafunc) - if 'templates' in metafunc.fixturenames: + if "templates" in metafunc.fixturenames: from .parametrizers import parametrize_templates + parametrize_templates(metafunc) +def hash_directory(path): + md5 = hashlib.md5() + for dir_path, sub_dirs, filenames in os.walk(path): + for filename in filenames: + file_path = os.path.join(dir_path, filename) + with open(file_path, "rb") as f: + md5.update(f.read()) + return md5.hexdigest() + + +def load_current_requirements(): + """Loads dict of current requirements or empty dict if file doesn't exist""" + path = "requirements.json" + if not os.path.exists(path): + return {} + with io.open(path, encoding="utf8", mode="r") as f: + data = json.load(f) + version = data["current_version"] + return data["versions"][version]["needs"] + + +def compat_open(path): + """Invokes open correctly depending on the Python version""" + if sys.version_info.major < 3: + return open(path, "wb") + else: + return open(path, "w", newline="") + + +def unicode_writerow(writer, row): + if sys.version_info.major < 3: + row = [s.encode("utf8") for s in row] + writer.writerow(row) + + def pytest_report_collectionfinish(config, startdir, items): - """Generates a simple traceability report to sysout""" - print("Traceability Report") - print("==================================================================") - for item in items: - if hasattr(item.function, "requirement_ids"): - for req_id in item.function.requirement_ids: - print(req_id + "," + item.function.__module__ + "," - + item.function.__name__) + """Generates a simple traceability report to output/traceability.csv""" + traceability_path = os.path.join(__path__[0], "../output/traceability.csv") + output_dir = os.path.split(traceability_path)[0] + if not os.path.exists(output_dir): + os.makedirs(output_dir) + requirements = load_current_requirements() + unmapped, mapped = partition( + lambda item: hasattr(item.function, "requirement_ids"), items + ) + + req_to_test = collections.defaultdict(set) + mapping_errors = set() + for item in mapped: + for req_id in item.function.requirement_ids: + req_to_test[req_id].add(item) + if req_id not in requirements: + mapping_errors.add( + (req_id, item.function.__module__, item.function.__name__) + ) + + mapping_error_path = os.path.join(__path__[0], "../output/mapping_errors.csv") + with compat_open(mapping_error_path) as f: + writer = csv.writer(f) + for error in mapping_errors: + unicode_writerow(writer, error) + + with compat_open(traceability_path) as f: + out = csv.writer(f) + unicode_writerow( + out, + ("Requirement ID", "Requirement", "Section", "Test Module", "Test Name"), + ) + for req_id, metadata in requirements.items(): + if req_to_test[req_id]: + for item in req_to_test[req_id]: + unicode_writerow( + out, + ( + req_id, + metadata["description"], + metadata["section_name"], + item.function.__module__, + item.function.__name__, + ), + ) + else: + unicode_writerow( + out, + (req_id, metadata["description"], metadata["section_name"], "", ""), + ) + # now write out any test methods that weren't mapped to requirements + for item in unmapped: + unicode_writerow( + out, ("", "", "", item.function.__module__, item.function.__name__) + ) diff --git a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_get_resource.yaml b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_get_resource.yaml index b11db06..d653198 100644 --- a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_get_resource.yaml +++ b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_get_resource.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_get_resource_volume.yaml b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_get_resource_volume.yaml index 4304a70..aa378f4 100644 --- a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_get_resource_volume.yaml +++ b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_get_resource_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_resource_id.yaml b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_resource_id.yaml index bb6f22e..403506a 100644 --- a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_resource_id.yaml +++ b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_resource_id.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_resource_id_volume.yaml b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_resource_id_volume.yaml index 2078b2d..acf77b6 100644 --- a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_resource_id_volume.yaml +++ b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/fail/mismatch_resource_id_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/pass/valid_template.yaml b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/pass/valid_template.yaml index 783553f..6295d0d 100644 --- a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/pass/valid_template.yaml +++ b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/pass/valid_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/pass/valid_template_volume.yaml b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/pass/valid_template_volume.yaml index 0d54d61..5f22853 100644 --- a/ice_validator/tests/fixtures/test_all_referenced_resources_exists/pass/valid_template_volume.yaml +++ b/ice_validator/tests/fixtures/test_all_referenced_resources_exists/pass/valid_template_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/invalid_naming_for_allowed_address_pairs.yaml b/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/invalid_naming_for_allowed_address_pairs.yaml index db42cf6..a1a5c15 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/invalid_naming_for_allowed_address_pairs.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/invalid_naming_for_allowed_address_pairs.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/single_ip_format_used_in_array.yaml b/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/single_ip_format_used_in_array.yaml index 84774a1..ac5114c 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/single_ip_format_used_in_array.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/single_ip_format_used_in_array.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/wrong_network_role.yaml b/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/wrong_network_role.yaml index a3e7806..1d37a53 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/wrong_network_role.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pair_format/fail/wrong_network_role.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pair_format/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_allowed_address_pair_format/pass/valid_heat_template.yaml index 47343c3..4ca7383 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pair_format/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pair_format/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/external_network_network_role_wrong_in_parameter.yaml b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/external_network_network_role_wrong_in_parameter.yaml index 655c60a..1d68aec 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/external_network_network_role_wrong_in_parameter.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/external_network_network_role_wrong_in_parameter.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/external_network_vm_type_wrong_in_parameter.yaml b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/external_network_vm_type_wrong_in_parameter.yaml index b5abb2b..2332c4c 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/external_network_vm_type_wrong_in_parameter.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/external_network_vm_type_wrong_in_parameter.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/internal_network_network_role_wrong_in_parameter.yaml b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/internal_network_network_role_wrong_in_parameter.yaml index 71752dc..9eebf55 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/internal_network_network_role_wrong_in_parameter.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/internal_network_network_role_wrong_in_parameter.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/internal_network_vm_type_wrong_in_parameter.yaml b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/internal_network_vm_type_wrong_in_parameter.yaml index 607a5cc..09c9ac9 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/internal_network_vm_type_wrong_in_parameter.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/internal_network_vm_type_wrong_in_parameter.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/mismatch_vm_type_exernal_nova_server.yaml b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/mismatch_vm_type_exernal_nova_server.yaml index 8a38509..baeeb56 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/mismatch_vm_type_exernal_nova_server.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/mismatch_vm_type_exernal_nova_server.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/mismatch_vm_type_internal_nova_server.yaml b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/mismatch_vm_type_internal_nova_server.yaml index 03744d2..a3dc04f 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/mismatch_vm_type_internal_nova_server.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/fail/mismatch_vm_type_internal_nova_server.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/pass/valid_template.yaml b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/pass/valid_template.yaml index 3aa1d2e..8b291bd 100644 --- a/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/pass/valid_template.yaml +++ b/ice_validator/tests/fixtures/test_allowed_address_pairs_include_vm_type_network_role/pass/valid_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_availability_zone/fail/missing_increment.yaml b/ice_validator/tests/fixtures/test_availability_zone/fail/missing_increment.yaml index 98d779a..e1e05e8 100644 --- a/ice_validator/tests/fixtures/test_availability_zone/fail/missing_increment.yaml +++ b/ice_validator/tests/fixtures/test_availability_zone/fail/missing_increment.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_availability_zone/fail/not_starting_with_availability_zone.yaml b/ice_validator/tests/fixtures/test_availability_zone/fail/not_starting_with_availability_zone.yaml index b07e8a1..4d12f76 100644 --- a/ice_validator/tests/fixtures/test_availability_zone/fail/not_starting_with_availability_zone.yaml +++ b/ice_validator/tests/fixtures/test_availability_zone/fail/not_starting_with_availability_zone.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_availability_zone/fail/using_list_instead_of_get_param.yaml b/ice_validator/tests/fixtures/test_availability_zone/fail/using_list_instead_of_get_param.yaml index 9bdf372..ab743e3 100644 --- a/ice_validator/tests/fixtures/test_availability_zone/fail/using_list_instead_of_get_param.yaml +++ b/ice_validator/tests/fixtures/test_availability_zone/fail/using_list_instead_of_get_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_availability_zone/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_availability_zone/pass/valid_heat_template.yaml index 9480b5a..fa3cabd 100644 --- a/ice_validator/tests/fixtures/test_availability_zone/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_availability_zone/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_availability_zone_get_param/fail/not_using_get_param.yaml b/ice_validator/tests/fixtures/test_availability_zone_get_param/fail/not_using_get_param.yaml index bd11a89..fa457b5 100644 --- a/ice_validator/tests/fixtures/test_availability_zone_get_param/fail/not_using_get_param.yaml +++ b/ice_validator/tests/fixtures/test_availability_zone_get_param/fail/not_using_get_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_availability_zone_get_param/fail/only_specifying_param.yaml b/ice_validator/tests/fixtures/test_availability_zone_get_param/fail/only_specifying_param.yaml index e0cdba9..c2dbb03 100644 --- a/ice_validator/tests/fixtures/test_availability_zone_get_param/fail/only_specifying_param.yaml +++ b/ice_validator/tests/fixtures/test_availability_zone_get_param/fail/only_specifying_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_availability_zone_get_param/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_availability_zone_get_param/pass/valid_heat_template.yaml index 9480b5a..fa3cabd 100644 --- a/ice_validator/tests/fixtures/test_availability_zone_get_param/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_availability_zone_get_param/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_base_template_names/fail/failing_directory/check_cant_fail.yaml b/ice_validator/tests/fixtures/test_base_template_names/fail/failing_directory/check_cant_fail.yaml index 5f16fcc..24b4c8f 100644 --- a/ice_validator/tests/fixtures/test_base_template_names/fail/failing_directory/check_cant_fail.yaml +++ b/ice_validator/tests/fixtures/test_base_template_names/fail/failing_directory/check_cant_fail.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,20 +38,20 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- -description:
- base
-parameters:
- vm_type_volume_name_0:
- type: string
- vm_type_volume_size_0:
- type: number
-
-resources:
- server_0:
- type: OS::Nova::Server
- properties:
- name: {get_param: server_name_0}
-
-outputs:
- vm_type_volume_id_0:
+description: + base +parameters: + vm_type_volume_name_0: + type: string + vm_type_volume_size_0: + type: number + +resources: + server_0: + type: OS::Nova::Server + properties: + name: {get_param: server_name_0} + +outputs: + vm_type_volume_id_0: value: {get_resource: vm_type_volume_0}
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_1/base_well_named.yaml b/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_1/base_well_named.yaml index 5f16fcc..24b4c8f 100644 --- a/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_1/base_well_named.yaml +++ b/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_1/base_well_named.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,20 +38,20 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- -description:
- base
-parameters:
- vm_type_volume_name_0:
- type: string
- vm_type_volume_size_0:
- type: number
-
-resources:
- server_0:
- type: OS::Nova::Server
- properties:
- name: {get_param: server_name_0}
-
-outputs:
- vm_type_volume_id_0:
+description: + base +parameters: + vm_type_volume_name_0: + type: string + vm_type_volume_size_0: + type: number + +resources: + server_0: + type: OS::Nova::Server + properties: + name: {get_param: server_name_0} + +outputs: + vm_type_volume_id_0: value: {get_resource: vm_type_volume_0}
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_2/well_base_named.yaml b/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_2/well_base_named.yaml index 5f16fcc..24b4c8f 100644 --- a/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_2/well_base_named.yaml +++ b/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_2/well_base_named.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,20 +38,20 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- -description:
- base
-parameters:
- vm_type_volume_name_0:
- type: string
- vm_type_volume_size_0:
- type: number
-
-resources:
- server_0:
- type: OS::Nova::Server
- properties:
- name: {get_param: server_name_0}
-
-outputs:
- vm_type_volume_id_0:
+description: + base +parameters: + vm_type_volume_name_0: + type: string + vm_type_volume_size_0: + type: number + +resources: + server_0: + type: OS::Nova::Server + properties: + name: {get_param: server_name_0} + +outputs: + vm_type_volume_id_0: value: {get_resource: vm_type_volume_0}
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_3/well_named_base.yaml b/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_3/well_named_base.yaml index 5f16fcc..24b4c8f 100644 --- a/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_3/well_named_base.yaml +++ b/ice_validator/tests/fixtures/test_base_template_names/pass/base_well_named_3/well_named_base.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,20 +38,20 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- -description:
- base
-parameters:
- vm_type_volume_name_0:
- type: string
- vm_type_volume_size_0:
- type: number
-
-resources:
- server_0:
- type: OS::Nova::Server
- properties:
- name: {get_param: server_name_0}
-
-outputs:
- vm_type_volume_id_0:
+description: + base +parameters: + vm_type_volume_name_0: + type: string + vm_type_volume_size_0: + type: number + +resources: + server_0: + type: OS::Nova::Server + properties: + name: {get_param: server_name_0} + +outputs: + vm_type_volume_id_0: value: {get_resource: vm_type_volume_0}
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/base_template.yaml b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/base_template.yaml index 103b380..939eebe 100644 --- a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/base_template.yaml +++ b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/base_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_1_template_missing_output_consumption.yaml b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_1_template_missing_output_consumption.yaml index 8fb2de2..c9ff048 100644 --- a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_1_template_missing_output_consumption.yaml +++ b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_1_template_missing_output_consumption.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_2_child_1_template.yaml b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_2_child_1_template.yaml index 31fc359..af26b98 100644 --- a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_2_child_1_template.yaml +++ b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_2_child_1_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_2_template_missing_output_consumption.yaml b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_2_template_missing_output_consumption.yaml index 8768c46..753dbb9 100644 --- a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_2_template_missing_output_consumption.yaml +++ b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/fail/module_2_template_missing_output_consumption.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/base_template.yaml b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/base_template.yaml index 103b380..939eebe 100644 --- a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/base_template.yaml +++ b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/base_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_1_template.yaml b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_1_template.yaml index 8fb2de2..c9ff048 100644 --- a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_1_template.yaml +++ b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_1_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_2_child_1_template.yaml b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_2_child_1_template.yaml index 31fc359..af26b98 100644 --- a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_2_child_1_template.yaml +++ b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_2_child_1_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_2_template.yaml b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_2_template.yaml index 16ec503..473759a 100644 --- a/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_2_template.yaml +++ b/ice_validator/tests/fixtures/test_base_template_outputs_consumed/pass/module_2_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_lon.yaml b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_lon.yaml index b9c4ff7..eb4b25b 100644 --- a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_lon.yaml +++ b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_lon.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,7 +38,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - a: 1
- b:
- c: 3
+ a: 1 + b: + c: 3 d: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_long.env b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_long.env index 04fb338..624cf60 100644 --- a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_long.env +++ b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_long.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,7 +38,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - parameters:
- b: 2
- c: 3
+ parameters: + b: 2 + c: 3 d: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_shor.env b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_shor.env index 04fb338..624cf60 100644 --- a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_shor.env +++ b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_shor.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,7 +38,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - parameters:
- b: 2
- c: 3
+ parameters: + b: 2 + c: 3 d: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_short.yaml b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_short.yaml index b9c4ff7..eb4b25b 100644 --- a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_short.yaml +++ b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/match_environment_filename_slightly_short.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,7 +38,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - a: 1
- b:
- c: 3
+ a: 1 + b: + c: 3 d: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/no_match_environment_filename.env b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/no_match_environment_filename.env index 04fb338..624cf60 100644 --- a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/no_match_environment_filename.env +++ b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/fail/no_match/no_match_environment_filename.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,7 +38,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - parameters:
- b: 2
- c: 3
+ parameters: + b: 2 + c: 3 d: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/pass/good_matches/good_yaml_eg.env b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/pass/good_matches/good_yaml_eg.env index 7cd88e3..1bcc01c 100644 --- a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/pass/good_matches/good_yaml_eg.env +++ b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/pass/good_matches/good_yaml_eg.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,7 +38,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- -parameters:
- b: 2
- c: 3
+parameters: + b: 2 + c: 3 d: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/pass/good_matches/good_yaml_eg.yaml b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/pass/good_matches/good_yaml_eg.yaml index b9c4ff7..eb4b25b 100644 --- a/ice_validator/tests/fixtures/test_env_and_yaml_same_name/pass/good_matches/good_yaml_eg.yaml +++ b/ice_validator/tests/fixtures/test_env_and_yaml_same_name/pass/good_matches/good_yaml_eg.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,7 +38,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - a: 1
- b:
- c: 3
+ a: 1 + b: + c: 3 d: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_env_files_provided/fail/base_template.yaml b/ice_validator/tests/fixtures/test_env_files_provided/fail/base_template.yaml index fceb0ff..215e406 100644 --- a/ice_validator/tests/fixtures/test_env_files_provided/fail/base_template.yaml +++ b/ice_validator/tests/fixtures/test_env_files_provided/fail/base_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_env_files_provided/fail/base_template_env.yaml b/ice_validator/tests/fixtures/test_env_files_provided/fail/base_template_env.yaml index e7e2ac3..a9e6f1a 100644 --- a/ice_validator/tests/fixtures/test_env_files_provided/fail/base_template_env.yaml +++ b/ice_validator/tests/fixtures/test_env_files_provided/fail/base_template_env.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_env_files_provided/pass/base_template.env b/ice_validator/tests/fixtures/test_env_files_provided/pass/base_template.env index e7e2ac3..a9e6f1a 100644 --- a/ice_validator/tests/fixtures/test_env_files_provided/pass/base_template.env +++ b/ice_validator/tests/fixtures/test_env_files_provided/pass/base_template.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_env_files_provided/pass/base_template.yaml b/ice_validator/tests/fixtures/test_env_files_provided/pass/base_template.yaml index fceb0ff..215e406 100644 --- a/ice_validator/tests/fixtures/test_env_files_provided/pass/base_template.yaml +++ b/ice_validator/tests/fixtures/test_env_files_provided/pass/base_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_environment_file_structure/fail/non_environment_invalid_key.env b/ice_validator/tests/fixtures/test_environment_file_structure/fail/non_environment_invalid_key.env index 2ef2317..3624291 100644 --- a/ice_validator/tests/fixtures/test_environment_file_structure/fail/non_environment_invalid_key.env +++ b/ice_validator/tests/fixtures/test_environment_file_structure/fail/non_environment_invalid_key.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_environment_file_structure/fail/non_environment_no_keys.env b/ice_validator/tests/fixtures/test_environment_file_structure/fail/non_environment_no_keys.env index b9c4ff7..eb4b25b 100644 --- a/ice_validator/tests/fixtures/test_environment_file_structure/fail/non_environment_no_keys.env +++ b/ice_validator/tests/fixtures/test_environment_file_structure/fail/non_environment_no_keys.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,7 +38,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - a: 1
- b:
- c: 3
+ a: 1 + b: + c: 3 d: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_environment_file_structure/pass/environment.env b/ice_validator/tests/fixtures/test_environment_file_structure/pass/environment.env index e7e2ac3..a9e6f1a 100644 --- a/ice_validator/tests/fixtures/test_environment_file_structure/pass/environment.env +++ b/ice_validator/tests/fixtures/test_environment_file_structure/pass/environment.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_format/fail/invalid_naming_for_fixed_ips.yaml b/ice_validator/tests/fixtures/test_fixed_ips_format/fail/invalid_naming_for_fixed_ips.yaml index 445bebf..3f8e6ad 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_format/fail/invalid_naming_for_fixed_ips.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_format/fail/invalid_naming_for_fixed_ips.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_format/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_fixed_ips_format/pass/valid_heat_template.yaml index 46cfdab..248fcf3 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_format/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_format/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/fail/get_param_not_used_for_fixed_ips.yaml b/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/fail/get_param_not_used_for_fixed_ips.yaml index 6444de3..c7e5a65 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/fail/get_param_not_used_for_fixed_ips.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/fail/get_param_not_used_for_fixed_ips.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/fail/get_resource_used_for_fixed_ips.yaml b/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/fail/get_resource_used_for_fixed_ips.yaml index 2b1a9da..5bf166f 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/fail/get_resource_used_for_fixed_ips.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/fail/get_resource_used_for_fixed_ips.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/pass/valid_heat_template.yaml index b08c671..abc01f6 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_format_use_get_param/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_mismatch_vm_type_nova_server.yaml b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_mismatch_vm_type_nova_server.yaml index ec40ab7..98b02e0 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_mismatch_vm_type_nova_server.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_mismatch_vm_type_nova_server.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_wrong_network_role_param.yaml b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_wrong_network_role_param.yaml index 863a557..16326e1 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_wrong_network_role_param.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_wrong_network_role_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_wrong_vm_type_param.yaml b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_wrong_vm_type_param.yaml index bafddc3..3445bd4 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_wrong_vm_type_param.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/external_wrong_vm_type_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_mismatch_vm_type_nova_server.yaml b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_mismatch_vm_type_nova_server.yaml index e202460..a240d0b 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_mismatch_vm_type_nova_server.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_mismatch_vm_type_nova_server.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_wrong_network_role_param.yaml b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_wrong_network_role_param.yaml index d9a0d1c..72a83e1 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_wrong_network_role_param.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_wrong_network_role_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_wrong_vm_type_param.yaml b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_wrong_vm_type_param.yaml index b7650c1..62932af 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_wrong_vm_type_param.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/fail/internal_wrong_vm_type_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/pass/valid_template.yaml b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/pass/valid_template.yaml index 48b0080..cbd60b5 100644 --- a/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/pass/valid_template.yaml +++ b/ice_validator/tests/fixtures/test_fixed_ips_include_vm_type_network_role/pass/valid_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/personality_contains_http.yaml b/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/personality_contains_http.yaml index b0aac43..d03a811 100644 --- a/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/personality_contains_http.yaml +++ b/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/personality_contains_http.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/user_data_contains_ftp.yaml b/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/user_data_contains_ftp.yaml index d7d6c2a..ed2c52b 100644 --- a/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/user_data_contains_ftp.yaml +++ b/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/user_data_contains_ftp.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/user_data_contains_http.yaml b/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/user_data_contains_http.yaml index fa5b5a4..7333299 100644 --- a/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/user_data_contains_http.yaml +++ b/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/fail/user_data_contains_http.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/pass/valid_template.yaml b/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/pass/valid_template.yaml index c950f52..0f5dcb6 100644 --- a/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/pass/valid_template.yaml +++ b/ice_validator/tests/fixtures/test_get_file_only_reference_local_files/pass/valid_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_numeric_parameters/fail/parameter_numeric_value_missing_constraints.yaml b/ice_validator/tests/fixtures/test_heat_numeric_parameters/fail/parameter_numeric_value_missing_constraints.yaml index d71b7af..1e3054d 100644 --- a/ice_validator/tests/fixtures/test_heat_numeric_parameters/fail/parameter_numeric_value_missing_constraints.yaml +++ b/ice_validator/tests/fixtures/test_heat_numeric_parameters/fail/parameter_numeric_value_missing_constraints.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_numeric_parameters/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_heat_numeric_parameters/pass/valid_heat_template.yaml index 7f29136..0e5ff3d 100644 --- a/ice_validator/tests/fixtures/test_heat_numeric_parameters/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_heat_numeric_parameters/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/env_missing_yaml.env b/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/env_missing_yaml.env index d28ad59..28734f2 100644 --- a/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/env_missing_yaml.env +++ b/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/env_missing_yaml.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/misnamed_pair.yaml b/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/misnamed_pair.yaml index c83fa04..6d9e846 100644 --- a/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/misnamed_pair.yaml +++ b/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/misnamed_pair.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/misnamed_pairr.env b/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/misnamed_pairr.env index d28ad59..28734f2 100644 --- a/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/misnamed_pairr.env +++ b/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/misnamed_pairr.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/yaml_missing_env.yaml b/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/yaml_missing_env.yaml index c83fa04..6d9e846 100644 --- a/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/yaml_missing_env.yaml +++ b/ice_validator/tests/fixtures/test_heat_pairs_provided/fail/yaml_missing_env.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg.env b/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg.env index d28ad59..28734f2 100644 --- a/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg.env +++ b/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg.yaml b/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg.yaml index c83fa04..6d9e846 100644 --- a/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg.yaml +++ b/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg_volume.env b/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg_volume.env index 43ac5b9..803cd04 100644 --- a/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg_volume.env +++ b/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg_volume.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg_volume.yaml b/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg_volume.yaml index 47f7424..b8d90cc 100644 --- a/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg_volume.yaml +++ b/ice_validator/tests/fixtures/test_heat_pairs_provided/pass/good_yaml_eg_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_parameter_section/fail/parameter_default_value_specified.yaml b/ice_validator/tests/fixtures/test_heat_parameter_section/fail/parameter_default_value_specified.yaml index 09ca0b9..e57ebe5 100644 --- a/ice_validator/tests/fixtures/test_heat_parameter_section/fail/parameter_default_value_specified.yaml +++ b/ice_validator/tests/fixtures/test_heat_parameter_section/fail/parameter_default_value_specified.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_parameter_section/fail/parameter_invalid_keys.yaml b/ice_validator/tests/fixtures/test_heat_parameter_section/fail/parameter_invalid_keys.yaml index 4be087d..c3cc4c5 100644 --- a/ice_validator/tests/fixtures/test_heat_parameter_section/fail/parameter_invalid_keys.yaml +++ b/ice_validator/tests/fixtures/test_heat_parameter_section/fail/parameter_invalid_keys.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_parameter_section/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_heat_parameter_section/pass/valid_heat_template.yaml index 7f29136..0e5ff3d 100644 --- a/ice_validator/tests/fixtures/test_heat_parameter_section/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_heat_parameter_section/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/fail/environment.yaml b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/fail/environment.yaml index e7e2ac3..a9e6f1a 100644 --- a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/fail/environment.yaml +++ b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/fail/environment.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/fail/valid_heat_template.env b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/fail/valid_heat_template.env index fceb0ff..215e406 100644 --- a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/fail/valid_heat_template.env +++ b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/fail/valid_heat_template.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/environment.env b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/environment.env index e7e2ac3..a9e6f1a 100644 --- a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/environment.env +++ b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/environment.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/valid_heat_template.yaml index fceb0ff..215e406 100644 --- a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/valid_heat_template.yml b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/valid_heat_template.yml index 5d3cd17..e1e864c 100644 --- a/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/valid_heat_template.yml +++ b/ice_validator/tests/fixtures/test_heat_template_and_env_file_extension/pass/valid_heat_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/fail/template_missing_description.yaml b/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/fail/template_missing_description.yaml index e8de8e3..8441131 100644 --- a/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/fail/template_missing_description.yaml +++ b/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/fail/template_missing_description.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/fail/template_missing_type.yaml b/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/fail/template_missing_type.yaml index c547a59..970c22d 100644 --- a/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/fail/template_missing_type.yaml +++ b/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/fail/template_missing_type.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/pass/valid_template.yaml b/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/pass/valid_template.yaml index 7f29136..0e5ff3d 100644 --- a/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/pass/valid_template.yaml +++ b/ice_validator/tests/fixtures/test_heat_template_parameters_contain_required_fields/pass/valid_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_invalid_keys.yaml b/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_invalid_keys.yaml index bf64f9a..8790b63 100644 --- a/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_invalid_keys.yaml +++ b/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_invalid_keys.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_invalid_keys.yml b/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_invalid_keys.yml index bf64f9a..8790b63 100644 --- a/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_invalid_keys.yml +++ b/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_invalid_keys.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_no_valid_keys.yaml b/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_no_valid_keys.yaml index 74bf184..b7bfac1 100644 --- a/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_no_valid_keys.yaml +++ b/ice_validator/tests/fixtures/test_heat_template_structure/fail/non_heat_template_no_valid_keys.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template.yaml index fceb0ff..215e406 100644 --- a/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template.yml b/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template.yml index 5d3cd17..e1e864c 100644 --- a/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template.yml +++ b/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template_minimal_sections.yaml b/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template_minimal_sections.yaml index 260d284..725e0ae 100644 --- a/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template_minimal_sections.yaml +++ b/ice_validator/tests/fixtures/test_heat_template_structure/pass/valid_heat_template_minimal_sections.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_templates_provided/fail/base_template.env b/ice_validator/tests/fixtures/test_heat_templates_provided/fail/base_template.env index fceb0ff..215e406 100644 --- a/ice_validator/tests/fixtures/test_heat_templates_provided/fail/base_template.env +++ b/ice_validator/tests/fixtures/test_heat_templates_provided/fail/base_template.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_templates_provided/fail/base_template.template b/ice_validator/tests/fixtures/test_heat_templates_provided/fail/base_template.template index 4c1fdcc..07a5251 100644 --- a/ice_validator/tests/fixtures/test_heat_templates_provided/fail/base_template.template +++ b/ice_validator/tests/fixtures/test_heat_templates_provided/fail/base_template.template @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_templates_provided/pass/base_template.env b/ice_validator/tests/fixtures/test_heat_templates_provided/pass/base_template.env index e7e2ac3..a9e6f1a 100644 --- a/ice_validator/tests/fixtures/test_heat_templates_provided/pass/base_template.env +++ b/ice_validator/tests/fixtures/test_heat_templates_provided/pass/base_template.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_heat_templates_provided/pass/base_template.yaml b/ice_validator/tests/fixtures/test_heat_templates_provided/pass/base_template.yaml index fceb0ff..215e406 100644 --- a/ice_validator/tests/fixtures/test_heat_templates_provided/pass/base_template.yaml +++ b/ice_validator/tests/fixtures/test_heat_templates_provided/pass/base_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nested_templates/fail/heat_template_missing_nested_files.yaml b/ice_validator/tests/fixtures/test_nested_templates/fail/heat_template_missing_nested_files.yaml index b65d6ac..87a3aa6 100644 --- a/ice_validator/tests/fixtures/test_nested_templates/fail/heat_template_missing_nested_files.yaml +++ b/ice_validator/tests/fixtures/test_nested_templates/fail/heat_template_missing_nested_files.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nested_templates/pass/nested_template_1.yaml b/ice_validator/tests/fixtures/test_nested_templates/pass/nested_template_1.yaml index ef5a06e..cb8e4a9 100644 --- a/ice_validator/tests/fixtures/test_nested_templates/pass/nested_template_1.yaml +++ b/ice_validator/tests/fixtures/test_nested_templates/pass/nested_template_1.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nested_templates/pass/nested_template_2.yaml b/ice_validator/tests/fixtures/test_nested_templates/pass/nested_template_2.yaml index ef5a06e..cb8e4a9 100644 --- a/ice_validator/tests/fixtures/test_nested_templates/pass/nested_template_2.yaml +++ b/ice_validator/tests/fixtures/test_nested_templates/pass/nested_template_2.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nested_templates/pass/valid_nested_heat_template.yaml b/ice_validator/tests/fixtures/test_nested_templates/pass/valid_nested_heat_template.yaml index 676437f..74b795f 100644 --- a/ice_validator/tests/fixtures/test_nested_templates/pass/valid_nested_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_nested_templates/pass/valid_nested_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/fail/heat_template_invalid_nesting.yaml b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/fail/heat_template_invalid_nesting.yaml index f1e47e0..c79a5e3 100644 --- a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/fail/heat_template_invalid_nesting.yaml +++ b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/fail/heat_template_invalid_nesting.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/nested_template_1.yaml b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/nested_template_1.yaml index ef5a06e..cb8e4a9 100644 --- a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/nested_template_1.yaml +++ b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/nested_template_1.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/nested_template_2.yaml b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/nested_template_2.yaml index ef5a06e..cb8e4a9 100644 --- a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/nested_template_2.yaml +++ b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/nested_template_2.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/valid_nested_heat_template.yaml b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/valid_nested_heat_template.yaml index 7782b56..b9a0e62 100644 --- a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/valid_nested_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/valid_nested_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/valid_non_nested_template.yaml b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/valid_non_nested_template.yaml index bc2e53d..d6ce213 100644 --- a/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/valid_non_nested_template.yaml +++ b/ice_validator/tests/fixtures/test_nested_templates_invalid_nesting/pass/valid_non_nested_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_network_format/fail/invalid_naming_used_for_network.yaml b/ice_validator/tests/fixtures/test_network_format/fail/invalid_naming_used_for_network.yaml index 85bc86c..3a60812 100644 --- a/ice_validator/tests/fixtures/test_network_format/fail/invalid_naming_used_for_network.yaml +++ b/ice_validator/tests/fixtures/test_network_format/fail/invalid_naming_used_for_network.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml index ef28f27..83358b2 100644 --- a/ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/fail/get_param_not_used_for_network.yaml b/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/fail/get_param_not_used_for_network.yaml index 3673598..56976d8 100644 --- a/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/fail/get_param_not_used_for_network.yaml +++ b/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/fail/get_param_not_used_for_network.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/fail/get_resource_used_for_external_network.yaml b/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/fail/get_resource_used_for_external_network.yaml index cf34fce..7344d16 100644 --- a/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/fail/get_resource_used_for_external_network.yaml +++ b/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/fail/get_resource_used_for_external_network.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/pass/valid_heat_template.yaml index bed976e..6c8b69d 100644 --- a/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_network_format_use_get_param_or_get_resource/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/fail/unused_param.env b/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/fail/unused_param.env index 3a136c9..487bc4e 100644 --- a/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/fail/unused_param.env +++ b/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/fail/unused_param.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,9 +38,9 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- -parameters:
- out: 2
- res: 3
- indexed: 4
- unused_env: 4
+parameters: + out: 2 + res: 3 + indexed: 4 + unused_env: 4 indx: 1
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/fail/unused_param.yaml b/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/fail/unused_param.yaml index 421a699..51cacba 100644 --- a/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/fail/unused_param.yaml +++ b/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/fail/unused_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,30 +38,30 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- -parameters:
- out:
- type: string
- description: test for output
- res:
- type: string
- description: test for resources
- indexed:
- type: comma_delimited_list
- description: test for indexed param
- indx:
- type: number
- description: Index of the current instance
- unused_yaml:
- type: number
- description: unused param in yaml file
-resources:
- test:
- type: abc
- properties:
- test_res: {get_param: res}
- test_ind_param: { get_param: [ indexed, { get_param: indx } ] }
-
-outputs:
- test_out:
- description: test getting output param
+parameters: + out: + type: string + description: test for output + res: + type: string + description: test for resources + indexed: + type: comma_delimited_list + description: test for indexed param + indx: + type: number + description: Index of the current instance + unused_yaml: + type: number + description: unused param in yaml file +resources: + test: + type: abc + properties: + test_res: {get_param: res} + test_ind_param: { get_param: [ indexed, { get_param: indx } ] } + +outputs: + test_out: + description: test getting output param value: {get_param: out}
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/pass/no_unused_param.env b/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/pass/no_unused_param.env index 06a9821..9477fac 100644 --- a/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/pass/no_unused_param.env +++ b/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/pass/no_unused_param.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,8 +38,8 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- -parameters:
- out: 2
- res: 3
- indexed: 4
+parameters: + out: 2 + res: 3 + indexed: 4 indx: 1
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/pass/no_unused_param.yaml b/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/pass/no_unused_param.yaml index 953191b..dc48c50 100644 --- a/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/pass/no_unused_param.yaml +++ b/ice_validator/tests/fixtures/test_no_unused_parameters_between_env_and_templates/pass/no_unused_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,28 +38,28 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- -parameters:
- out:
- type: string
- description: test for output
- res:
- type: string
- description: test for resources
- indexed:
- type: comma_delimited_list
- description: test for indexed param
- indx:
- type: number
- description: Index of the current instance
-
-resources:
- test:
- type: abc
- properties:
- test_res: {get_param: res}
- test_ind_param: { get_param: [ indexed, { get_param: indx } ] }
-
-outputs:
- test_out:
- description: test getting output param
+parameters: + out: + type: string + description: test for output + res: + type: string + description: test for resources + indexed: + type: comma_delimited_list + description: test for indexed param + indx: + type: number + description: Index of the current instance + +resources: + test: + type: abc + properties: + test_res: {get_param: res} + test_ind_param: { get_param: [ indexed, { get_param: indx } ] } + +outputs: + test_out: + description: test getting output param value: {get_param: out}
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_nova_servergroup_policies/fail/not_supported_policies.yml b/ice_validator/tests/fixtures/test_nova_servergroup_policies/fail/not_supported_policies.yml index 047673d..507fa5c 100644 --- a/ice_validator/tests/fixtures/test_nova_servergroup_policies/fail/not_supported_policies.yml +++ b/ice_validator/tests/fixtures/test_nova_servergroup_policies/fail/not_supported_policies.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servergroup_policies/pass/with_supported_policies.yml b/ice_validator/tests/fixtures/test_nova_servergroup_policies/pass/with_supported_policies.yml index 5e50a1b..ea363d7 100644 --- a/ice_validator/tests/fixtures/test_nova_servergroup_policies/pass/with_supported_policies.yml +++ b/ice_validator/tests/fixtures/test_nova_servergroup_policies/pass/with_supported_policies.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_correct_parameter_types/fail/wrong_type_for_parameters.yaml b/ice_validator/tests/fixtures/test_nova_servers_correct_parameter_types/fail/wrong_type_for_parameters.yaml index 6bddeee..7f44498 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_correct_parameter_types/fail/wrong_type_for_parameters.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_correct_parameter_types/fail/wrong_type_for_parameters.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_correct_parameter_types/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_nova_servers_correct_parameter_types/pass/valid_heat_template.yaml index d51217c..39030c7 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_correct_parameter_types/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_correct_parameter_types/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_key_properties.yaml b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_key_properties.yaml index b8dfc76..7660752 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_key_properties.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_key_properties.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_key_properties_uppercase.yaml b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_key_properties_uppercase.yaml index ecd9838..d0f06e8 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_key_properties_uppercase.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_key_properties_uppercase.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_resource_id.yaml b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_resource_id.yaml index c1c55be..cafd51a 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_resource_id.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_resource_id.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_resource_id_uppercase.yaml b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_resource_id_uppercase.yaml index d5f0cdc..2edaf5d 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_resource_id_uppercase.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/fail/mismatch_vm_type_resource_id_uppercase.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/pass/valid_heat_template.yaml index 0c1f8c0..3796de9 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_resource_ids/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_resource_ids/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_vm_types/fail/inconsistent_vm_type.yaml b/ice_validator/tests/fixtures/test_nova_servers_vm_types/fail/inconsistent_vm_type.yaml index c8b6403..219bf94 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_vm_types/fail/inconsistent_vm_type.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_vm_types/fail/inconsistent_vm_type.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_vm_types/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_nova_servers_vm_types/pass/valid_heat_template.yaml index 8d3a0df..eb07cae 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_vm_types/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_vm_types/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/fail/missing_get_param.yaml b/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/fail/missing_get_param.yaml index f3ec510..f5c71a4 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/fail/missing_get_param.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/fail/missing_get_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/fail/using_str_replace_instead_of_get_param.yaml b/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/fail/using_str_replace_instead_of_get_param.yaml index 773b28d..cdc4055 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/fail/using_str_replace_instead_of_get_param.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/fail/using_str_replace_instead_of_get_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/pass/valid_heat_template.yaml index bb37559..4b4c5c6 100644 --- a/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_nova_servers_vm_types_use_get_param/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_less_indent_on_value.yaml b/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_less_indent_on_value.yaml index 59a58b4..184245b 100644 --- a/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_less_indent_on_value.yaml +++ b/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_less_indent_on_value.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,16 +38,16 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - a: 1
- b:
- c: 3
- d: 4
- e:
- f: 3
- g: 4
- h: 3
- i: 4
- j: 3
- d:
- c: 3
+ a: 1 + b: + c: 3 + d: 4 + e: + f: 3 + g: 4 + h: 3 + i: 4 + j: 3 + d: + c: 3 lkf: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_multierror.yaml b/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_multierror.yaml index 4e0636e..bba1536 100644 --- a/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_multierror.yaml +++ b/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_multierror.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,17 +38,17 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - a: 1
- b:
- c: 3
- d: 4
- e:
- f: 3
- g: 4
- h: 3
- i: 4
- j: 3
- ddfg
- c: 3
- lkf:
+ a: 1 + b: + c: 3 + d: 4 + e: + f: 3 + g: 4 + h: 3 + i: 4 + j: 3 + ddfg + c: 3 + lkf: fhe: 5
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_tab.yaml b/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_tab.yaml index b16ec7a..e66b77f 100644 --- a/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_tab.yaml +++ b/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_tab.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,16 +38,16 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - a: 1
- b:
- c: 3
- d: 4
- e:
- f: 3
- g: 4
- h: 3
- i: 4
- j: 3
- d:
- c: 3
+ a: 1 + b: + c: 3 + d: 4 + e: + f: 3 + g: 4 + h: 3 + i: 4 + j: 3 + d: + c: 3 lkf: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_value_and_keys.yaml b/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_value_and_keys.yaml index 85e350b..a01a1bf 100644 --- a/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_value_and_keys.yaml +++ b/ice_validator/tests/fixtures/test_parse_yaml/fail/bad_yaml_value_and_keys.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,16 +38,16 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - a: 1
- b:
- c: 3
- d: 4
- e:
- f: 3
- g: 4
- h: 3
- i: 4
- j: 3
- d:
- c: 3
+ a: 1 + b: + c: 3 + d: 4 + e: + f: 3 + g: 4 + h: 3 + i: 4 + j: 3 + d: + c: 3 lkf: 4
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_parse_yaml/pass/good_yaml_eg.yaml b/ice_validator/tests/fixtures/test_parse_yaml/pass/good_yaml_eg.yaml index 8b5b820..559c598 100644 --- a/ice_validator/tests/fixtures/test_parse_yaml/pass/good_yaml_eg.yaml +++ b/ice_validator/tests/fixtures/test_parse_yaml/pass/good_yaml_eg.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -38,15 +38,15 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # --- - a: 1
- b:
- c: 3
- d: 4
- e:
- f: 4
- g:
- h:
- test: test
- k: g
-
+ a: 1 + b: + c: 3 + d: 4 + e: + f: 4 + g: + h: + test: test + k: g + test: out
\ No newline at end of file diff --git a/ice_validator/tests/fixtures/test_port_resource_ids/fail/mismatch_vm_type_port_id_get_resource.yaml b/ice_validator/tests/fixtures/test_port_resource_ids/fail/mismatch_vm_type_port_id_get_resource.yaml index ac1b60c..bc0d4cd 100644 --- a/ice_validator/tests/fixtures/test_port_resource_ids/fail/mismatch_vm_type_port_id_get_resource.yaml +++ b/ice_validator/tests/fixtures/test_port_resource_ids/fail/mismatch_vm_type_port_id_get_resource.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_port_resource_ids/fail/wrong_port_attached_to_nova_server_get_resource.yaml b/ice_validator/tests/fixtures/test_port_resource_ids/fail/wrong_port_attached_to_nova_server_get_resource.yaml index e944a35..ab5ea32 100644 --- a/ice_validator/tests/fixtures/test_port_resource_ids/fail/wrong_port_attached_to_nova_server_get_resource.yaml +++ b/ice_validator/tests/fixtures/test_port_resource_ids/fail/wrong_port_attached_to_nova_server_get_resource.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_port_resource_ids/fail/wrong_port_attached_to_nova_server_get_resource_uppercase.yaml b/ice_validator/tests/fixtures/test_port_resource_ids/fail/wrong_port_attached_to_nova_server_get_resource_uppercase.yaml index 62a264e..34ba50a 100644 --- a/ice_validator/tests/fixtures/test_port_resource_ids/fail/wrong_port_attached_to_nova_server_get_resource_uppercase.yaml +++ b/ice_validator/tests/fixtures/test_port_resource_ids/fail/wrong_port_attached_to_nova_server_get_resource_uppercase.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_port_resource_ids/pass/valid_template.yaml b/ice_validator/tests/fixtures/test_port_resource_ids/pass/valid_template.yaml index 20bc79e..50f2bd1 100644 --- a/ice_validator/tests/fixtures/test_port_resource_ids/pass/valid_template.yaml +++ b/ice_validator/tests/fixtures/test_port_resource_ids/pass/valid_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_definition_1.yaml b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_definition_1.yaml index d5914ec..702b639 100644 --- a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_definition_1.yaml +++ b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_definition_1.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_definition_2.yaml b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_definition_2.yaml index 23d0bd5..54edcc8 100644 --- a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_definition_2.yaml +++ b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_definition_2.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_reference_1.yaml b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_reference_1.yaml index 101a01d..8341ba0 100644 --- a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_reference_1.yaml +++ b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/fail/missing_param_reference_1.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/pass/params_referenced_are_defined_and_vice_versa_1.yaml b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/pass/params_referenced_are_defined_and_vice_versa_1.yaml index cf9e241..e852402 100644 --- a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/pass/params_referenced_are_defined_and_vice_versa_1.yaml +++ b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/pass/params_referenced_are_defined_and_vice_versa_1.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/pass/params_referenced_are_defined_and_vice_versa_2.yaml b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/pass/params_referenced_are_defined_and_vice_versa_2.yaml index 8f1e3bb..ff8421f 100644 --- a/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/pass/params_referenced_are_defined_and_vice_versa_2.yaml +++ b/ice_validator/tests/fixtures/test_referenced_and_defined_parameters_match/pass/params_referenced_are_defined_and_vice_versa_2.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_no_constraints/fail/heat_template_required_parameters_with_constraints.yaml b/ice_validator/tests/fixtures/test_required_parameters_no_constraints/fail/heat_template_required_parameters_with_constraints.yaml index 030dfdf..1a49f68 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_no_constraints/fail/heat_template_required_parameters_with_constraints.yaml +++ b/ice_validator/tests/fixtures/test_required_parameters_no_constraints/fail/heat_template_required_parameters_with_constraints.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_no_constraints/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_required_parameters_no_constraints/pass/valid_heat_template.yaml index c939a89..49ae894 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_no_constraints/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_required_parameters_no_constraints/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/fail/missing_required_parameters_in_env_file.env b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/fail/missing_required_parameters_in_env_file.env index ab54063..ca27e57 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/fail/missing_required_parameters_in_env_file.env +++ b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/fail/missing_required_parameters_in_env_file.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/fail/missing_required_parameters_in_env_file.yaml b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/fail/missing_required_parameters_in_env_file.yaml index 275b820..6bda6ac 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/fail/missing_required_parameters_in_env_file.yaml +++ b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/fail/missing_required_parameters_in_env_file.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified.env b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified.env index 116a359..147ca54 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified.env +++ b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified.yaml b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified.yaml index 275b820..6bda6ac 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified.yaml +++ b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified_not_needed.env b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified_not_needed.env index cbf5f64..3676b06 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified_not_needed.env +++ b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified_not_needed.env @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified_not_needed.yaml b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified_not_needed.yaml index 5ac62ae..e4089b5 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified_not_needed.yaml +++ b/ice_validator/tests/fixtures/test_required_parameters_specified_in_env_files/pass/required_parameters_specified_not_needed.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/fail/missing_required_parameters_in_template.yaml b/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/fail/missing_required_parameters_in_template.yaml index 1baef47..0769f82 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/fail/missing_required_parameters_in_template.yaml +++ b/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/fail/missing_required_parameters_in_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/pass/required_parameters_specified.yaml b/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/pass/required_parameters_specified.yaml index 275b820..6bda6ac 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/pass/required_parameters_specified.yaml +++ b/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/pass/required_parameters_specified.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/pass/required_parameters_specified_not_needed.yaml b/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/pass/required_parameters_specified_not_needed.yaml index 5ac62ae..e4089b5 100644 --- a/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/pass/required_parameters_specified_not_needed.yaml +++ b/ice_validator/tests/fixtures/test_required_parameters_specified_in_heat_templates/pass/required_parameters_specified_not_needed.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_resource_ids_alphanumeric_only/fail/invalid_characters_in_resource_id_template.yml b/ice_validator/tests/fixtures/test_resource_ids_alphanumeric_only/fail/invalid_characters_in_resource_id_template.yml index fc32cdf..bd4316a 100644 --- a/ice_validator/tests/fixtures/test_resource_ids_alphanumeric_only/fail/invalid_characters_in_resource_id_template.yml +++ b/ice_validator/tests/fixtures/test_resource_ids_alphanumeric_only/fail/invalid_characters_in_resource_id_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_resource_ids_alphanumeric_only/pass/valid_characters_in_resource_id_template.yml b/ice_validator/tests/fixtures/test_resource_ids_alphanumeric_only/pass/valid_characters_in_resource_id_template.yml index d63a6a9..9681015 100644 --- a/ice_validator/tests/fixtures/test_resource_ids_alphanumeric_only/pass/valid_characters_in_resource_id_template.yml +++ b/ice_validator/tests/fixtures/test_resource_ids_alphanumeric_only/pass/valid_characters_in_resource_id_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_index.yaml b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_index.yaml index fd3db32..55019f8 100644 --- a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_index.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_index.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_name.yaml b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_name.yaml index f4049e6..b48c3cd 100644 --- a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_name.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_name.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_name_in_rsg.yaml b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_name_in_rsg.yaml index 6ecccc9..e823457 100644 --- a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_name_in_rsg.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/fail/template_missing_specified_vf_module_name_in_rsg.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_1.yaml b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_1.yaml index 5a91f45..999e081 100644 --- a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_1.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_1.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_2.yaml b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_2.yaml index 09005ed..3286688 100644 --- a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_2.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_2.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_3.yaml b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_3.yaml index 41bfc06..e6f9a6f 100644 --- a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_3.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_3.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_4.yaml b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_4.yaml index dd45592..4f46b47 100644 --- a/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_4.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_optional_metadata/pass/valid_heat_template_4.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vf_module_id.yaml b/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vf_module_id.yaml index f8433c9..c4a789e 100644 --- a/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vf_module_id.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vf_module_id.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vnf_id.yaml b/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vnf_id.yaml index 012bf20..375f05a 100644 --- a/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vnf_id.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vnf_id.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vnf_name.yaml b/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vnf_name.yaml index 6a98246..a232779 100644 --- a/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vnf_name.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_required_metadata/fail/missing_vnf_name.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_have_required_metadata/pass/has_required_metadata.yaml b/ice_validator/tests/fixtures/test_servers_have_required_metadata/pass/has_required_metadata.yaml index 4351101..fddd744 100644 --- a/ice_validator/tests/fixtures/test_servers_have_required_metadata/pass/has_required_metadata.yaml +++ b/ice_validator/tests/fixtures/test_servers_have_required_metadata/pass/has_required_metadata.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/missing_metadata_section.yaml b/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/missing_metadata_section.yaml index 8f44729..c2a44ba 100644 --- a/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/missing_metadata_section.yaml +++ b/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/missing_metadata_section.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/missing_properties_section.yaml b/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/missing_properties_section.yaml index d43b745..2e480d6 100644 --- a/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/missing_properties_section.yaml +++ b/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/missing_properties_section.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/not_using_get_param.yaml b/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/not_using_get_param.yaml index 8301db6..cad3301 100644 --- a/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/not_using_get_param.yaml +++ b/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/fail/not_using_get_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/pass/has_required_metadata.yaml b/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/pass/has_required_metadata.yaml index 4351101..fddd744 100644 --- a/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/pass/has_required_metadata.yaml +++ b/ice_validator/tests/fixtures/test_servers_metadata_use_get_param/pass/has_required_metadata.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_subnet_format/fail/invalid_naming_used_for_get_param_subnet.yaml b/ice_validator/tests/fixtures/test_subnet_format/fail/invalid_naming_used_for_get_param_subnet.yaml index 4254287..bbdbdca 100644 --- a/ice_validator/tests/fixtures/test_subnet_format/fail/invalid_naming_used_for_get_param_subnet.yaml +++ b/ice_validator/tests/fixtures/test_subnet_format/fail/invalid_naming_used_for_get_param_subnet.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_subnet_format/fail/invalid_naming_used_for_get_resource_subnet.yaml b/ice_validator/tests/fixtures/test_subnet_format/fail/invalid_naming_used_for_get_resource_subnet.yaml index 1af8d52..02a54ac 100644 --- a/ice_validator/tests/fixtures/test_subnet_format/fail/invalid_naming_used_for_get_resource_subnet.yaml +++ b/ice_validator/tests/fixtures/test_subnet_format/fail/invalid_naming_used_for_get_resource_subnet.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_subnet_format/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_subnet_format/pass/valid_heat_template.yaml index 5251083..77bc904 100644 --- a/ice_validator/tests/fixtures/test_subnet_format/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_subnet_format/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/fail/get_param_not_used_for_subnet.yaml b/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/fail/get_param_not_used_for_subnet.yaml index 353fbe9..81908c2 100644 --- a/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/fail/get_param_not_used_for_subnet.yaml +++ b/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/fail/get_param_not_used_for_subnet.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/fail/get_resource_used_for_external_network.yaml b/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/fail/get_resource_used_for_external_network.yaml index 4338edc..e2ad5f4 100644 --- a/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/fail/get_resource_used_for_external_network.yaml +++ b/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/fail/get_resource_used_for_external_network.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/pass/valid_heat_template.yaml b/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/pass/valid_heat_template.yaml index 76f92e6..d6bf4bf 100644 --- a/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/pass/valid_heat_template.yaml +++ b/ice_validator/tests/fixtures/test_subnet_format_use_get_param_or_get_resource/pass/valid_heat_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_name_resources/fail/heat_template_1.yaml b/ice_validator/tests/fixtures/test_unique_name_resources/fail/heat_template_1.yaml index a65c45b..22c73de 100644 --- a/ice_validator/tests/fixtures/test_unique_name_resources/fail/heat_template_1.yaml +++ b/ice_validator/tests/fixtures/test_unique_name_resources/fail/heat_template_1.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_name_resources/fail/heat_template_2_identical_to_heat_template_2.yaml b/ice_validator/tests/fixtures/test_unique_name_resources/fail/heat_template_2_identical_to_heat_template_2.yaml index a65c45b..22c73de 100644 --- a/ice_validator/tests/fixtures/test_unique_name_resources/fail/heat_template_2_identical_to_heat_template_2.yaml +++ b/ice_validator/tests/fixtures/test_unique_name_resources/fail/heat_template_2_identical_to_heat_template_2.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_name_resources/pass/unique_resource_template_1.yml b/ice_validator/tests/fixtures/test_unique_name_resources/pass/unique_resource_template_1.yml index a65c45b..22c73de 100644 --- a/ice_validator/tests/fixtures/test_unique_name_resources/pass/unique_resource_template_1.yml +++ b/ice_validator/tests/fixtures/test_unique_name_resources/pass/unique_resource_template_1.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_name_resources/pass/unique_resource_template_2.yml b/ice_validator/tests/fixtures/test_unique_name_resources/pass/unique_resource_template_2.yml index 253d861..ec01c0b 100644 --- a/ice_validator/tests/fixtures/test_unique_name_resources/pass/unique_resource_template_2.yml +++ b/ice_validator/tests/fixtures/test_unique_name_resources/pass/unique_resource_template_2.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_name_str_replace_use_params_in_tmpl/fail/unique_resource_stack_name_without_vnf_name_or_module.yml b/ice_validator/tests/fixtures/test_unique_name_str_replace_use_params_in_tmpl/fail/unique_resource_stack_name_without_vnf_name_or_module.yml index fb38c95..85ea78c 100644 --- a/ice_validator/tests/fixtures/test_unique_name_str_replace_use_params_in_tmpl/fail/unique_resource_stack_name_without_vnf_name_or_module.yml +++ b/ice_validator/tests/fixtures/test_unique_name_str_replace_use_params_in_tmpl/fail/unique_resource_stack_name_without_vnf_name_or_module.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_name_str_replace_use_params_in_tmpl/pass/unique_resource_template.yml b/ice_validator/tests/fixtures/test_unique_name_str_replace_use_params_in_tmpl/pass/unique_resource_template.yml index 936e85d..5abcc2a 100644 --- a/ice_validator/tests/fixtures/test_unique_name_str_replace_use_params_in_tmpl/pass/unique_resource_template.yml +++ b/ice_validator/tests/fixtures/test_unique_name_str_replace_use_params_in_tmpl/pass/unique_resource_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_name_str_replace_use_req_params/fail/unique_resource_stack_name_without_vnf_name_or_module.yml b/ice_validator/tests/fixtures/test_unique_name_str_replace_use_req_params/fail/unique_resource_stack_name_without_vnf_name_or_module.yml index a3af653..131f2bb 100644 --- a/ice_validator/tests/fixtures/test_unique_name_str_replace_use_req_params/fail/unique_resource_stack_name_without_vnf_name_or_module.yml +++ b/ice_validator/tests/fixtures/test_unique_name_str_replace_use_req_params/fail/unique_resource_stack_name_without_vnf_name_or_module.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_name_str_replace_use_req_params/pass/unique_resource_template.yml b/ice_validator/tests/fixtures/test_unique_name_str_replace_use_req_params/pass/unique_resource_template.yml index 0a70283..5a39e57 100644 --- a/ice_validator/tests/fixtures/test_unique_name_str_replace_use_req_params/pass/unique_resource_template.yml +++ b/ice_validator/tests/fixtures/test_unique_name_str_replace_use_req_params/pass/unique_resource_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/fail/duplicate_resource_template.yml b/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/fail/duplicate_resource_template.yml index 5ac2dc2..798e591 100644 --- a/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/fail/duplicate_resource_template.yml +++ b/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/fail/duplicate_resource_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/fail/unique_resource_template.yml b/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/fail/unique_resource_template.yml index 3ef1600..426295d 100644 --- a/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/fail/unique_resource_template.yml +++ b/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/fail/unique_resource_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/pass/unique_resource_template_1.yml b/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/pass/unique_resource_template_1.yml index 3ef1600..426295d 100644 --- a/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/pass/unique_resource_template_1.yml +++ b/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/pass/unique_resource_template_1.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/pass/unique_resource_template_2.yml b/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/pass/unique_resource_template_2.yml index fc68cba..630c6d6 100644 --- a/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/pass/unique_resource_template_2.yml +++ b/ice_validator/tests/fixtures/test_unique_resources_across_all_templates/pass/unique_resource_template_2.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_resources_across_template/fail/duplicate_resource_template.yml b/ice_validator/tests/fixtures/test_unique_resources_across_template/fail/duplicate_resource_template.yml index 16997d5..40543d1 100644 --- a/ice_validator/tests/fixtures/test_unique_resources_across_template/fail/duplicate_resource_template.yml +++ b/ice_validator/tests/fixtures/test_unique_resources_across_template/fail/duplicate_resource_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_unique_resources_across_template/pass/unique_resource_template.yml b/ice_validator/tests/fixtures/test_unique_resources_across_template/pass/unique_resource_template.yml index 4279b1c..82b1d7e 100644 --- a/ice_validator/tests/fixtures/test_unique_resources_across_template/pass/unique_resource_template.yml +++ b/ice_validator/tests/fixtures/test_unique_resources_across_template/pass/unique_resource_template.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_format_outputs/fail/no_value_volume.yaml b/ice_validator/tests/fixtures/test_volume_format_outputs/fail/no_value_volume.yaml index b630778..eec1fbd 100644 --- a/ice_validator/tests/fixtures/test_volume_format_outputs/fail/no_value_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_format_outputs/fail/no_value_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_format_outputs/fail/use_get_param_volume.yml b/ice_validator/tests/fixtures/test_volume_format_outputs/fail/use_get_param_volume.yml index 2766dda..90ba1ca 100644 --- a/ice_validator/tests/fixtures/test_volume_format_outputs/fail/use_get_param_volume.yml +++ b/ice_validator/tests/fixtures/test_volume_format_outputs/fail/use_get_param_volume.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_format_outputs/pass/valid_template_volume.yml b/ice_validator/tests/fixtures/test_volume_format_outputs/pass/valid_template_volume.yml index 97c6ab6..fa016a2 100644 --- a/ice_validator/tests/fixtures/test_volume_format_outputs/pass/valid_template_volume.yml +++ b/ice_validator/tests/fixtures/test_volume_format_outputs/pass/valid_template_volume.yml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_outputs_consumed/fail/more_outputs_than_parameters.yaml b/ice_validator/tests/fixtures/test_volume_outputs_consumed/fail/more_outputs_than_parameters.yaml index 1057cb3..d382920 100644 --- a/ice_validator/tests/fixtures/test_volume_outputs_consumed/fail/more_outputs_than_parameters.yaml +++ b/ice_validator/tests/fixtures/test_volume_outputs_consumed/fail/more_outputs_than_parameters.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_outputs_consumed/fail/more_outputs_than_parameters_volume.yaml b/ice_validator/tests/fixtures/test_volume_outputs_consumed/fail/more_outputs_than_parameters_volume.yaml index 3ff6c48..6f2e146 100644 --- a/ice_validator/tests/fixtures/test_volume_outputs_consumed/fail/more_outputs_than_parameters_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_outputs_consumed/fail/more_outputs_than_parameters_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_outputs_consumed/pass/valid_template.yaml b/ice_validator/tests/fixtures/test_volume_outputs_consumed/pass/valid_template.yaml index efdb26a..47c8eea 100644 --- a/ice_validator/tests/fixtures/test_volume_outputs_consumed/pass/valid_template.yaml +++ b/ice_validator/tests/fixtures/test_volume_outputs_consumed/pass/valid_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_outputs_consumed/pass/valid_template_volume.yaml b/ice_validator/tests/fixtures/test_volume_outputs_consumed/pass/valid_template_volume.yaml index 7a4e40d..4a40502 100644 --- a/ice_validator/tests/fixtures/test_volume_outputs_consumed/pass/valid_template_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_outputs_consumed/pass/valid_template_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_instance_uuid_volume_attachment.yaml b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_instance_uuid_volume_attachment.yaml index 2b78e58..d0a176d 100644 --- a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_instance_uuid_volume_attachment.yaml +++ b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_instance_uuid_volume_attachment.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_nova_server_id.yaml b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_nova_server_id.yaml index 76aa95e..cc01ffb 100644 --- a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_nova_server_id.yaml +++ b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_nova_server_id.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_param.yaml b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_param.yaml index b0ff140..6918125 100644 --- a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_param.yaml +++ b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_param.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_resource.yaml b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_resource.yaml index 88fc6e2..4b3c40f 100644 --- a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_resource.yaml +++ b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_resource.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_volume_attachment.yaml b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_volume_attachment.yaml index b07b2c1..32b53cb 100644 --- a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_volume_attachment.yaml +++ b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_volume_attachment.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_volume_attachment_uppercase.yaml b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_volume_attachment_uppercase.yaml index 53e76b9..9a2dc98 100644 --- a/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_volume_attachment_uppercase.yaml +++ b/ice_validator/tests/fixtures/test_volume_resource_ids/fail/mismatch_vm_type_volume_id_volume_attachment_uppercase.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_resource_ids/pass/valid_template.yaml b/ice_validator/tests/fixtures/test_volume_resource_ids/pass/valid_template.yaml index bd18829..8b98f20 100644 --- a/ice_validator/tests/fixtures/test_volume_resource_ids/pass/valid_template.yaml +++ b/ice_validator/tests/fixtures/test_volume_resource_ids/pass/valid_template.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates/fail/badly_named_volume_1.yaml b/ice_validator/tests/fixtures/test_volume_templates/fail/badly_named_volume_1.yaml index 946c646..52402d5 100644 --- a/ice_validator/tests/fixtures/test_volume_templates/fail/badly_named_volume_1.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates/fail/badly_named_volume_1.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates/fail/missing_keyword.yaml b/ice_validator/tests/fixtures/test_volume_templates/fail/missing_keyword.yaml index 946c646..52402d5 100644 --- a/ice_validator/tests/fixtures/test_volume_templates/fail/missing_keyword.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates/fail/missing_keyword.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates/fail/only_nova_severs_in_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates/fail/only_nova_severs_in_volume.yaml index d7a218e..4b1a46e 100644 --- a/ice_validator/tests/fixtures/test_volume_templates/fail/only_nova_severs_in_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates/fail/only_nova_severs_in_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates/pass/well_named_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates/pass/well_named_volume.yaml index 7b29979..c657882 100644 --- a/ice_validator/tests/fixtures/test_volume_templates/pass/well_named_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates/pass/well_named_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates_outputs/fail/missing_outputs_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates_outputs/fail/missing_outputs_volume.yaml index 248bb62..2d10e22 100644 --- a/ice_validator/tests/fixtures/test_volume_templates_outputs/fail/missing_outputs_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates_outputs/fail/missing_outputs_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates_outputs/pass/well_named_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates_outputs/pass/well_named_volume.yaml index 5ee2cf6..df35929 100644 --- a/ice_validator/tests/fixtures/test_volume_templates_outputs/pass/well_named_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates_outputs/pass/well_named_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_1_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_1_volume.yaml index a55a4b2..ec56510 100644 --- a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_1_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_1_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_2_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_2_volume.yaml index 0a196e3..44ec7b8 100644 --- a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_2_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_2_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_3_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_3_volume.yaml index 6a05126..2cbfc2e 100644 --- a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_3_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/mismatch_resource_keys_outputs_keys_3_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/more_outputs_than_resources_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/more_outputs_than_resources_volume.yaml index 3f9cac7..1cb9115 100644 --- a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/more_outputs_than_resources_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/more_outputs_than_resources_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/more_resources_than_outputs_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/more_resources_than_outputs_volume.yaml index d446a98..a84b629 100644 --- a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/more_resources_than_outputs_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/fail/more_resources_than_outputs_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/pass/valid_template_volume.yaml b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/pass/valid_template_volume.yaml index 1780dc6..2ed9b7b 100644 --- a/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/pass/valid_template_volume.yaml +++ b/ice_validator/tests/fixtures/test_volume_templates_outputs_resources/pass/valid_template_volume.yaml @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/parametrizers.py b/ice_validator/tests/parametrizers.py index dcfe402..511c39a 100644 --- a/ice_validator/tests/parametrizers.py +++ b/ice_validator/tests/parametrizers.py @@ -48,30 +48,32 @@ import pytest from .helpers import get_parsed_yml_for_yaml_files, check_basename_ending from .utils.nested_files import get_list_of_nested_files -VERSION = '1.0.0' +VERSION = "1.0.0" + # pylint: disable=invalid-name def get_template_dir(metafunc): - ''' + """ returns template_dir, either as its passed in on CLI or, during --self-test, the directory whos name matches the current tests module name - ''' - if metafunc.config.getoption('template_dir') is None: + """ + if metafunc.config.getoption("template_dir") is None: return path.join( path.dirname(path.realpath(__file__)), - 'fixtures', - metafunc.function.__module__.split('.')[-1]) + "fixtures", + metafunc.function.__module__.split(".")[-1], + ) else: - return metafunc.config.getoption('template_dir')[0] + return metafunc.config.getoption("template_dir")[0] def get_nested_files(filenames): - ''' + """ returns all the nested files for a set of filenames - ''' + """ nested_files = [] for filename in filenames: try: @@ -79,9 +81,9 @@ def get_nested_files(filenames): yml = yaml.load(fh) if "resources" not in yml: continue - nested_files.extend(get_list_of_nested_files( - yml["resources"], - path.dirname(filename))) + nested_files.extend( + get_list_of_nested_files(yml["resources"], path.dirname(filename)) + ) except yaml.YAMLError as e: print(e) # pylint: disable=superfluous-parens continue @@ -89,337 +91,309 @@ def get_nested_files(filenames): def list_filenames_in_template_dir( - metafunc, - extensions, - template_type='', - sub_dirs=None): - ''' + metafunc, extensions, template_type="", sub_dirs=None +): + """ returns the filenames in a template_dir, either as its passed in on CLI or, during --self-test, the directory whos name matches the current tests module name - ''' + """ sub_dirs = [] if sub_dirs is None else sub_dirs template_dir = get_template_dir(metafunc) filenames = [] - if metafunc.config.getoption('self_test'): - filenames = [path.join(template_dir, s, f) - for s in sub_dirs - for f in listdir(path.join(template_dir, s)) - if path.isfile(path.join(template_dir, s, f)) - and path.splitext(f)[-1] in extensions - and check_basename_ending( - template_type, - path.splitext(f)[0])] + if metafunc.config.getoption("self_test"): + filenames = [ + path.join(template_dir, s, f) + for s in sub_dirs + for f in listdir(path.join(template_dir, s)) + if (path.isfile(path.join(template_dir, s, f)) and + path.splitext(f)[-1] in extensions and + check_basename_ending(template_type, path.splitext(f)[0])) + ] else: - filenames = [path.join(template_dir, f) - for f in listdir(template_dir) - if path.isfile(path.join(template_dir, f)) - and path.splitext(f)[-1] in extensions - and check_basename_ending( - template_type, - path.splitext(f)[0])] + filenames = [ + path.join(template_dir, f) + for f in listdir(template_dir) + if (path.isfile(path.join(template_dir, f)) and + path.splitext(f)[-1] in extensions and + check_basename_ending(template_type, path.splitext(f)[0])) + ] return filenames def list_template_dir( - metafunc, - extensions, - exclude_nested=True, - template_type='', - sub_dirs=None): - ''' + metafunc, extensions, exclude_nested=True, template_type="", sub_dirs=None +): + """ returns the filenames excluding the nested files for a template_dir, either as its passed in on CLI or, during --self-test, the directory whos name matches the current tests module name - ''' + """ sub_dirs = [] if sub_dirs is None else sub_dirs filenames = [] nested_files = [] filenames = list_filenames_in_template_dir( - metafunc, - extensions, - template_type, - sub_dirs) + metafunc, extensions, template_type, sub_dirs + ) if exclude_nested: nested_files = get_nested_files(filenames) return list(set(filenames) - set(nested_files)) def get_filenames_list( - metafunc, - extensions=None, - exclude_nested=False, - template_type=''): - ''' + metafunc, extensions=None, exclude_nested=False, template_type="" +): + """ returns the filename fixtures for the template dir, either as by how its passed in on CLI or, during --self-test, the directory whos name matches the current tests module name - ''' - extensions = [ - ".yaml", - ".yml", - ".env" - ] if extensions is None else extensions - if metafunc.config.getoption('self_test'): - filenames_list = list_template_dir(metafunc, - extensions, - exclude_nested, - template_type, - ['pass']) - filenames_list += [pytest.mark.xfail(f, strict=True) - for f in list_template_dir(metafunc, - extensions, - exclude_nested, - template_type, - ['fail'])] + """ + extensions = [".yaml", ".yml", ".env"] if extensions is None else extensions + if metafunc.config.getoption("self_test"): + filenames_list = list_template_dir( + metafunc, extensions, exclude_nested, template_type, ["pass"] + ) + filenames_list += [ + pytest.mark.xfail(f, strict=True) + for f in list_template_dir( + metafunc, extensions, exclude_nested, template_type, ["fail"] + ) + ] else: - filenames_list = list_template_dir(metafunc, - extensions, - exclude_nested, - template_type) + filenames_list = list_template_dir( + metafunc, extensions, exclude_nested, template_type + ) return filenames_list def get_filenames_lists( - metafunc, - extensions=None, - exclude_nested=False, - template_type=''): - ''' + metafunc, extensions=None, exclude_nested=False, template_type="" +): + """ returns the list of files in the template dir, either as by how its passed in on CLI or, during --self-test, the directory whos name matches the current tests module name - ''' - extensions = [ - ".yaml", - ".yml", - ".env" - ] if extensions is None else extensions + """ + extensions = [".yaml", ".yml", ".env"] if extensions is None else extensions filenames_lists = [] - if metafunc.config.getoption('self_test'): - filenames_lists.append(list_template_dir(metafunc, - extensions, - exclude_nested, - template_type, - ['pass'])) - filenames_lists.append(pytest.mark.xfail( - list_template_dir(metafunc, - extensions, - exclude_nested, - template_type, - ['fail']), - strict=True)) + if metafunc.config.getoption("self_test"): + filenames_lists.append( + list_template_dir( + metafunc, extensions, exclude_nested, template_type, ["pass"] + ) + ) + filenames_lists.append( + pytest.mark.xfail( + list_template_dir( + metafunc, extensions, exclude_nested, template_type, ["fail"] + ), + strict=True, + ) + ) else: - filenames_lists.append(list_template_dir(metafunc, - extensions, - exclude_nested, - template_type)) + filenames_lists.append( + list_template_dir(metafunc, extensions, exclude_nested, template_type) + ) return filenames_lists def get_parsed_yaml_files( - metafunc, - extensions, - exclude_nested=True, - template_type='', - sections=None): - ''' + metafunc, extensions, exclude_nested=True, template_type="", sections=None +): + """ returns the list of parsed yaml files in the specified template dir, either as by how its passed in on CLI or, during --self-test, the directory whos name matches the current tests module name - ''' + """ sections = [] if sections is None else sections extensions = [".yaml", ".yml"] - if metafunc.config.getoption('self_test'): - yaml_files = list_template_dir(metafunc, extensions, exclude_nested, - template_type, ['pass']) - parsed_yml_list = get_parsed_yml_for_yaml_files(yaml_files, - sections) - - yaml_files = list_template_dir(metafunc, extensions, exclude_nested, - template_type, ['fail']) - parsed_yml_list = get_parsed_yml_for_yaml_files(yaml_files, - sections) - parsed_yml_list += [pytest.mark.xfail(parsed_yml, strict=True) - for parsed_yml in parsed_yml_list] + if metafunc.config.getoption("self_test"): + yaml_files = list_template_dir( + metafunc, extensions, exclude_nested, template_type, ["pass"] + ) + parsed_yml_list = get_parsed_yml_for_yaml_files(yaml_files, sections) + + yaml_files = list_template_dir( + metafunc, extensions, exclude_nested, template_type, ["fail"] + ) + parsed_yml_list = get_parsed_yml_for_yaml_files(yaml_files, sections) + parsed_yml_list += [ + pytest.mark.xfail(parsed_yml, strict=True) for parsed_yml in parsed_yml_list + ] else: yaml_files = list_template_dir(metafunc, extensions) - parsed_yml_list = get_parsed_yml_for_yaml_files(yaml_files, - sections) + parsed_yml_list = get_parsed_yml_for_yaml_files(yaml_files, sections) return parsed_yml_list def parametrize_filenames(metafunc): - ''' + """ This param runs tests all files in the template dir - ''' + """ filenames = get_filenames_lists(metafunc) - metafunc.parametrize('filenames', filenames) + metafunc.parametrize("filenames", filenames) def parametrize_filename(metafunc): - ''' + """ This param runs tests once for every file in the template dir - ''' + """ filenames = get_filenames_list(metafunc) - metafunc.parametrize('filename', filenames) + metafunc.parametrize("filename", filenames) def parametrize_yaml_files(metafunc): - ''' + """ This param runs tests for the yaml files in the template dir - ''' - yaml_files = get_filenames_lists(metafunc, ['.yaml', '.yml'], False) + """ + yaml_files = get_filenames_lists(metafunc, [".yaml", ".yml"], False) metafunc.parametrize("yaml_files", yaml_files) def parametrize_yaml_file(metafunc): - ''' + """ This param runs tests for every yaml file in the template dir - ''' - yaml_files = get_filenames_list(metafunc, ['.yaml', '.yml'], False) - metafunc.parametrize('yaml_file', yaml_files) + """ + yaml_files = get_filenames_list(metafunc, [".yaml", ".yml"], False) + metafunc.parametrize("yaml_file", yaml_files) def parametrize_templates(metafunc): - ''' + """ This param runs tests for the template in the template dir - ''' - templates = get_filenames_lists(metafunc, ['.yaml', '.yml'], True) + """ + templates = get_filenames_lists(metafunc, [".yaml", ".yml"], True) metafunc.parametrize("templates", templates) def parametrize_template(metafunc): - ''' + """ This param runs tests for every template in the template dir - ''' - templates = get_filenames_list(metafunc, ['.yaml', '.yml'], True) - metafunc.parametrize('template', templates) + """ + templates = get_filenames_list(metafunc, [".yaml", ".yml"], True) + metafunc.parametrize("template", templates) def parametrize_parsed_yaml_file(metafunc): - ''' + """ This param runs tests for a parsed version of each yaml file in the template dir - ''' - parsed_yaml_files = get_parsed_yaml_files(metafunc, ['.yaml', '.yml'], - False) - metafunc.parametrize('parsed_yaml_file', parsed_yaml_files) + """ + parsed_yaml_files = get_parsed_yaml_files(metafunc, [".yaml", ".yml"], False) + metafunc.parametrize("parsed_yaml_file", parsed_yaml_files) def parametrize_heat_templates(metafunc): - ''' + """ This param runs tests for all heat templates in the template dir - ''' - heat_templates = get_filenames_lists(metafunc, ['.yaml', '.yml'], - True, 'heat') - metafunc.parametrize('heat_templates', heat_templates) + """ + heat_templates = get_filenames_lists(metafunc, [".yaml", ".yml"], True, "heat") + metafunc.parametrize("heat_templates", heat_templates) def parametrize_heat_template(metafunc): - ''' + """ This param runs tests for every heat template in the template dir - ''' - heat_templates = get_filenames_list(metafunc, ['.yaml', '.yml'], - True, 'heat') - metafunc.parametrize('heat_template', heat_templates) + """ + heat_templates = get_filenames_list(metafunc, [".yaml", ".yml"], True, "heat") + metafunc.parametrize("heat_template", heat_templates) def parametrize_volume_templates(metafunc): - ''' + """ This param runs tests for all volume templates in the template dir - ''' - volume_templates = get_filenames_lists(metafunc, ['.yaml', '.yml'], - True, 'volume') - metafunc.parametrize('volume_templates', volume_templates) + """ + volume_templates = get_filenames_lists(metafunc, [".yaml", ".yml"], True, "volume") + metafunc.parametrize("volume_templates", volume_templates) def parametrize_volume_template(metafunc): - ''' + """ This param runs tests for every volume template in the template dir - ''' - volume_templates = get_filenames_list(metafunc, ['.yaml', '.yml'], - True, 'volume') - metafunc.parametrize('volume_template', volume_templates) + """ + volume_templates = get_filenames_list(metafunc, [".yaml", ".yml"], True, "volume") + metafunc.parametrize("volume_template", volume_templates) def parametrize_environment_files(metafunc): - ''' + """ This param runs tests for all environment files in the template dir - ''' - env_files = get_filenames_lists(metafunc, ['.env']) - metafunc.parametrize('env_files', env_files) + """ + env_files = get_filenames_lists(metafunc, [".env"]) + metafunc.parametrize("env_files", env_files) def parametrize_environment_file(metafunc): - ''' + """ This param runs tests for every environment file in the template dir - ''' - env_files = get_filenames_list(metafunc, ['.env']) - metafunc.parametrize('env_file', env_files) + """ + env_files = get_filenames_list(metafunc, [".env"]) + metafunc.parametrize("env_file", env_files) def parametrize_parsed_environment_file(metafunc): - ''' + """ This param runs tests for every parsed environment file in the template dir - ''' - parsed_env_files = get_parsed_yaml_files(metafunc, ['.env']) - metafunc.parametrize('parsed_env_file', parsed_env_files) + """ + parsed_env_files = get_parsed_yaml_files(metafunc, [".env"]) + metafunc.parametrize("parsed_env_file", parsed_env_files) def parametrize_template_dir(metafunc): - ''' + """ This param passes a the template_dir as passed in on CLI or, during --self-test, passes in the sub directories of template_dir/pass/ and template_dir/fail template_dir = get_template_dir(metafunc) - ''' + """ template_dir = get_template_dir(metafunc) - if metafunc.config.getoption('self_test'): - dirs = [path.join(template_dir, s, t) - for s in ['pass'] - for t in listdir(path.join(template_dir, s)) - if path.isdir(path.join(template_dir, s, t))] - - dirs += [pytest.mark.xfail(path.join(template_dir, s, t)) - for s in ['fail'] - for t in listdir(path.join(template_dir, s)) - if path.isdir(path.join(template_dir, s, t))] + if metafunc.config.getoption("self_test"): + dirs = [ + path.join(template_dir, s, t) + for s in ["pass"] + for t in listdir(path.join(template_dir, s)) + if path.isdir(path.join(template_dir, s, t)) + ] + + dirs += [ + pytest.mark.xfail(path.join(template_dir, s, t)) + for s in ["fail"] + for t in listdir(path.join(template_dir, s)) + if path.isdir(path.join(template_dir, s, t)) + ] else: dirs = [template_dir] - metafunc.parametrize('template_dir', dirs) + metafunc.parametrize("template_dir", dirs) -def parametrize_environment_pair(metafunc, template_type=''): - ''' +def parametrize_environment_pair(metafunc, template_type=""): + """ Define a list of pairs of parsed yaml from the heat templates and environment files - ''' + """ pairs = [] - if metafunc.config.getoption('self_test'): - sub_dirs = ['pass', 'fail'] - env_files = list_template_dir(metafunc, ['.env'], True, - template_type, sub_dirs) - yaml_files = list_template_dir(metafunc, ['.yaml', '.yml'], True, - template_type, sub_dirs) + if metafunc.config.getoption("self_test"): + sub_dirs = ["pass", "fail"] + env_files = list_template_dir(metafunc, [".env"], True, template_type, sub_dirs) + yaml_files = list_template_dir( + metafunc, [".yaml", ".yml"], True, template_type, sub_dirs + ) else: - env_files = list_template_dir(metafunc, ['.env'], True, - template_type) - yaml_files = list_template_dir(metafunc, ['.yaml', '.yml'], - True, template_type) + env_files = list_template_dir(metafunc, [".env"], True, template_type) + yaml_files = list_template_dir(metafunc, [".yaml", ".yml"], True, template_type) for filename in env_files: basename = path.splitext(filename)[0] - if basename + '.yml' in yaml_files: - yfilename = basename + '.yml' + if basename + ".yml" in yaml_files: + yfilename = basename + ".yml" else: - yfilename = basename + '.yaml' + yfilename = basename + ".yaml" try: with open(filename) as fh: @@ -427,44 +401,44 @@ def parametrize_environment_pair(metafunc, template_type=''): with open(yfilename) as fh: yyml = yaml.load(fh) - if 'fail' in filename: - pairs.append(pytest.mark.xfail({"name": basename, - "yyml": yyml, - "eyml": eyml}, - strict=True)) + if "fail" in filename: + pairs.append( + pytest.mark.xfail( + {"name": basename, "yyml": yyml, "eyml": eyml}, strict=True + ) + ) else: pairs.append({"name": basename, "yyml": yyml, "eyml": eyml}) except yaml.YAMLError as e: print(e) # pylint: disable=superfluous-parens - metafunc.parametrize('environment_pair', pairs) + metafunc.parametrize("environment_pair", pairs) def parametrize_heat_volume_pair(metafunc): - ''' + """ Define a list of pairs of parsed yaml from the a heat and volume template - ''' + """ pairs = [] - if metafunc.config.getoption('self_test'): - sub_dirs = ['pass', 'fail'] - volume_files = list_template_dir(metafunc, ['.yaml', '.yml'], - True, 'volume', sub_dirs) - yaml_files = list_template_dir(metafunc, ['.yaml', '.yml'], - True, '', sub_dirs) + if metafunc.config.getoption("self_test"): + sub_dirs = ["pass", "fail"] + volume_files = list_template_dir( + metafunc, [".yaml", ".yml"], True, "volume", sub_dirs + ) + yaml_files = list_template_dir(metafunc, [".yaml", ".yml"], True, "", sub_dirs) else: - volume_files = list_template_dir(metafunc, ['.yaml', '.yml'], - True, 'volume') - yaml_files = list_template_dir(metafunc, ['.yaml', '.yml'], True) + volume_files = list_template_dir(metafunc, [".yaml", ".yml"], True, "volume") + yaml_files = list_template_dir(metafunc, [".yaml", ".yml"], True) - pattern = re.compile(r'\_volume$') + pattern = re.compile(r"\_volume$") for vfilename in volume_files: - basename = pattern.sub('', path.splitext(vfilename)[0]) - if basename + '.yml' in yaml_files: - yfilename = basename + '.yml' + basename = pattern.sub("", path.splitext(vfilename)[0]) + if basename + ".yml" in yaml_files: + yfilename = basename + ".yml" else: - yfilename = basename + '.yaml' + yfilename = basename + ".yaml" try: with open(vfilename) as fh: @@ -472,15 +446,16 @@ def parametrize_heat_volume_pair(metafunc): with open(yfilename) as fh: yyml = yaml.load(fh) - if 'fail' in vfilename: - pairs.append(pytest.mark.xfail({"name": basename, - "yyml": yyml, - "vyml": vyml}, - strict=True)) + if "fail" in vfilename: + pairs.append( + pytest.mark.xfail( + {"name": basename, "yyml": yyml, "vyml": vyml}, strict=True + ) + ) else: pairs.append({"name": basename, "yyml": yyml, "vyml": vyml}) except yaml.YAMLError as e: print(e) # pylint: disable=superfluous-parens - metafunc.parametrize('heat_volume_pair', pairs) + metafunc.parametrize("heat_volume_pair", pairs) diff --git a/ice_validator/tests/structures.py b/ice_validator/tests/structures.py index 705e35f..d10c5ea 100644 --- a/ice_validator/tests/structures.py +++ b/ice_validator/tests/structures.py @@ -38,8 +38,8 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -'''structures -''' +"""structures +""" import os @@ -47,7 +47,7 @@ import yaml from .utils import nested_dict -VERSION = '1.4.0' +VERSION = "1.4.0" class Heat(object): @@ -55,6 +55,7 @@ class Heat(object): filepath - absolute path to template file. envpath - absolute path to environmnt file. """ + def __init__(self, filepath=None, envpath=None): self.filepath = None self.basename = None @@ -81,14 +82,13 @@ class Heat(object): self.dirname = os.path.dirname(self.filepath) with open(self.filepath) as fi: self.yml = yaml.load(fi) - self.heat_template_version = self.yml.get('heat_template_version', - None) - self.description = self.yml.get('description', '') - self.parameter_groups = self.yml.get('parameter_groups', {}) - self.parameters = self.yml.get('parameters', {}) - self.resources = self.yml.get('resources', {}) - self.outputs = self.yml.get('outputs', {}) - self.conditions = self.yml.get('conditions', {}) + self.heat_template_version = self.yml.get("heat_template_version", None) + self.description = self.yml.get("description", "") + self.parameter_groups = self.yml.get("parameter_groups", {}) + self.parameters = self.yml.get("parameters", {}) + self.resources = self.yml.get("resources", {}) + self.outputs = self.yml.get("outputs", {}) + self.conditions = self.yml.get("conditions", {}) def load_env(self, envpath): """Load the Environment template given a envpath. @@ -105,22 +105,21 @@ class Heat(object): class Env(Heat): """An Environment file """ + pass class Resource(object): """A Resource """ + def __init__(self, resource_id=None, resource=None): - self.resource_id = resource_id or '' + self.resource_id = resource_id or "" self.resource = resource or {} @staticmethod def get_index_var(resource): """Return the index_var for this resource. """ - index_var = nested_dict.get( - resource, - 'properties', - 'index_var') or 'index' + index_var = nested_dict.get(resource, "properties", "index_var") or "index" return index_var diff --git a/ice_validator/tests/test_all_referenced_resources_exists.py b/ice_validator/tests/test_all_referenced_resources_exists.py index 39247bf..e77f4f8 100644 --- a/ice_validator/tests/test_all_referenced_resources_exists.py +++ b/ice_validator/tests/test_all_referenced_resources_exists.py @@ -38,24 +38,24 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -'''test_all_referenced_resources_exists -''' +"""test_all_referenced_resources_exists +""" import pytest import yaml from .utils.nested_iterables import find_all_get_resource_in_yml -VERSION = '1.0.0' +VERSION = "1.0.0" # pylint: disable=invalid-name def test_all_referenced_resources_exists(yaml_file): - ''' + """ Check that all resources referenced by get_resource actually exists in all yaml files - ''' + """ with open(yaml_file) as fh: yml = yaml.load(fh) @@ -63,7 +63,7 @@ def test_all_referenced_resources_exists(yaml_file): if "resources" not in yml: pytest.skip("No resources specified in the yaml file") - resource_ids = yml['resources'].keys() + resource_ids = yml["resources"].keys() referenced_resource_ids = find_all_get_resource_in_yml(yml) missing_referenced_resources = set() @@ -71,6 +71,6 @@ def test_all_referenced_resources_exists(yaml_file): if referenced_resource_id not in resource_ids: missing_referenced_resources.add(referenced_resource_id) - assert not missing_referenced_resources, ( - 'missing referenced resources %s' % list( - missing_referenced_resources)) + assert not missing_referenced_resources, "missing referenced resources %s" % list( + missing_referenced_resources + ) diff --git a/ice_validator/tests/test_allowed_address_pair_format.py b/ice_validator/tests/test_allowed_address_pair_format.py index 721d5c9..816f486 100644 --- a/ice_validator/tests/test_allowed_address_pair_format.py +++ b/ice_validator/tests/test_allowed_address_pair_format.py @@ -38,54 +38,91 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -''' +""" test_allowed_address_pairs_format -''' +""" import re import pytest import yaml -from .utils.network_roles import get_network_role_from_port, \ - property_uses_get_resource +from .utils.network_roles import get_network_role_from_port, property_uses_get_resource -VERSION = '1.0.0' +VERSION = "1.0.0" # pylint: disable=invalid-name def test_allowed_address_pairs_format(heat_template): - ''' + """ Make sure all allowed_address_pairs properties follow the allowed naming conventions - ''' + """ allowed_formats = [ - ["allowed_address_pairs", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_floating_v6_ip')], - ["allowed_address_pairs", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_floating_ip')], - ["allowed_address_pairs", "string", "external", - re.compile(r'(.+?)_floating_v6_ip')], - ["allowed_address_pairs", "string", "external", - re.compile(r'(.+?)_floating_ip')], - ["allowed_address_pairs", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_v6_ip_\d+')], - ["allowed_address_pairs", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_ip_\d+')], - ["allowed_address_pairs", "string", "external", - re.compile(r'(.+?)_v6_ip_\d+')], - ["allowed_address_pairs", "string", "external", - re.compile(r'(.+?)_ip_\d+')], - ["allowed_address_pairs", "comma_delimited_list", - "internal", re.compile(r'(.+?)_int_(.+?)_v6_ips')], - ["allowed_address_pairs", "comma_delimited_list", - "internal", re.compile(r'(.+?)_int_(.+?)_ips')], - ["allowed_address_pairs", "comma_delimited_list", - "external", re.compile(r'(.+?)_v6_ips')], - ["allowed_address_pairs", "comma_delimited_list", - "external", re.compile(r'(.+?)_ips')], - ] + [ + "allowed_address_pairs", + "string", + "internal", + re.compile(r"(.+?)_int_(.+?)_floating_v6_ip"), + ], + [ + "allowed_address_pairs", + "string", + "internal", + re.compile(r"(.+?)_int_(.+?)_floating_ip"), + ], + [ + "allowed_address_pairs", + "string", + "external", + re.compile(r"(.+?)_floating_v6_ip"), + ], + [ + "allowed_address_pairs", + "string", + "external", + re.compile(r"(.+?)_floating_ip"), + ], + [ + "allowed_address_pairs", + "string", + "internal", + re.compile(r"(.+?)_int_(.+?)_v6_ip_\d+"), + ], + [ + "allowed_address_pairs", + "string", + "internal", + re.compile(r"(.+?)_int_(.+?)_ip_\d+"), + ], + ["allowed_address_pairs", "string", "external", re.compile(r"(.+?)_v6_ip_\d+")], + ["allowed_address_pairs", "string", "external", re.compile(r"(.+?)_ip_\d+")], + [ + "allowed_address_pairs", + "comma_delimited_list", + "internal", + re.compile(r"(.+?)_int_(.+?)_v6_ips"), + ], + [ + "allowed_address_pairs", + "comma_delimited_list", + "internal", + re.compile(r"(.+?)_int_(.+?)_ips"), + ], + [ + "allowed_address_pairs", + "comma_delimited_list", + "external", + re.compile(r"(.+?)_v6_ips"), + ], + [ + "allowed_address_pairs", + "comma_delimited_list", + "external", + re.compile(r"(.+?)_ips"), + ], + ] with open(heat_template) as fh: yml = yaml.load(fh) @@ -98,17 +135,18 @@ def test_allowed_address_pairs_format(heat_template): invalid_allowed_address_pairs = [] for v1 in yml["resources"].values(): - if (not isinstance(v1, dict) - or "properties" not in v1 - or v1.get("type") != "OS::Neutron::Port" - or property_uses_get_resource(v1, "network")): + if ( + not isinstance(v1, dict) or + "properties" not in v1 or + v1.get("type") != "OS::Neutron::Port" or + property_uses_get_resource(v1, "network") + ): continue network_role = get_network_role_from_port(v1) v2 = v1["properties"].get("allowed_address_pairs", {}) for v3 in v2: - if ("ip_address" not in v3 - or "get_param" not in v3["ip_address"]): + if "ip_address" not in v3 or "get_param" not in v3["ip_address"]: continue param = v3["ip_address"]["get_param"] @@ -119,17 +157,21 @@ def test_allowed_address_pairs_format(heat_template): # check if pattern matches m = v4[3].match(param) if m: - if (v4[2] == "internal" - and len(m.groups()) > 1 - and m.group(2) == network_role): + if ( + v4[2] == "internal" and + len(m.groups()) > 1 and + m.group(2) == network_role + ): break - elif (v4[2] == "external" - and len(m.groups()) > 0 - and m.group(1).endswith("_" + network_role)): + elif ( + v4[2] == "external" + and len(m.groups()) > 0 + and m.group(1).endswith("_" + network_role) + ): break else: invalid_allowed_address_pairs.append(param) - assert not set(invalid_allowed_address_pairs), ( - 'invalid_allowed_address_pairs %s' % list( - set(invalid_allowed_address_pairs))) + assert not set( + invalid_allowed_address_pairs + ), "invalid_allowed_address_pairs %s" % list(set(invalid_allowed_address_pairs)) diff --git a/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py b/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py index cd2e50f..7ce9c43 100644 --- a/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py +++ b/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py @@ -38,9 +38,9 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -''' +""" test_allowed_address_pairs_include_vm_type_network_role -''' +""" import pytest import yaml @@ -48,19 +48,18 @@ import yaml from .helpers import validates from .utils.ports import get_invalid_ip_addresses -VERSION = '1.0.0' +VERSION = "1.0.0" # pylint: disable=invalid-name -@validates('R-41492', - 'R-35735') +@validates("R-41492", "R-35735") def test_allowed_address_pairs_include_vm_type_network_role(heat_template): - ''' + """ Check that all allowed_address_pairs include the {vm_type} of the nova server it is associated to and also contains the {network_role} of the network it is associated with - ''' + """ with open(heat_template) as fh: yml = yaml.load(fh) @@ -68,9 +67,10 @@ def test_allowed_address_pairs_include_vm_type_network_role(heat_template): if "resources" not in yml: pytest.skip("No resources specified in the heat template") - invalid_ip_addresses = get_invalid_ip_addresses(yml['resources'], - "allowed_address_pairs") + invalid_ip_addresses = get_invalid_ip_addresses( + yml["resources"], "allowed_address_pairs" + ) - assert not set(invalid_ip_addresses), ( - 'invalid ip addresses allowed address pairs %s' % list( - set(invalid_ip_addresses))) + assert not set( + invalid_ip_addresses + ), "invalid ip addresses allowed address pairs %s" % list(set(invalid_ip_addresses)) diff --git a/ice_validator/tests/test_availability_zone.py b/ice_validator/tests/test_availability_zone.py index 6e0de32..4f250b8 100644 --- a/ice_validator/tests/test_availability_zone.py +++ b/ice_validator/tests/test_availability_zone.py @@ -47,14 +47,14 @@ import yaml from .helpers import validates -VERSION = '1.1.0' +VERSION = "1.1.0" -@validates('R-98450') +@validates("R-98450") def test_availability_zone_naming(heat_template): - ''' + """ Make sure all availability zones are properly formatted - ''' + """ with open(heat_template) as fh: yml = yaml.load(fh) @@ -75,13 +75,13 @@ def test_availability_zone_naming(heat_template): if v1["type"] == "OS::Nova::Server": for k2, v2 in v1["properties"].items(): - if k2 != 'availability_zone': + if k2 != "availability_zone": continue - if 'str_replace' in v2: + if "str_replace" in v2: continue - if not re.match(r'availability_zone_\d+', v2["get_param"]): + if not re.match(r"availability_zone_\d+", v2["get_param"]): invalid_availability_zones.add(v2["get_param"]) - assert not invalid_availability_zones, ( - 'invalid availability zones %s' % list( - invalid_availability_zones)) + assert not invalid_availability_zones, "invalid availability zones %s" % list( + invalid_availability_zones + ) diff --git a/ice_validator/tests/test_availability_zone_get_param.py b/ice_validator/tests/test_availability_zone_get_param.py index 088a272..456f74b 100644 --- a/ice_validator/tests/test_availability_zone_get_param.py +++ b/ice_validator/tests/test_availability_zone_get_param.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_base_template_names.py b/ice_validator/tests/test_base_template_names.py index 40452ae..f9196a9 100644 --- a/ice_validator/tests/test_base_template_names.py +++ b/ice_validator/tests/test_base_template_names.py @@ -72,7 +72,5 @@ def test_base_template_names(template_dir): if RE_BASE.search(filename): base_template_count += 1 - assert base_template_count == 1, ( - 'must be 1 "*_base_*" in %s not %d' % ( - filenames, - base_template_count)) + msg = 'must be 1 "*_base_*" in %s not %d' % (filenames, base_template_count) + assert base_template_count == 1, msg diff --git a/ice_validator/tests/test_base_template_outputs_consumed.py b/ice_validator/tests/test_base_template_outputs_consumed.py index fc1edc1..5d5bcd9 100644 --- a/ice_validator/tests/test_base_template_outputs_consumed.py +++ b/ice_validator/tests/test_base_template_outputs_consumed.py @@ -38,9 +38,9 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -''' +""" test_base_template_outputs_consumed -''' +""" from os import path, sep @@ -49,27 +49,29 @@ import yaml from .helpers import validates -VERSION = '1.0.0' +VERSION = "1.0.0" # pylint: disable=invalid-name -@validates('R-52753') +@validates("R-52753") def test_base_template_outputs_consumed(heat_templates): - ''' + """ Check that all outputs in the base template is consumed by another template. The exception is the predefined output parameters. - ''' + """ base_template = "" base_template_yml = "" for heat_template in heat_templates: with open(heat_template) as fh: yml = yaml.load(fh) basename = path.splitext(heat_template)[0].rsplit(sep, 1)[1] - if (basename.endswith("_base") - or basename.startswith("base_") - or basename.find("_base_") > 0): + if ( + basename.endswith("_base") or + basename.startswith("base_") or + basename.find("_base_") > 0 + ): base_template = heat_template base_template_yml = yml @@ -77,8 +79,7 @@ def test_base_template_outputs_consumed(heat_templates): if "outputs" not in base_template_yml: pytest.skip("No outputs specified in the base template") - predefined_outputs = ['oam_management_v4_address', - 'oam_management_v6_address'] + predefined_outputs = ["oam_management_v4_address", "oam_management_v6_address"] base_outputs = set(base_template_yml["outputs"]) - set(predefined_outputs) # get all add-on templates @@ -94,6 +95,6 @@ def test_base_template_outputs_consumed(heat_templates): parameters = yml["parameters"].keys() non_base_parameters.extend(parameters) - assert base_outputs <= set(non_base_parameters), ( - 'unconsumed outputs %s' % list( - base_outputs - set(non_base_parameters))) + assert base_outputs <= set(non_base_parameters), "unconsumed outputs %s" % list( + base_outputs - set(non_base_parameters) + ) diff --git a/ice_validator/tests/test_cloud_config_resource_id.py b/ice_validator/tests/test_cloud_config_resource_id.py index bd04e37..de82fe4 100644 --- a/ice_validator/tests/test_cloud_config_resource_id.py +++ b/ice_validator/tests/test_cloud_config_resource_id.py @@ -38,10 +38,10 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -''' +""" A VNF's Heat Orchestration Template's Resource ``OS::Heat::CloudConfig`` Resource ID **MUST** contain the ``{vm-type}``. -''' +""" import pytest @@ -49,24 +49,24 @@ from .structures import Heat from .helpers import validates from .utils import vm_types -VERSION = '1.0.0' +VERSION = "1.0.0" -@validates('R-04747') +@validates("R-04747") def test_cloud_config(heat_template): - '''validate resource ids - ''' + """validate resource ids + """ h = Heat(filepath=heat_template) if not h.resources: - pytest.skip('No resources in this template') + pytest.skip("No resources in this template") cloud_configs = get_cloud_configs(h) if not cloud_configs: - pytest.skip('No CloudConfig resources in this template') + pytest.skip("No CloudConfig resources in this template") resource_vm_types = vm_types.get_vm_types(h.resources) if not resource_vm_types: - pytest.skip('No resources with {vm-type} in this template') + pytest.skip("No resources with {vm-type} in this template") bad = set() for rid in cloud_configs: @@ -75,13 +75,17 @@ def test_cloud_config(heat_template): break else: bad.add(rid) - assert not bad, 'CloudConfigs %s have {vm-type} not in %s' % ( - list(bad), - list(resource_vm_types)) + assert not bad, "CloudConfigs %s have {vm-type} not in %s" % ( + list(bad), + list(resource_vm_types), + ) def get_cloud_configs(heat): """Return list of resource_id whose type is OS::Heat::CloudConfig. """ - return [rid for rid, resource in heat.resources.items() - if heat.nested_get(resource, 'type') == 'OS::Heat::CloudConfig'] + return [ + rid + for rid, resource in heat.resources.items() + if heat.nested_get(resource, "type") == "OS::Heat::CloudConfig" + ] diff --git a/ice_validator/tests/test_env_and_yaml_same_name.py b/ice_validator/tests/test_env_and_yaml_same_name.py index 865845a..58b0f39 100644 --- a/ice_validator/tests/test_env_and_yaml_same_name.py +++ b/ice_validator/tests/test_env_and_yaml_same_name.py @@ -39,31 +39,27 @@ # from .helpers import validates -'''test_env_and_yaml_same_name -''' +"""test_env_and_yaml_same_name +""" from os import listdir from os import path -VERSION = '1.0.0' +VERSION = "1.0.0" -@validates('R-67205', 'R-35727', 'R-22656') +@validates("R-67205", "R-35727", "R-22656") def test_env_and_yaml_same_name(template_dir): - ''' + """ Check that all environment template filenames are identical to an associated Heat template filenames. Log the result of the check and add the filename of any environment file that is badly named. - ''' + """ files = listdir(template_dir) - env_files = [f for f in files - if path.splitext(f)[-1] == ".env"] - yaml_files = [f for f in files - if path.splitext(f)[-1] in ['.yml', '.yaml']] + env_files = [f for f in files if path.splitext(f)[-1] == ".env"] + yaml_files = [f for f in files if path.splitext(f)[-1] in [".yml", ".yaml"]] unmatched = [] for filename in env_files: basename = path.splitext(filename)[0] - if (basename + '.yaml' not in yaml_files - and basename + '.yml' not in yaml_files): + if basename + ".yaml" not in yaml_files and basename + ".yml" not in yaml_files: unmatched.append(filename) - assert not unmatched, ( - 'files with no corresponding .y[a]ml %s' % unmatched) + assert not unmatched, "files with no corresponding .y[a]ml %s" % unmatched diff --git a/ice_validator/tests/test_env_no_resource_registry.py b/ice_validator/tests/test_env_no_resource_registry.py index 1d03d74..5d6949a 100644 --- a/ice_validator/tests/test_env_no_resource_registry.py +++ b/ice_validator/tests/test_env_no_resource_registry.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -42,17 +42,18 @@ import yaml from .helpers import validates -VERSION = '1.0.0' +VERSION = "1.0.0" -@validates('R-67231') +@validates("R-67231") def test_env_no_resource_registry(env_files): - ''' + """ A VNF's Heat Orchestration template's Environment File's **MUST NOT** contain the "resource_registry:" section. - ''' + """ for filename in env_files: with open(filename) as fi: yml = yaml.load(fi) - assert 'resource_registry' not in yml, ( - '%s contains "resource_registry"' % filename) + assert "resource_registry" not in yml, ( + '%s contains "resource_registry"' % filename + ) diff --git a/ice_validator/tests/test_environment_file_structure.py b/ice_validator/tests/test_environment_file_structure.py index b50629e..34d3b48 100644 --- a/ice_validator/tests/test_environment_file_structure.py +++ b/ice_validator/tests/test_environment_file_structure.py @@ -46,68 +46,64 @@ import pytest from .helpers import validates -VERSION = '1.0.0' +VERSION = "1.0.0" # pylint: disable=invalid-name def test_environment_structure(env_file): - ''' + """ Check that all environments files only have the allowed sections - ''' - key_values = ["parameters", "event_sinks", "encrypted_parameters", - "parameter_merge_strategies"] + """ + key_values = [ + "parameters", + "event_sinks", + "encrypted_parameters", + "parameter_merge_strategies", + ] with open(env_file) as fh: yml = yaml.load(fh) - assert [k for k in key_values if k in yml], ( - '%s missing any of %s' % ( - env_file, - key_values)) + assert [k for k in key_values if k in yml], "%s missing any of %s" % ( + env_file, + key_values, + ) -@validates('R-03324') +@validates("R-03324") def test_environment_file_contains_required_sections(env_file): - ''' + """ Check that all environments files only have the allowed sections - ''' + """ required_keys = ["parameters"] with open(env_file) as fh: yml = yaml.load(fh) missing_keys = [v for v in required_keys if v not in yml] - assert not missing_keys, '%s missing %s' % (env_file, missing_keys) + assert not missing_keys, "%s missing %s" % (env_file, missing_keys) def test_environment_file_sections_have_the_right_format(env_file): - ''' + """ Check that all environment files have sections of the right format. Do note that it only tests for dicts or not dicts currently. - ''' - dict_keys = [ - "parameters", - "encrypted_parameters", - "parameter_merge_strategies"] - not_dict_keys = [ - "event_sinks"] + """ + dict_keys = ["parameters", "encrypted_parameters", "parameter_merge_strategies"] + not_dict_keys = ["event_sinks"] with open(env_file) as fh: yml = yaml.load(fh) if not [k for k in dict_keys + not_dict_keys if k in yml]: - pytest.skip('The fixture is not applicable for this test') - - bad_dict_keys = [k for k in dict_keys - if k in yml - and not isinstance(yml[k], dict)] - bad_not_dict_keys = [k for k in not_dict_keys - if k in yml - and isinstance(yml[k], dict)] + pytest.skip("The fixture is not applicable for this test") + + bad_dict_keys = [k for k in dict_keys if k in yml and not isinstance(yml[k], dict)] + bad_not_dict_keys = [ + k for k in not_dict_keys if k in yml and isinstance(yml[k], dict) + ] errors = [] if bad_dict_keys: - errors.append('must be dict %s' % bad_dict_keys) + errors.append("must be dict %s" % bad_dict_keys) if bad_not_dict_keys: - errors.append('must not be dict %s' % bad_not_dict_keys) - assert not errors, '%s errors:\n %s' % ( - env_file, - '\n '.join(errors)) + errors.append("must not be dict %s" % bad_not_dict_keys) + assert not errors, "%s errors:\n %s" % (env_file, "\n ".join(errors)) diff --git a/ice_validator/tests/test_fixed_ips_format.py b/ice_validator/tests/test_fixed_ips_format.py index 8e159ba..77a515e 100644 --- a/ice_validator/tests/test_fixed_ips_format.py +++ b/ice_validator/tests/test_fixed_ips_format.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -41,8 +41,7 @@ import pytest import yaml from .utils.ports import is_reserved_port -from .utils.network_roles import get_network_role_from_port,\ - property_uses_get_resource +from .utils.network_roles import get_network_role_from_port, property_uses_get_resource import re @@ -52,23 +51,23 @@ def test_fixed_ips_format(heat_template): naming conventions ''' formats = [ - ["fixed_ips", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_ip_\d+')], - ["fixed_ips", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_v6_ip_\d+')], - ["fixed_ips", "string", "external", - re.compile(r'(.+?)_ip_\d+')], - ["fixed_ips", "string", "external", - re.compile(r'(.+?)_v6_ip_\d+')], - ["fixed_ips", "comma_delimited_list", "internal", - re.compile(r'(.+?)_int_(.+?)_ips')], - ["fixed_ips", "comma_delimited_list", "internal", - re.compile(r'(.+?)_int_(.+?)_v6_ips')], - ["fixed_ips", "comma_delimited_list", "external", - re.compile(r'(.+?)_ips')], - ["fixed_ips", "comma_delimited_list", "external", - re.compile(r'(.+?)_v6_ips')], - ] + ["fixed_ips", "string", "internal", + re.compile(r'(.+?)_int_(.+?)_ip_\d+')], + ["fixed_ips", "string", "internal", + re.compile(r'(.+?)_int_(.+?)_v6_ip_\d+')], + ["fixed_ips", "string", "external", + re.compile(r'(.+?)_ip_\d+')], + ["fixed_ips", "string", "external", + re.compile(r'(.+?)_v6_ip_\d+')], + ["fixed_ips", "comma_delimited_list", "internal", + re.compile(r'(.+?)_int_(.+?)_ips')], + ["fixed_ips", "comma_delimited_list", "internal", + re.compile(r'(.+?)_int_(.+?)_v6_ips')], + ["fixed_ips", "comma_delimited_list", "external", + re.compile(r'(.+?)_ips')], + ["fixed_ips", "comma_delimited_list", "external", + re.compile(r'(.+?)_v6_ips')], + ] with open(heat_template) as fh: yml = yaml.load(fh) diff --git a/ice_validator/tests/test_fixed_ips_format_use_get_param.py b/ice_validator/tests/test_fixed_ips_format_use_get_param.py index 13f028d..df57c01 100644 --- a/ice_validator/tests/test_fixed_ips_format_use_get_param.py +++ b/ice_validator/tests/test_fixed_ips_format_use_get_param.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -44,9 +44,9 @@ from .utils.ports import is_reserved_port def test_fixed_ips_format_use_get_parm(heat_template): - ''' + """ Make sure all fixed_ips properties only use get_param - ''' + """ with open(heat_template) as fh: yml = yaml.load(fh) diff --git a/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py b/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py index 85c0a4d..53f6453 100644 --- a/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py +++ b/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_get_file_only_reference_local_files.py b/ice_validator/tests/test_get_file_only_reference_local_files.py index 6588a61..65d470c 100644 --- a/ice_validator/tests/test_get_file_only_reference_local_files.py +++ b/ice_validator/tests/test_get_file_only_reference_local_files.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_heat_numeric_parameters.py b/ice_validator/tests/test_heat_numeric_parameters.py index ef29987..3345e4e 100644 --- a/ice_validator/tests/test_heat_numeric_parameters.py +++ b/ice_validator/tests/test_heat_numeric_parameters.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_heat_pairs_provided.py b/ice_validator/tests/test_heat_pairs_provided.py index c89917e..b9c8290 100644 --- a/ice_validator/tests/test_heat_pairs_provided.py +++ b/ice_validator/tests/test_heat_pairs_provided.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_heat_parameter_section.py b/ice_validator/tests/test_heat_parameter_section.py index 2aab7d3..dde4176 100644 --- a/ice_validator/tests/test_heat_parameter_section.py +++ b/ice_validator/tests/test_heat_parameter_section.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -43,16 +43,15 @@ import re import yaml # one or more (alphanumeric or underscore) -RE_VALID_PARAMETER_NAME = re.compile(r'[\w_]+$') +RE_VALID_PARAMETER_NAME = re.compile(r"[\w_]+$") def test_parameter_valid_keys(yaml_file): - ''' + """ Make sure each parameter is a dict and only contain valid keys - ''' - key_values = ["type", "label", "description", - "hidden", "constraints", "immutable"] + """ + key_values = ["type", "label", "description", "hidden", "constraints", "immutable"] with open(yaml_file) as fh: yml = yaml.load(fh) @@ -72,11 +71,11 @@ def test_parameter_valid_keys(yaml_file): assert not set(invalid_params) -@validates('R-90526') +@validates("R-90526") def test_default_values(yaml_file): - ''' + """ Make sure no default values are set for any parameter. - ''' + """ with open(yaml_file) as fh: yml = yaml.load(fh) @@ -88,19 +87,19 @@ def test_default_values(yaml_file): for v1 in yml["parameters"].values(): if not isinstance(v1, dict): continue - if any(k == 'default' for k in v1): + if any(k == "default" for k in v1): invalid_params.append(str(v1)) assert not set(invalid_params) -@validates('R-25877') +@validates("R-25877") def test_parameter_names(yaml_file): - ''' + """ A VNF's Heat Orchestration Template's parameter name (i.e., <param name>) **MUST** contain only alphanumeric characters and underscores ('_'). - ''' + """ with open(yaml_file) as fh: yml = yaml.load(fh) @@ -108,8 +107,7 @@ def test_parameter_names(yaml_file): if "parameters" not in yml: pytest.skip("No parameters specified in the heat template") - for key in yml['parameters']: - assert RE_VALID_PARAMETER_NAME.match(key), ( - '%s parameter "%s" not alphanumeric or underscore' % ( - yaml_file, - key)) + for key in yml["parameters"]: + assert RE_VALID_PARAMETER_NAME.match( + key + ), '%s parameter "%s" not alphanumeric or underscore' % (yaml_file, key) diff --git a/ice_validator/tests/test_heat_template_and_env_file_extension.py b/ice_validator/tests/test_heat_template_and_env_file_extension.py index 8174c20..de83745 100644 --- a/ice_validator/tests/test_heat_template_and_env_file_extension.py +++ b/ice_validator/tests/test_heat_template_and_env_file_extension.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_heat_template_parameters_contain_required_fields.py b/ice_validator/tests/test_heat_template_parameters_contain_required_fields.py index 31684a5..6d9e502 100644 --- a/ice_validator/tests/test_heat_template_parameters_contain_required_fields.py +++ b/ice_validator/tests/test_heat_template_parameters_contain_required_fields.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_heat_template_structure.py b/ice_validator/tests/test_heat_template_structure.py index cc05df9..1e0b8c8 100644 --- a/ice_validator/tests/test_heat_template_structure.py +++ b/ice_validator/tests/test_heat_template_structure.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -101,23 +101,23 @@ def test_heat_template_structure_sections_have_the_right_format(yaml_file): @validates('R-11441') def test_parameter_type(yaml_file): types = [ - 'string', - 'number', - 'json', - 'comma_delimited_list', - 'boolean', - ] + 'string', + 'number', + 'json', + 'comma_delimited_list', + 'boolean', + ] with open(yaml_file) as fh: yml = yaml.load(fh) for key, param in yml.get('parameters', {}).items(): assert isinstance(param, dict), '%s parameter %s is not dict' % ( - yaml_file, - key) + yaml_file, + key) assert 'type' in param, '%s parameter %s has no "type"' % ( - yaml_file, - key) + yaml_file, + key) typ = param['type'] assert typ in types, '%s parameter %s has invalid type "%s"' % ( - yaml_file, - key, - typ) + yaml_file, + key, + typ) diff --git a/ice_validator/tests/test_heat_templates_provided.py b/ice_validator/tests/test_heat_templates_provided.py index 187397f..168dbe0 100644 --- a/ice_validator/tests/test_heat_templates_provided.py +++ b/ice_validator/tests/test_heat_templates_provided.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_multipart_mime_resource_id.py b/ice_validator/tests/test_multipart_mime_resource_id.py index 58023a5..fe6fe47 100644 --- a/ice_validator/tests/test_multipart_mime_resource_id.py +++ b/ice_validator/tests/test_multipart_mime_resource_id.py @@ -38,10 +38,10 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -''' +""" A VNF's Heat Orchestration Template's Resource ``OS::Heat::MultipartMime`` Resource ID **MUST** contain the ``{vm-type}``. -''' +""" import pytest @@ -49,24 +49,24 @@ from .structures import Heat from .helpers import validates from .utils import vm_types -VERSION = '1.0.1' +VERSION = "1.0.1" -@validates('R-30804') +@validates("R-30804") def test_multipart_mime(heat_template): - '''validate resource ids - ''' + """validate resource ids + """ h = Heat(filepath=heat_template) if not h.resources: - pytest.skip('No resources in this template') + pytest.skip("No resources in this template") multipart_mimes = get_multipart_mimes(h) if not multipart_mimes: - pytest.skip('No MultipartMime resources in this template') + pytest.skip("No MultipartMime resources in this template") resource_vm_types = vm_types.get_vm_types(h.resources) if not resource_vm_types: - pytest.skip('No resources with {vm-type} in this template') + pytest.skip("No resources with {vm-type} in this template") bad = set() for rid in multipart_mimes: @@ -75,13 +75,17 @@ def test_multipart_mime(heat_template): break else: bad.add(rid) - assert not bad, 'MultipartMime %s have {vm-type} not in %s' % ( - list(bad), - list(resource_vm_types)) + assert not bad, "MultipartMime %s have {vm-type} not in %s" % ( + list(bad), + list(resource_vm_types), + ) def get_multipart_mimes(heat): """Return list of resource_id whose type is OS::Heat::MultipartMime. """ - return [rid for rid, resource in heat.resources.items() - if heat.nested_get(resource, 'type') == 'OS::Heat::MultipartMime'] + return [ + rid + for rid, resource in heat.resources.items() + if heat.nested_get(resource, "type") == "OS::Heat::MultipartMime" + ] diff --git a/ice_validator/tests/test_nested_templates.py b/ice_validator/tests/test_nested_templates.py index 12f0f34..c9caa19 100644 --- a/ice_validator/tests/test_nested_templates.py +++ b/ice_validator/tests/test_nested_templates.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -44,12 +44,12 @@ from os import path from .utils.nested_files import get_list_of_nested_files -@validates('R-70276') +@validates("R-70276") def test_all_nested_templates_provided(yaml_files): - ''' + """ Check that all templates marked as volume templates are in fact volume templates - ''' + """ nested_yaml_files = [] for yaml_file in yaml_files: @@ -57,13 +57,13 @@ def test_all_nested_templates_provided(yaml_files): yml = yaml.load(fh) if "resources" not in yml: continue - nested_yaml_files.extend(get_list_of_nested_files( - yml["resources"], path.dirname(yaml_file))) + nested_yaml_files.extend( + get_list_of_nested_files(yml["resources"], path.dirname(yaml_file)) + ) # detect all provided nested files - provided_nested_yaml_files = [f1 - for f1 in nested_yaml_files - for f2 in yaml_files - if f1 in f2] + provided_nested_yaml_files = [ + f1 for f1 in nested_yaml_files for f2 in yaml_files if f1 in f2 + ] assert set(provided_nested_yaml_files) == set(nested_yaml_files) diff --git a/ice_validator/tests/test_nested_templates_invalid_nesting.py b/ice_validator/tests/test_nested_templates_invalid_nesting.py index 00d6d25..edd5ca3 100644 --- a/ice_validator/tests/test_nested_templates_invalid_nesting.py +++ b/ice_validator/tests/test_nested_templates_invalid_nesting.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -56,8 +56,8 @@ def test_valid_nesting(yaml_files): if "resources" not in yml: continue invalid_nesting.extend(check_for_invalid_nesting( - yml["resources"], - yaml_file, - path.dirname(yaml_file))) + yml["resources"], + yaml_file, + path.dirname(yaml_file))) assert not set(invalid_nesting) diff --git a/ice_validator/tests/test_network_format.py b/ice_validator/tests/test_network_format.py index 651267e..4bd13ad 100644 --- a/ice_validator/tests/test_network_format.py +++ b/ice_validator/tests/test_network_format.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -41,8 +41,7 @@ from .helpers import validates import pytest import yaml -from .utils.network_roles import get_network_role_from_port,\ - property_uses_get_resource +from .utils.network_roles import get_network_role_from_port, property_uses_get_resource @validates('R-62983', 'R-86182') diff --git a/ice_validator/tests/test_network_format_use_get_param_or_get_resource.py b/ice_validator/tests/test_network_format_use_get_param_or_get_resource.py index e30b344..a1b3b06 100644 --- a/ice_validator/tests/test_network_format_use_get_param_or_get_resource.py +++ b/ice_validator/tests/test_network_format_use_get_param_or_get_resource.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_no_unused_parameters_between_env_and_templates.py b/ice_validator/tests/test_no_unused_parameters_between_env_and_templates.py index 4845751..781f35d 100644 --- a/ice_validator/tests/test_no_unused_parameters_between_env_and_templates.py +++ b/ice_validator/tests/test_no_unused_parameters_between_env_and_templates.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_nova_servergroup_policies.py b/ice_validator/tests/test_nova_servergroup_policies.py index a3bdf5a..6915fd4 100644 --- a/ice_validator/tests/test_nova_servergroup_policies.py +++ b/ice_validator/tests/test_nova_servergroup_policies.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_nova_servers_correct_parameter_types.py b/ice_validator/tests/test_nova_servers_correct_parameter_types.py index a71ee4a..8364d38 100644 --- a/ice_validator/tests/test_nova_servers_correct_parameter_types.py +++ b/ice_validator/tests/test_nova_servers_correct_parameter_types.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -53,15 +53,15 @@ def test_nova_servers_correct_parameter_types(heat_template): ''' key_values = ["name", "flavor", "image"] key_value_formats = [ - ["name", "string", - re.compile(r'(.+?)_name_\d+')], - ["name", "comma_delimited_list", - re.compile(r'(.+?)_names')], - ["flavor", "string", - re.compile(r'(.+?)_flavor_name')], - ["image", "string", - re.compile(r'(.+?)_image_name')], - ] + ["name", "string", + re.compile(r'(.+?)_name_\d+')], + ["name", "comma_delimited_list", + re.compile(r'(.+?)_names')], + ["flavor", "string", + re.compile(r'(.+?)_flavor_name')], + ["image", "string", + re.compile(r'(.+?)_image_name')], + ] with open(heat_template) as fh: yml = yaml.load(fh) diff --git a/ice_validator/tests/test_nova_servers_index.py b/ice_validator/tests/test_nova_servers_index.py index 3ca99a0..85ce335 100644 --- a/ice_validator/tests/test_nova_servers_index.py +++ b/ice_validator/tests/test_nova_servers_index.py @@ -38,11 +38,11 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -''' +""" Ensure that if a resource_id has an {index}, then all resources of the same vm-type have an index, the indices are consecutive and start with 0. -''' +""" import collections import re @@ -53,15 +53,15 @@ from .structures import Heat from .helpers import validates from .utils import vm_types -VERSION = '1.1.0' +VERSION = "1.1.0" -RE_INDEXED_RESOURCE_ID = re.compile(r'\w+_(?P<index>\d+)$') +RE_INDEXED_RESOURCE_ID = re.compile(r"\w+_(?P<index>\d+)$") -@validates('R-11690') +@validates("R-11690") def test_indices(heat_templates): - '''validate indices - ''' + """validate indices + """ indexed_resource_ids = {} resources = {} for heat_template in heat_templates: @@ -70,14 +70,14 @@ def test_indices(heat_templates): indexed_resource_ids.update(get_indexed_resource_ids(h.resources)) resources.update(h.resources) if not resources: - pytest.skip('No resources found') + pytest.skip("No resources found") if not indexed_resource_ids: - pytest.skip('No resources with {index} found') + pytest.skip("No resources with {index} found") types = get_types(resources, indexed_resource_ids) if not types: - pytest.skip('No resources with {vm-type} found') + pytest.skip("No resources with {vm-type} found") indices = collections.defaultdict(list) for resource_id, vm_type in types.items(): @@ -89,10 +89,18 @@ def test_indices(heat_templates): bad[vm_type] = index_list break assert not bad, ( - 'vm-type indices must be consecutive, unique,' - ' and start at 0.\n %s' % ( - '\n '.join(['Resource ID %s: VM Type: %s' % (x, y) - for x, y in types.items() if y in bad]))) + "vm-type indices must be consecutive, unique," + " and start at 0.\n %s" + % ( + "\n ".join( + [ + "Resource ID %s: VM Type: %s" % (x, y) + for x, y in types.items() + if y in bad + ] + ) + ) + ) def get_indexed_resource_ids(resources): @@ -103,7 +111,7 @@ def get_indexed_resource_ids(resources): for resource in resources: match = RE_INDEXED_RESOURCE_ID.match(resource) if match: - indexed_resource_ids[resource] = int(match.groupdict()['index']) + indexed_resource_ids[resource] = int(match.groupdict()["index"]) return indexed_resource_ids diff --git a/ice_validator/tests/test_nova_servers_resource_ids.py b/ice_validator/tests/test_nova_servers_resource_ids.py index 3f588dc..d35fce5 100644 --- a/ice_validator/tests/test_nova_servers_resource_ids.py +++ b/ice_validator/tests/test_nova_servers_resource_ids.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -44,11 +44,11 @@ from .helpers import validates from .utils.vm_types import get_vm_type_for_nova_server -@validates('R-01455', 'R-48067', 'R-00977') +@validates("R-01455", "R-48067", "R-00977") def test_nova_servers_valid_resource_ids(heat_template): - ''' + """ Make sure all nova servers have valid resource ids - ''' + """ with open(heat_template) as fh: yml = yaml.load(fh) @@ -71,7 +71,7 @@ def test_nova_servers_valid_resource_ids(heat_template): continue vm_type = vm_type.lower() - if vm_type+"_" not in k1.lower(): + if vm_type + "_" not in k1.lower(): invalid_nova_servers.append(k1) assert not set(invalid_nova_servers) diff --git a/ice_validator/tests/test_nova_servers_vm_types.py b/ice_validator/tests/test_nova_servers_vm_types.py index 9511ecd..48abe04 100644 --- a/ice_validator/tests/test_nova_servers_vm_types.py +++ b/ice_validator/tests/test_nova_servers_vm_types.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_nova_servers_vm_types_use_get_param.py b/ice_validator/tests/test_nova_servers_vm_types_use_get_param.py index 2be7e6f..79bc4b2 100644 --- a/ice_validator/tests/test_nova_servers_vm_types_use_get_param.py +++ b/ice_validator/tests/test_nova_servers_vm_types_use_get_param.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_parse_yaml.py b/ice_validator/tests/test_parse_yaml.py index 5246f33..637e93d 100644 --- a/ice_validator/tests/test_parse_yaml.py +++ b/ice_validator/tests/test_parse_yaml.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_port_resource_ids.py b/ice_validator/tests/test_port_resource_ids.py index a6f7093..511af35 100644 --- a/ice_validator/tests/test_port_resource_ids.py +++ b/ice_validator/tests/test_port_resource_ids.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -43,29 +43,33 @@ import pytest import yaml from .helpers import validates from .utils.vm_types import get_vm_type_for_nova_server -from .utils.network_roles import get_network_role_from_port,\ - get_network_type_from_port,\ - property_uses_get_resource - - -@validates('R-29865', - 'R-69014', - 'R-05201', - 'R-68936', - 'R-32025', - 'R-11168', - 'R-84322', - 'R-96983', - 'R-26506', - 'R-20453', - 'R-26351') +from .utils.network_roles import ( + get_network_role_from_port, + get_network_type_from_port, + property_uses_get_resource, +) + + +@validates( + "R-29865", + "R-69014", + "R-05201", + "R-68936", + "R-32025", + "R-11168", + "R-84322", + "R-96983", + "R-26506", + "R-20453", + "R-26351", +) def test_port_resource_ids(heat_template): - ''' + """ Check that all resource ids for ports follow the right naming convention to include the {vm_type} of the nova server it is associated to and also contains the {network_role} of the network it is associated with - ''' + """ with open(heat_template) as fh: yml = yaml.load(fh) @@ -74,22 +78,22 @@ def test_port_resource_ids(heat_template): pytest.skip("No resources specified in the heat template") port_patterns = { - 'internal': re.compile(r'(.+?)_\d+_int_(.+?)_port_\d+'), - 'external': re.compile(r'(.+?)_\d+_(.+?)_port_\d+'), - } - resources = yml['resources'] + "internal": re.compile(r"(.+?)_\d+_int_(.+?)_port_\d+"), + "external": re.compile(r"(.+?)_\d+_(.+?)_port_\d+"), + } + resources = yml["resources"] invalid_ports = [] for k, v in resources.items(): if not isinstance(v, dict): continue - if 'type' not in v: + if "type" not in v: continue - if v['type'] not in 'OS::Nova::Server': + if v["type"] not in "OS::Nova::Server": continue - if 'properties' not in v: + if "properties" not in v: continue - if 'networks' not in v['properties']: + if "networks" not in v["properties"]: continue has_vm_type = False @@ -102,18 +106,18 @@ def test_port_resource_ids(heat_template): vm_type = vm_type.lower() # get all ports associated with the nova server - properties = v['properties'] - for v2 in properties['networks']: + properties = v["properties"] + for v2 in properties["networks"]: for k3, v3 in v2.items(): - if k3 != 'port': + if k3 != "port": continue if not isinstance(v3, dict): continue - if 'get_param' in v3: + if "get_param" in v3: continue - elif 'get_resource' in v3: - port_id = v3['get_resource'] + elif "get_resource" in v3: + port_id = v3["get_resource"] if not resources[port_id]: continue port_resource = resources[port_id] @@ -121,7 +125,7 @@ def test_port_resource_ids(heat_template): else: continue - has_vm_type = vm_type+"_" in port_id + has_vm_type = vm_type + "_" in port_id has_network_role = False if port_resource: @@ -141,9 +145,9 @@ def test_port_resource_ids(heat_template): else: # match the assumed naming convention for ports # if the specified port is provided via get_param - network_type = 'external' + network_type = "external" if "int_" in port_id: - network_type = 'internal' + network_type = "internal" if port_patterns[network_type].match(port_id): has_network_role = True diff --git a/ice_validator/tests/test_referenced_and_defined_parameters_match.py b/ice_validator/tests/test_referenced_and_defined_parameters_match.py index d31831f..918d396 100644 --- a/ice_validator/tests/test_referenced_and_defined_parameters_match.py +++ b/ice_validator/tests/test_referenced_and_defined_parameters_match.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_required_parameters_no_constraints.py b/ice_validator/tests/test_required_parameters_no_constraints.py index 247eab6..9e89191 100644 --- a/ice_validator/tests/test_required_parameters_no_constraints.py +++ b/ice_validator/tests/test_required_parameters_no_constraints.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_required_parameters_specified_in_env_files.py b/ice_validator/tests/test_required_parameters_specified_in_env_files.py index f60f8d7..15894c3 100644 --- a/ice_validator/tests/test_required_parameters_specified_in_env_files.py +++ b/ice_validator/tests/test_required_parameters_specified_in_env_files.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_required_parameters_specified_in_heat_templates.py b/ice_validator/tests/test_required_parameters_specified_in_heat_templates.py index d86a22b..bbfcf2d 100644 --- a/ice_validator/tests/test_required_parameters_specified_in_heat_templates.py +++ b/ice_validator/tests/test_required_parameters_specified_in_heat_templates.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_reserve_port_fixed_ips_format.py b/ice_validator/tests/test_reserve_port_fixed_ips_format.py index 42d9a61..5b28d06 100644 --- a/ice_validator/tests/test_reserve_port_fixed_ips_format.py +++ b/ice_validator/tests/test_reserve_port_fixed_ips_format.py @@ -51,15 +51,15 @@ def test_reserve_port_fixed_ips_format(heat_template): follow the allowed naming conventions ''' allowed_formats = [ - ["fixed_ips", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_floating_v6_ip')], - ["fixed_ips", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_floating_ip')], - ["fixed_ips", "string", "external", - re.compile(r'(.+?)_floating_v6_ip')], - ["fixed_ips", "string", "external", - re.compile(r'(.+?)_floating_ip')], - ] + ["fixed_ips", "string", "internal", + re.compile(r'(.+?)_int_(.+?)_floating_v6_ip')], + ["fixed_ips", "string", "internal", + re.compile(r'(.+?)_int_(.+?)_floating_ip')], + ["fixed_ips", "string", "external", + re.compile(r'(.+?)_floating_v6_ip')], + ["fixed_ips", "string", "external", + re.compile(r'(.+?)_floating_ip')], + ] with open(heat_template) as fh: yml = yaml.load(fh) diff --git a/ice_validator/tests/test_resource_ids_alphanumeric_only.py b/ice_validator/tests/test_resource_ids_alphanumeric_only.py index c124ea7..8342520 100644 --- a/ice_validator/tests/test_resource_ids_alphanumeric_only.py +++ b/ice_validator/tests/test_resource_ids_alphanumeric_only.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_servers_have_optional_metadata.py b/ice_validator/tests/test_servers_have_optional_metadata.py index 0e72e6c..de40fdf 100644 --- a/ice_validator/tests/test_servers_have_optional_metadata.py +++ b/ice_validator/tests/test_servers_have_optional_metadata.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_servers_have_required_metadata.py b/ice_validator/tests/test_servers_have_required_metadata.py index 9d10fc9..3a12b9d 100644 --- a/ice_validator/tests/test_servers_have_required_metadata.py +++ b/ice_validator/tests/test_servers_have_required_metadata.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_servers_metadata_use_get_param.py b/ice_validator/tests/test_servers_metadata_use_get_param.py index c2d1d54..1b5f869 100644 --- a/ice_validator/tests/test_servers_metadata_use_get_param.py +++ b/ice_validator/tests/test_servers_metadata_use_get_param.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_subnet_format.py b/ice_validator/tests/test_subnet_format.py index e5f28cc..51b513c 100644 --- a/ice_validator/tests/test_subnet_format.py +++ b/ice_validator/tests/test_subnet_format.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -40,26 +40,21 @@ import pytest import yaml -from .utils.network_roles import get_network_role_from_port,\ - property_uses_get_resource +from .utils.network_roles import get_network_role_from_port, property_uses_get_resource import re def test_subnet_format(heat_template): - ''' + """ Make sure all subnet properties follow the allowed naming conventions - ''' + """ formats = [ - ["subnet_id", "string", "internal", - re.compile(r'int_(.+?)_subnet_id')], - ["subnet_id", "string", "internal", - re.compile(r'int_(.+?)_v6_subnet_id')], - ["subnet_id", "string", "external", - re.compile(r'(.+?)_subnet_id')], - ["subnet_id", "string", "external", - re.compile(r'(.+?)_v6_subnet_id')], - ] + ["subnet_id", "string", "internal", re.compile(r"int_(.+?)_subnet_id")], + ["subnet_id", "string", "internal", re.compile(r"int_(.+?)_v6_subnet_id")], + ["subnet_id", "string", "external", re.compile(r"(.+?)_subnet_id")], + ["subnet_id", "string", "external", re.compile(r"(.+?)_v6_subnet_id")], + ] with open(heat_template) as fh: yml = yaml.load(fh) @@ -87,9 +82,9 @@ def test_subnet_format(heat_template): continue # define the network_type - network_type = 'external' - if network_param.startswith('int_'): - network_type = 'internal' + network_type = "external" + if network_param.startswith("int_"): + network_type = "internal" for k2, v2 in v1["properties"].items(): if k2 != "fixed_ips": diff --git a/ice_validator/tests/test_subnet_format_use_get_param_or_get_resource.py b/ice_validator/tests/test_subnet_format_use_get_param_or_get_resource.py index 597dd22..b462ef5 100644 --- a/ice_validator/tests/test_subnet_format_use_get_param_or_get_resource.py +++ b/ice_validator/tests/test_subnet_format_use_get_param_or_get_resource.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_unique_name_resources.py b/ice_validator/tests/test_unique_name_resources.py index a89dd1d..df803dd 100644 --- a/ice_validator/tests/test_unique_name_resources.py +++ b/ice_validator/tests/test_unique_name_resources.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_unique_name_str_replace_use_params_in_tmpl.py b/ice_validator/tests/test_unique_name_str_replace_use_params_in_tmpl.py index 80397b1..fed7e90 100644 --- a/ice_validator/tests/test_unique_name_str_replace_use_params_in_tmpl.py +++ b/ice_validator/tests/test_unique_name_str_replace_use_params_in_tmpl.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_unique_name_str_replace_use_req_params.py b/ice_validator/tests/test_unique_name_str_replace_use_req_params.py index d89d8d9..00df3b5 100644 --- a/ice_validator/tests/test_unique_name_str_replace_use_req_params.py +++ b/ice_validator/tests/test_unique_name_str_replace_use_req_params.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_unique_resources_across_all_templates.py b/ice_validator/tests/test_unique_resources_across_all_templates.py index 2d05147..d8fd066 100644 --- a/ice_validator/tests/test_unique_resources_across_all_templates.py +++ b/ice_validator/tests/test_unique_resources_across_all_templates.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_unique_resources_across_template.py b/ice_validator/tests/test_unique_resources_across_template.py index 9ed8927..6bfc43c 100644 --- a/ice_validator/tests/test_unique_resources_across_template.py +++ b/ice_validator/tests/test_unique_resources_across_template.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_vm_type_resource_id.py b/ice_validator/tests/test_vm_type_resource_id.py index 9a47656..39a11ef 100644 --- a/ice_validator/tests/test_vm_type_resource_id.py +++ b/ice_validator/tests/test_vm_type_resource_id.py @@ -68,7 +68,6 @@ def test_vm_type_resource_id(heat_template): for rid in h.resources: lower_rid = rid.lower() for vm_type, lower_vm_type in vm_types.items(): - if (lower_rid.startswith(lower_vm_type) - and not rid.startswith(vm_type)): - bad[rid] = vm_type + if lower_rid.startswith(lower_vm_type) and not rid.startswith(vm_type): + bad[rid] = vm_type assert not bad, 'resource_id which do not match their vm-type %s' % bad diff --git a/ice_validator/tests/test_volume_format_outputs.py b/ice_validator/tests/test_volume_format_outputs.py index 02ab9c2..3a00275 100644 --- a/ice_validator/tests/test_volume_format_outputs.py +++ b/ice_validator/tests/test_volume_format_outputs.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_volume_outputs_consumed.py b/ice_validator/tests/test_volume_outputs_consumed.py index 648a689..3ee7178 100644 --- a/ice_validator/tests/test_volume_outputs_consumed.py +++ b/ice_validator/tests/test_volume_outputs_consumed.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_volume_resource_ids.py b/ice_validator/tests/test_volume_resource_ids.py index a6a7334..45b05e7 100644 --- a/ice_validator/tests/test_volume_resource_ids.py +++ b/ice_validator/tests/test_volume_resource_ids.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -45,11 +45,11 @@ from .utils.vm_types import get_vm_type_for_nova_server def test_volume_resource_ids(heat_template): - ''' + """ Check that all resource ids for cinder volumes follow the right naming convention to include the {vm_type} of the nova server it is associated to - ''' + """ with open(heat_template) as fh: yml = yaml.load(fh) @@ -57,25 +57,24 @@ def test_volume_resource_ids(heat_template): if "resources" not in yml: pytest.skip("No resources specified in the heat template") - volume_pattern = re.compile(r'(.+?)_volume_id_\d+') - resources = yml['resources'] + volume_pattern = re.compile(r"(.+?)_volume_id_\d+") + resources = yml["resources"] invalid_volumes = [] for k, v in resources.items(): if not isinstance(v, dict): continue - if 'type' not in v: + if "type" not in v: continue - if v['type'] not in ['OS::Nova::Server', - 'OS::Cinder::VolumeAttachment']: + if v["type"] not in ["OS::Nova::Server", "OS::Cinder::VolumeAttachment"]: continue - if v['type'] == 'OS::Nova::Server': + if v["type"] == "OS::Nova::Server": # check block_device_mapping and make sure the right # {vm_type} is used - if 'properties' not in v: + if "properties" not in v: continue - if 'block_device_mapping' not in v['properties']: + if "block_device_mapping" not in v["properties"]: continue vm_type = get_vm_type_for_nova_server(v) @@ -84,17 +83,15 @@ def test_volume_resource_ids(heat_template): vm_type = vm_type.lower() # get the volume_id from the block_device_mapping - properties = v['properties'] - for v2 in properties['block_device_mapping']: + properties = v["properties"] + for v2 in properties["block_device_mapping"]: for k3, v3 in v2.items(): - if k3 != 'volume_id': + if k3 != "volume_id": continue if not isinstance(v3, dict): continue - volume_id = ( - v3.get('get_param') or - v3.get('get_resource')) + volume_id = v3.get("get_param") or v3.get("get_resource") if not volume_id: continue if isinstance(volume_id, list): @@ -102,30 +99,30 @@ def test_volume_resource_ids(heat_template): else: volume_id = volume_id.lower() - if vm_type+"_" not in volume_id: + if vm_type + "_" not in volume_id: invalid_volumes.append(volume_id) - elif v['type'] == 'OS::Cinder::VolumeAttachment': + elif v["type"] == "OS::Cinder::VolumeAttachment": # check the volume attachment and the {vm_type} # of the corresponding nova server - if 'properties' not in v: + if "properties" not in v: continue - if 'volume_id' not in v['properties']: + if "volume_id" not in v["properties"]: continue - if 'instance_uuid' not in v['properties']: + if "instance_uuid" not in v["properties"]: continue - properties = v['properties'] + properties = v["properties"] # get the instance_uuid and when applicable # the nova server instance instance_uuid = None nova_server = None - if 'get_param' in properties['instance_uuid']: + if "get_param" in properties["instance_uuid"]: continue - elif 'get_resource' in properties['instance_uuid']: - instance_uuid = properties['instance_uuid']['get_resource'] + elif "get_resource" in properties["instance_uuid"]: + instance_uuid = properties["instance_uuid"]["get_resource"] if not resources[instance_uuid]: continue nova_server = resources[instance_uuid] @@ -135,9 +132,9 @@ def test_volume_resource_ids(heat_template): # get the volume_id volume_id = None - volume_id = ( - properties['volume_id'].get('get_param') or - properties['volume_id'].get('get_resource')) + volume_id = properties["volume_id"].get("get_param") or properties[ + "volume_id" + ].get("get_resource") if not volume_id: continue if isinstance(volume_id, list): @@ -155,14 +152,14 @@ def test_volume_resource_ids(heat_template): if not vm_type: continue vm_type = vm_type.lower() - if vm_type+"_" not in volume_id: + if vm_type + "_" not in volume_id: invalid_volumes.append(volume_id) else: # extract the assumed {vm_type} from volume_id m = volume_pattern.match(volume_id) if m: vm_type = m.group(1).lower() - if vm_type+"_" not in instance_uuid: + if vm_type + "_" not in instance_uuid: invalid_volumes.append(volume_id) else: continue diff --git a/ice_validator/tests/test_volume_templates.py b/ice_validator/tests/test_volume_templates.py index d30ee19..191ae9d 100644 --- a/ice_validator/tests/test_volume_templates.py +++ b/ice_validator/tests/test_volume_templates.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_volume_templates_outputs.py b/ice_validator/tests/test_volume_templates_outputs.py index 975afb7..f18f1cd 100644 --- a/ice_validator/tests/test_volume_templates_outputs.py +++ b/ice_validator/tests/test_volume_templates_outputs.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/test_volume_templates_outputs_resources.py b/ice_validator/tests/test_volume_templates_outputs_resources.py index 85a9d02..90096e3 100644 --- a/ice_validator/tests/test_volume_templates_outputs_resources.py +++ b/ice_validator/tests/test_volume_templates_outputs_resources.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/utils/__init__.py b/ice_validator/tests/utils/__init__.py index e8f24cd..ec11176 100644 --- a/ice_validator/tests/utils/__init__.py +++ b/ice_validator/tests/utils/__init__.py @@ -2,11 +2,11 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # diff --git a/ice_validator/tests/utils/nested_files.py b/ice_validator/tests/utils/nested_files.py index 39306eb..02f733d 100644 --- a/ice_validator/tests/utils/nested_files.py +++ b/ice_validator/tests/utils/nested_files.py @@ -45,15 +45,15 @@ from os import path import re import yaml -VERSION = '1.0.2' +VERSION = "1.0.2" def get_list_of_nested_files(yml, dirpath): - ''' + """ return a list of all nested files - ''' + """ - if not hasattr(yml, 'items'): + if not hasattr(yml, "items"): return [] nested_files = [] @@ -68,34 +68,29 @@ def get_list_of_nested_files(yml, dirpath): nested_files.append(filepath) nested_files.extend(get_list_of_nested_files(t_yml, dirpath)) elif t == "OS::Heat::ResourceGroup": - rdt = (v.get("properties", {}) - .get("resource_def", {}) - .get("type", None)) + rdt = v.get("properties", {}).get("resource_def", {}).get("type", None) if rdt and (rdt.endswith(".yml") or rdt.endswith(".yaml")): filepath = path.join(dirpath, rdt) with open(filepath) as fh: rdt_yml = yaml.load(fh) nested_files.append(filepath) - nested_files.extend( - get_list_of_nested_files(rdt_yml, dirpath)) + nested_files.extend(get_list_of_nested_files(rdt_yml, dirpath)) if isinstance(v, dict): - nested_files.extend( - get_list_of_nested_files(v, dirpath)) + nested_files.extend(get_list_of_nested_files(v, dirpath)) elif isinstance(v, list): for d in v: - nested_files.extend( - get_list_of_nested_files(d, dirpath)) + nested_files.extend(get_list_of_nested_files(d, dirpath)) return nested_files def check_for_invalid_nesting(yml, yaml_file, dirpath): - ''' + """ return a list of all nested files - ''' - if not hasattr(yml, 'items'): + """ + if not hasattr(yml, "items"): return [] invalid_nesting = [] - p = re.compile('^[A-z]*::[A-z]*::[A-z]*$') + p = re.compile("^[A-z]*::[A-z]*::[A-z]*$") for v in yml.values(): if isinstance(v, dict) and "type" in v: @@ -108,8 +103,8 @@ def check_for_invalid_nesting(yml, yaml_file, dirpath): invalid_nesting.append(yaml_file) continue elif not p.match(rd["type"]) and not ( - rd["type"].endswith(".yml") - or rd["type"].endswith(".yaml")): + rd["type"].endswith(".yml") or rd["type"].endswith(".yaml") + ): filepath = path.join(dirpath, rd["type"]) else: continue @@ -120,20 +115,11 @@ def check_for_invalid_nesting(yml, yaml_file, dirpath): yml = yaml.load(fh) except yaml.YAMLError as e: invalid_nesting.append(filepath) - print(e) # pylint: disable=superfluous-parens - invalid_nesting.extend(check_for_invalid_nesting( - yml, - filepath, - dirpath)) + print(e) # pylint: disable=superfluous-parens + invalid_nesting.extend(check_for_invalid_nesting(yml, filepath, dirpath)) if isinstance(v, dict): - invalid_nesting.extend(check_for_invalid_nesting( - v, - yaml_file, - dirpath)) + invalid_nesting.extend(check_for_invalid_nesting(v, yaml_file, dirpath)) elif isinstance(v, list): for d in v: - invalid_nesting.extend(check_for_invalid_nesting( - d, - yaml_file, - dirpath)) + invalid_nesting.extend(check_for_invalid_nesting(d, yaml_file, dirpath)) return invalid_nesting diff --git a/ice_validator/tests/utils/network_roles.py b/ice_validator/tests/utils/network_roles.py index 3f8d6b8..d4b2cce 100644 --- a/ice_validator/tests/utils/network_roles.py +++ b/ice_validator/tests/utils/network_roles.py @@ -43,37 +43,31 @@ import socket def get_network_role_from_port(resource): - ''' + """ get the network role from a neutron port resource - ''' + """ if not isinstance(resource, dict): return None - if 'type' not in resource: + if "type" not in resource: return None - if resource['type'] != 'OS::Neutron::Port': + if resource["type"] != "OS::Neutron::Port": return None - if 'properties' not in resource: + if "properties" not in resource: return None formats = [ - ["network", "string", "internal", - re.compile(r'int_(.+?)_net_id')], - ["network", "string", "internal", - re.compile(r'int_(.+?)_net_name')], - ["network", "string", "external", - re.compile(r'(.+?)_net_id')], - ["network", "string", "external", - re.compile(r'(.+?)_net_name')], - ] + ["network", "string", "internal", re.compile(r"int_(.+?)_net_id")], + ["network", "string", "internal", re.compile(r"int_(.+?)_net_name")], + ["network", "string", "external", re.compile(r"(.+?)_net_id")], + ["network", "string", "external", re.compile(r"(.+?)_net_name")], + ] for k1, v1 in resource["properties"].items(): - if k1 != 'network': + if k1 != "network": continue # get the network id or name - network = ( - v1.get('get_param') or - v1.get('get_resource')) + network = v1.get("get_param") or v1.get("get_resource") if not network: continue @@ -86,31 +80,27 @@ def get_network_role_from_port(resource): def get_network_type_from_port(resource): - ''' + """ get the network type from a neutron port resource - ''' + """ if not isinstance(resource, dict): return None - if 'type' not in resource: + if "type" not in resource: return None - if resource['type'] != 'OS::Neutron::Port': + if resource["type"] != "OS::Neutron::Port": return None - if 'properties' not in resource: + if "properties" not in resource: return None formats = [ - ["network", "string", "internal", - re.compile(r'int_(.+?)_net_id')], - ["network", "string", "internal", - re.compile(r'int_(.+?)_net_name')], - ["network", "string", "external", - re.compile(r'(.+?)_net_id')], - ["network", "string", "external", - re.compile(r'(.+?)_net_name')], - ] + ["network", "string", "internal", re.compile(r"int_(.+?)_net_id")], + ["network", "string", "internal", re.compile(r"int_(.+?)_net_name")], + ["network", "string", "external", re.compile(r"(.+?)_net_id")], + ["network", "string", "external", re.compile(r"(.+?)_net_name")], + ] for k1, v1 in resource["properties"].items(): - if k1 != 'network': + if k1 != "network": continue if "get_param" not in v1: continue @@ -122,22 +112,22 @@ def get_network_type_from_port(resource): return None -def is_valid_ip_address(ip_address, ip_type='ipv4'): - ''' +def is_valid_ip_address(ip_address, ip_type="ipv4"): + """ check if an ip address is valid - ''' - if ip_type == 'ipv4': + """ + if ip_type == "ipv4": return is_valid_ipv4_address(ip_address) - elif ip_type == 'ipv6': + elif ip_type == "ipv6": return is_valid_ipv6_address(ip_address) return False def is_valid_ipv4_address(ip_address): - ''' + """ check if an ip address of the type ipv4 is valid - ''' + """ try: socket.inet_pton(socket.AF_INET, ip_address) except AttributeError: @@ -145,17 +135,17 @@ def is_valid_ipv4_address(ip_address): socket.inet_aton(ip_address) except (OSError, socket.error): return False - return ip_address.count('.') == 3 + return ip_address.count(".") == 3 except (OSError, socket.error): return False return True def is_valid_ipv6_address(ip_address): - ''' + """ check if an ip address of the type ipv6 is valid - ''' + """ try: socket.inet_pton(socket.AF_INET6, ip_address) except (OSError, socket.error): @@ -164,13 +154,13 @@ def is_valid_ipv6_address(ip_address): def property_uses_get_resource(resource, property_name): - ''' + """ returns true if a port's network property uses the get_resource function - ''' + """ if not isinstance(resource, dict): return False - if 'properties' not in resource: + if "properties" not in resource: return False for k1, v1 in resource["properties"].items(): if k1 != property_name: diff --git a/ice_validator/tests/utils/ports.py b/ice_validator/tests/utils/ports.py index c9d4be9..e479201 100644 --- a/ice_validator/tests/utils/ports.py +++ b/ice_validator/tests/utils/ports.py @@ -44,53 +44,93 @@ import re def is_valid_ip_address(ip_address, vm_type, network_role, port_property): - ''' + """ Check the ip_address to make sure it is properly formatted and also contains {vm_type} and {network_role} - ''' + """ allowed_formats = [ - ["allowed_address_pairs", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_floating_v6_ip')], - ["allowed_address_pairs", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_floating_ip')], - ["allowed_address_pairs", "string", "external", - re.compile(r'(.+?)_floating_v6_ip')], - ["allowed_address_pairs", "string", "external", - re.compile(r'(.+?)_floating_ip')], - ["allowed_address_pairs", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_v6_ip_\d+')], - ["allowed_address_pairs", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_ip_\d+')], - ["allowed_address_pairs", "string", "external", - re.compile(r'(.+?)_v6_ip_\d+')], - ["allowed_address_pairs", "string", "external", - re.compile(r'(.+?)_ip_\d+')], - ["allowed_address_pairs", "comma_delimited_list", - "internal", re.compile(r'(.+?)_int_(.+?)_v6_ips')], - ["allowed_address_pairs", "comma_delimited_list", - "internal", re.compile(r'(.+?)_int_(.+?)_ips')], - ["allowed_address_pairs", "comma_delimited_list", - "external", re.compile(r'(.+?)_v6_ips')], - ["allowed_address_pairs", "comma_delimited_list", - "external", re.compile(r'(.+?)_ips')], - ["fixed_ips", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_v6_ip_\d+')], - ["fixed_ips", "string", "internal", - re.compile(r'(.+?)_int_(.+?)_ip_\d+')], - ["fixed_ips", "string", "external", - re.compile(r'(.+?)_v6_ip_\d+')], - ["fixed_ips", "string", "external", - re.compile(r'(.+?)_ip_\d+')], - ["fixed_ips", "comma_delimited_list", "internal", - re.compile(r'(.+?)_int_(.+?)_v6_ips')], - ["fixed_ips", "comma_delimited_list", "internal", - re.compile(r'(.+?)_int_(.+?)_ips')], - ["fixed_ips", "comma_delimited_list", "external", - re.compile(r'(.+?)_v6_ips')], - ["fixed_ips", "comma_delimited_list", "external", - re.compile(r'(.+?)_ips')], - ] + [ + "allowed_address_pairs", + "string", + "internal", + re.compile(r"(.+?)_int_(.+?)_floating_v6_ip"), + ], + [ + "allowed_address_pairs", + "string", + "internal", + re.compile(r"(.+?)_int_(.+?)_floating_ip"), + ], + [ + "allowed_address_pairs", + "string", + "external", + re.compile(r"(.+?)_floating_v6_ip"), + ], + [ + "allowed_address_pairs", + "string", + "external", + re.compile(r"(.+?)_floating_ip"), + ], + [ + "allowed_address_pairs", + "string", + "internal", + re.compile(r"(.+?)_int_(.+?)_v6_ip_\d+"), + ], + [ + "allowed_address_pairs", + "string", + "internal", + re.compile(r"(.+?)_int_(.+?)_ip_\d+"), + ], + ["allowed_address_pairs", "string", "external", re.compile(r"(.+?)_v6_ip_\d+")], + ["allowed_address_pairs", "string", "external", re.compile(r"(.+?)_ip_\d+")], + [ + "allowed_address_pairs", + "comma_delimited_list", + "internal", + re.compile(r"(.+?)_int_(.+?)_v6_ips"), + ], + [ + "allowed_address_pairs", + "comma_delimited_list", + "internal", + re.compile(r"(.+?)_int_(.+?)_ips"), + ], + [ + "allowed_address_pairs", + "comma_delimited_list", + "external", + re.compile(r"(.+?)_v6_ips"), + ], + [ + "allowed_address_pairs", + "comma_delimited_list", + "external", + re.compile(r"(.+?)_ips"), + ], + ["fixed_ips", "string", "internal", re.compile(r"(.+?)_int_(.+?)_v6_ip_\d+")], + ["fixed_ips", "string", "internal", re.compile(r"(.+?)_int_(.+?)_ip_\d+")], + ["fixed_ips", "string", "external", re.compile(r"(.+?)_v6_ip_\d+")], + ["fixed_ips", "string", "external", re.compile(r"(.+?)_ip_\d+")], + [ + "fixed_ips", + "comma_delimited_list", + "internal", + re.compile(r"(.+?)_int_(.+?)_v6_ips"), + ], + [ + "fixed_ips", + "comma_delimited_list", + "internal", + re.compile(r"(.+?)_int_(.+?)_ips"), + ], + ["fixed_ips", "comma_delimited_list", "external", re.compile(r"(.+?)_v6_ips")], + ["fixed_ips", "comma_delimited_list", "external", re.compile(r"(.+?)_ips")], + ] for v3 in allowed_formats: if v3[0] != port_property: @@ -98,33 +138,30 @@ def is_valid_ip_address(ip_address, vm_type, network_role, port_property): # check if pattern matches m = v3[3].match(ip_address) if m: - if (v3[2] == "internal" and - len(m.groups()) > 1): - return m.group(1) == vm_type and\ - m.group(2) == network_role - elif (v3[2] == "external" and - len(m.groups()) > 0): + if v3[2] == "internal" and len(m.groups()) > 1: + return m.group(1) == vm_type and m.group(2) == network_role + elif v3[2] == "external" and len(m.groups()) > 0: return m.group(1) == vm_type + "_" + network_role return False def get_invalid_ip_addresses(resources, port_property): - ''' + """ Get a list of valid ip addresses for a heat resources section - ''' + """ invalid_ip_addresses = [] for k, v in resources.items(): if not isinstance(v, dict): continue - if 'type' not in v: + if "type" not in v: continue - if v['type'] not in 'OS::Nova::Server': + if v["type"] not in "OS::Nova::Server": continue - if 'properties' not in v: + if "properties" not in v: continue - if 'networks' not in v['properties']: + if "networks" not in v["properties"]: continue port_resource = None @@ -134,16 +171,16 @@ def get_invalid_ip_addresses(resources, port_property): continue # get all ports associated with the nova server - properties = v['properties'] - for network in properties['networks']: + properties = v["properties"] + for network in properties["networks"]: for k3, v3 in network.items(): - if k3 != 'port': + if k3 != "port": continue if not isinstance(v3, dict): continue - if 'get_resource' in v3: - port_id = v3['get_resource'] + if "get_resource" in v3: + port_id = v3["get_resource"] if not resources[port_id]: continue port_resource = resources[port_id] @@ -168,10 +205,9 @@ def get_invalid_ip_addresses(resources, port_property): if isinstance(ip_address, list): ip_address = ip_address[0] - valid_ip_address = is_valid_ip_address(ip_address, - vm_type, - network_role, - port_property) + valid_ip_address = is_valid_ip_address( + ip_address, vm_type, network_role, port_property + ) if not valid_ip_address: invalid_ip_addresses.append(ip_address) @@ -180,16 +216,14 @@ def get_invalid_ip_addresses(resources, port_property): def is_reserved_port(port_id): - ''' + """ Checks to see if the resource id for a port follows the reserve port concept - ''' + """ formats = [ - ["port_id", - re.compile(r'reserve_port_(.+?)_floating_ip_\d+')], - ["port_id", - re.compile(r'reserve_port_(.+?)_floating_v6_ip_\d+')], - ] + ["port_id", re.compile(r"reserve_port_(.+?)_floating_ip_\d+")], + ["port_id", re.compile(r"reserve_port_(.+?)_floating_v6_ip_\d+")], + ] for f in formats: m = f[1].match(port_id.lower()) if m and m.group(1): diff --git a/ice_validator/tests/utils/vm_types.py b/ice_validator/tests/utils/vm_types.py index 41da7d9..78006b9 100644 --- a/ice_validator/tests/utils/vm_types.py +++ b/ice_validator/tests/utils/vm_types.py @@ -42,37 +42,33 @@ import re def get_vm_types_for_resource(resource): - ''' + """ Get all unique vm_types for a resource Notes: - Returns set([]) if the resource is not formatted properly, the passed resource is not a nova server - If more than one vm_type is detected all vm_types will be returned - ''' + """ if not isinstance(resource, dict): return set() - if 'type' not in resource: + if "type" not in resource: return set() - if resource['type'] != 'OS::Nova::Server': + if resource["type"] != "OS::Nova::Server": return set() - if 'properties' not in resource: + if "properties" not in resource: return set() key_values = ["name", "flavor", "image"] key_value_formats = [ - ["name", "string", - re.compile(r'(.+?)_name_\d+')], - ["name", "comma_delimited_list", - re.compile(r'(.+?)_names')], - ["flavor", "string", - re.compile(r'(.+?)_flavor_name')], - ["image", "string", - re.compile(r'(.+?)_image_name')], - ] + ["name", "string", re.compile(r"(.+?)_name_\d+")], + ["name", "comma_delimited_list", re.compile(r"(.+?)_names")], + ["flavor", "string", re.compile(r"(.+?)_flavor_name")], + ["image", "string", re.compile(r"(.+?)_image_name")], + ] vm_types = [] - for k2, v2 in resource['properties'].items(): + for k2, v2 in resource["properties"].items(): if k2 not in key_values: continue if "get_param" not in v2: @@ -90,12 +86,12 @@ def get_vm_types_for_resource(resource): def get_vm_type_for_nova_server(resource): - ''' + """ Get the vm_type for a resource Note: Returns None if not exactly one vm_type is detected, if the resource is not formatted properly, or the passed resource is not a nova server - ''' + """ vm_types = get_vm_types_for_resource(resource) # if more than one vm_type was identified, return None @@ -106,10 +102,10 @@ def get_vm_type_for_nova_server(resource): def get_vm_types(resources): - ''' + """ Get all vm_types for a list of heat resources, do note that some of the values retrieved may be invalid - ''' + """ vm_types = [] for v in resources.values(): vm_types.extend(list(get_vm_types_for_resource(v))) diff --git a/requirements.txt b/requirements.txt index ce8e47f..f0597d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -42,3 +42,6 @@ pytest PyYAML pytest-tap boltons +pyinstaller +xlsxwriter +docutils
\ No newline at end of file @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -47,7 +47,7 @@ distribute = False commands = {envpython} --version pytest --version - coverage run --module pytest ice_validator --self-test -rxXs + coverage run --module pytest ice_validator/tests --self-test -rxXs coverage xml deps = -rrequirements.txt flake8 @@ -62,3 +62,7 @@ basepython=python2.7 [testenv:py3] basepython=python3.6 + +[flake8] +ignore = W391, W503 +max-line-length = 88 |