diff options
author | Lovett, Trevor <trevor.lovett@att.com> | 2019-05-13 14:01:09 -0500 |
---|---|---|
committer | Trevor Lovett <trevor.lovett@att.com> | 2019-05-17 18:51:36 +0000 |
commit | 5ff7ed0cf3ac9e8110579ee4f0f711e30fb2511e (patch) | |
tree | 62b1e12ca2cb07511cbdd2199167d8422b930106 /ice_validator/tests/fixtures | |
parent | 0e2e6cdfb6b659c29ad1a59ac37d3a50191577a0 (diff) |
[VVP] Update validations based on VNFRQTS-637dublin
Update to the latest bundled requirements text
Update aap_exempt message to better reflect verbiage
Remove unneeded test: tests_neutron_port_addresses (requirement removed)
Map aap_exempt requirement to associated tests
Also adding new helper scripts to help detect divergences between
VNF Requirements and VVP as well as other VVP best practices:
checks.py - Pre-commit checks
- requirements are up-to-date with VNFRQTS
- all testable requirements have tests
- all non-testable requirements are *not* mapped to tests
- flake8 passes
- self-test passes
update_reqs.py - Updates the the contents of heat_requirements.json
with latest req'ts from VNFRQTS Nexus artifact
Change-Id: Ia197de3254a1a0369224939f66a5f98c601a314d
Issue-ID: VVP-216
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/tests/fixtures')
7 files changed, 0 insertions, 531 deletions
diff --git a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail0.yaml b/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail0.yaml deleted file mode 100644 index 836a45d..0000000 --- a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail0.yaml +++ /dev/null @@ -1,85 +0,0 @@ -# -*- coding: utf8 -*- -# ============LICENSE_START==================================================== -# org.onap.vvp/validation-scripts -# =================================================================== -# Copyright © 2017 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"); -# you may not use this software except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# -# Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); -# you may not use this documentation except in compliance with the License. -# You may obtain a copy of the License at -# -# https://creativecommons.org/licenses/by/4.0/ -# -# Unless required by applicable law or agreed to in writing, documentation -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ============LICENSE_END============================================ -# -# -# VERSION: '1.0.0' - ---- -resources: - - vm_typeX_0_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 1 - - vm_typeX_1_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip_1 } - v6_ip_address: { get_param: my_v6_ip_1 } - mac_and_cheese: 1 - - vm_typeX_2_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_parm: my_ip } - v6_ip_address: { get_parm: my_v6_ip } - - vm_typeX_3_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address - - vm_typeX_4_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - diff --git a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail1.yaml b/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail1.yaml deleted file mode 100644 index 3a56ce7..0000000 --- a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail1.yaml +++ /dev/null @@ -1,85 +0,0 @@ -# -*- coding: utf8 -*- -# ============LICENSE_START==================================================== -# org.onap.vvp/validation-scripts -# =================================================================== -# Copyright © 2017 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"); -# you may not use this software except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# -# Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); -# you may not use this documentation except in compliance with the License. -# You may obtain a copy of the License at -# -# https://creativecommons.org/licenses/by/4.0/ -# -# Unless required by applicable law or agreed to in writing, documentation -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ============LICENSE_END============================================ -# -# -# VERSION: '1.0.0' - ---- -resources: - - vm_typeX_0_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 1 - - vm_typeX_1_bialy_port_2: - type: OS::Neutron::Port - properties: - xallowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip_1 } - v6_ip_address: { get_param: my_v6_ip_1 } - mac_and_cheese: 1 - - vm_typeX_2_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_parm: my_ip } - v6_ip_address: { get_parm: my_v6_ip } - - vm_typeX_3_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address - - vm_typeX_4_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - diff --git a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail2.yaml b/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail2.yaml deleted file mode 100644 index 7a4dbfd..0000000 --- a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail2.yaml +++ /dev/null @@ -1,85 +0,0 @@ -# -*- coding: utf8 -*- -# ============LICENSE_START==================================================== -# org.onap.vvp/validation-scripts -# =================================================================== -# Copyright © 2017 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"); -# you may not use this software except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# -# Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); -# you may not use this documentation except in compliance with the License. -# You may obtain a copy of the License at -# -# https://creativecommons.org/licenses/by/4.0/ -# -# Unless required by applicable law or agreed to in writing, documentation -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ============LICENSE_END============================================ -# -# -# VERSION: '1.0.0' - ---- -resources: - - vm_typeX_0_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 1 - - vm_typeX_1_bialy_port_2: - type: OS::Neutron::Port - properties: - xallowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip_1 } - v6_ip_address: { get_param: my_v6_ip_1 } - mac_and_cheese: 1 - - vm_typeX_2_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_parm: my_ip } - v6_ip_address: { get_parm: my_v6_ip } - - vm_typeX_3_bialy_port_2: - type: OS::Neutron::Port - properties: - xallowed_address_pairs: - - ip_address - - vm_typeX_4_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - diff --git a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail3.yaml b/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail3.yaml deleted file mode 100644 index b6c2c6c..0000000 --- a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail3.yaml +++ /dev/null @@ -1,85 +0,0 @@ -# -*- coding: utf8 -*- -# ============LICENSE_START==================================================== -# org.onap.vvp/validation-scripts -# =================================================================== -# Copyright © 2017 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"); -# you may not use this software except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# -# Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); -# you may not use this documentation except in compliance with the License. -# You may obtain a copy of the License at -# -# https://creativecommons.org/licenses/by/4.0/ -# -# Unless required by applicable law or agreed to in writing, documentation -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ============LICENSE_END============================================ -# -# -# VERSION: '1.0.0' - ---- -resources: - - vm_typeX_0_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 1 - - vm_typeX_1_bialy_port_2: - type: OS::Neutron::Port - properties: - xallowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip_1 } - v6_ip_address: { get_param: my_v6_ip_1 } - mac_and_cheese: 1 - - vm_typeX_2_bialy_port_2: - type: OS::Neutron::Port - properties: - xallowed_address_pairs: - - ip_address: { get_parm: my_ip } - v6_ip_address: { get_parm: my_v6_ip } - - vm_typeX_3_bialy_port_2: - type: OS::Neutron::Port - properties: - xallowed_address_pairs: - - ip_address - - vm_typeX_4_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - diff --git a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/other0.yaml b/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/other0.yaml deleted file mode 100644 index 09ca85e..0000000 --- a/ice_validator/tests/fixtures/test_neutron_port_addresses/fail/other0.yaml +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf8 -*- -# ============LICENSE_START==================================================== -# org.onap.vvp/validation-scripts -# =================================================================== -# Copyright © 2017 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"); -# you may not use this software except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# -# Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); -# you may not use this documentation except in compliance with the License. -# You may obtain a copy of the License at -# -# https://creativecommons.org/licenses/by/4.0/ -# -# Unless required by applicable law or agreed to in writing, documentation -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ============LICENSE_END============================================ -# -# -# VERSION: '1.0.0' - ---- -resources: - - other_typeX_0_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_param: my_ip } - - ip_address: { get_param: my_v6_ip } - - ip_address: { get_param: my2_ip } - - ip_address: { get_param: my2_v6_ip } - diff --git a/ice_validator/tests/fixtures/test_neutron_port_addresses/pass/other0.yaml b/ice_validator/tests/fixtures/test_neutron_port_addresses/pass/other0.yaml deleted file mode 100644 index e7fa71f..0000000 --- a/ice_validator/tests/fixtures/test_neutron_port_addresses/pass/other0.yaml +++ /dev/null @@ -1,54 +0,0 @@ -# -*- coding: utf8 -*- -# ============LICENSE_START==================================================== -# org.onap.vvp/validation-scripts -# =================================================================== -# Copyright © 2017 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"); -# you may not use this software except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# -# Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); -# you may not use this documentation except in compliance with the License. -# You may obtain a copy of the License at -# -# https://creativecommons.org/licenses/by/4.0/ -# -# Unless required by applicable law or agreed to in writing, documentation -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ============LICENSE_END============================================ -# -# -# VERSION: '1.0.0' - ---- -resources: - - other_typeX_0_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_param: my_ip_1 } - v6_ip_address: { get_param: my_v6_ip_1 } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip_1 } - v6_ip_address: { get_param: my_v6_ip_1 } - mac_and_cheese: 1 - diff --git a/ice_validator/tests/fixtures/test_neutron_port_addresses/pass/pass0.yaml b/ice_validator/tests/fixtures/test_neutron_port_addresses/pass/pass0.yaml deleted file mode 100644 index 3dcc8fa..0000000 --- a/ice_validator/tests/fixtures/test_neutron_port_addresses/pass/pass0.yaml +++ /dev/null @@ -1,85 +0,0 @@ -# -*- coding: utf8 -*- -# ============LICENSE_START==================================================== -# org.onap.vvp/validation-scripts -# =================================================================== -# Copyright © 2017 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"); -# you may not use this software except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# -# Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); -# you may not use this documentation except in compliance with the License. -# You may obtain a copy of the License at -# -# https://creativecommons.org/licenses/by/4.0/ -# -# Unless required by applicable law or agreed to in writing, documentation -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ============LICENSE_END============================================ -# -# -# VERSION: '1.0.0' - ---- -resources: - - vm_typeX_0_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 1 - - vm_typeX_1_bialy_port_2: - type: OS::Neutron::Port - properties: - allowed_address_pairs: - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 0 - - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - mac_and_cheese: 1 - - vm_typeX_2_bialy_port_2: - type: OS::Neutron::Port - properties: - xallowed_address_pairs: - - ip_address: { get_parm: my_ip } - v6_ip_address: { get_parm: my_v6_ip } - - vm_typeX_3_bialy_port_2: - type: OS::Neutron::Port - properties: - xallowed_address_pairs: - - ip_address - - vm_typeX_4_bialy_port_2: - type: OS::Neutron::Port - properties: - xallowed_address_pairs: - ip_address: { get_param: my_ip } - v6_ip_address: { get_param: my_v6_ip } - |