diff options
author | stark, steven <steven.stark@att.com> | 2020-07-16 08:04:19 -0700 |
---|---|---|
committer | stark, steven <steven.stark@att.com> | 2020-07-16 08:04:47 -0700 |
commit | 3086303893ff6707213c4a1dc7d1435aea888c63 (patch) | |
tree | dcff93438dee9b1c626dcbe22eca7894576e755d /ice_validator | |
parent | 090dbf300bf4e20cf1571afdc21792789a768abd (diff) |
[VVP] Bug fix for test_port_resource_ids
Skip non-OS::Neutron::Port (i.e. contrail)
Issue-ID: VVP-346
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: Id3addcfe755c16be0fd3391779262232fb570def
Diffstat (limited to 'ice_validator')
-rw-r--r-- | ice_validator/tests/test_port_resource_ids.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ice_validator/tests/test_port_resource_ids.py b/ice_validator/tests/test_port_resource_ids.py index d587743..be74349 100644 --- a/ice_validator/tests/test_port_resource_ids.py +++ b/ice_validator/tests/test_port_resource_ids.py @@ -109,6 +109,9 @@ def test_port_resource_ids(yaml_file): if property_uses_get_resource(v, "network"): continue + if port_resource.get("type", "") != "OS::Neutron::Port": + continue + network_role = get_network_role_from_port(port_resource) if not network_role: invalid_ports.append( |