[VVP] Update validations based on VNFRQTS-637 23/88023/2 dublin
authorLovett, Trevor <trevor.lovett@att.com>
Mon, 13 May 2019 19:01:09 +0000 (14:01 -0500)
committerTrevor Lovett <trevor.lovett@att.com>
Fri, 17 May 2019 18:51:36 +0000 (18:51 +0000)
commit5ff7ed0cf3ac9e8110579ee4f0f711e30fb2511e
tree62b1e12ca2cb07511cbdd2199167d8422b930106
parent0e2e6cdfb6b659c29ad1a59ac37d3a50191577a0
[VVP] Update validations based on VNFRQTS-637

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>
13 files changed:
checks.py [new file with mode: 0644]
ice_validator/heat_requirements.json
ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail0.yaml [deleted file]
ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail1.yaml [deleted file]
ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail2.yaml [deleted file]
ice_validator/tests/fixtures/test_neutron_port_addresses/fail/fail3.yaml [deleted file]
ice_validator/tests/fixtures/test_neutron_port_addresses/fail/other0.yaml [deleted file]
ice_validator/tests/fixtures/test_neutron_port_addresses/pass/pass0.yaml [deleted file]
ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py
ice_validator/tests/test_neutron_port_addresses.py [deleted file]
ice_validator/tests/utils/ports.py
ice_validator/version.py
update_reqs.py [moved from ice_validator/tests/fixtures/test_neutron_port_addresses/pass/other0.yaml with 67% similarity]