[VVP] Enforce R-35666 by ensuring a network exists for int_ parameters 98/96698/1
authorLovett, Trevor <trevor.lovett@att.com>
Mon, 7 Oct 2019 21:06:17 +0000 (16:06 -0500)
committerLovett, Trevor (tl2972) <tl2972@att.com>
Mon, 7 Oct 2019 21:12:35 +0000 (16:12 -0500)
commitd78c645df31a19567667d3e6d3acdf0474f39bf1
treeb048fa852adb672cde6ddcd44922698bf6ae6325
parentc238e85627eb8f34e030e043df8d2dc7e85e68f7
[VVP] Enforce R-35666 by ensuring a network exists for int_ parameters

Implements a basic sanity check that if parameters match the internal
network naming convention, then we ensure the network itself was
defined in a heat template.

Change-Id: I37c84e2c62745a51a90dd60f0aaeb213d784f003
Issue-ID: VVP-327
Signed-off-by: Lovett, Trevor (tl2972) <trevor.lovett@att.com>
13 files changed:
ice_validator/heat_requirements.json
ice_validator/tests/fixtures/test_internal_networks/fail/base.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_internal_networks/fail/module.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_internal_networks/pass/multi_file/base.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_internal_networks/pass/multi_file/module.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_internal_networks/pass/single_file/base.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_network_format/fail/contrail/invalid_contrail_network_name.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_network_format/fail/neutron/invalid_neutron_net_name.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_network_format/fail/subnet/missing_subnet.yaml [moved from ice_validator/tests/fixtures/test_network_format/fail/invalid_naming_used_for_network.yaml with 72% similarity]
ice_validator/tests/fixtures/test_network_format/pass/valid_heat_template.yaml
ice_validator/tests/structures.py
ice_validator/tests/test_internal_networks.py [new file with mode: 0644]
ice_validator/tests/test_network_format.py