aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2020-07-16 08:04:19 -0700
committerstark, steven <steven.stark@att.com>2020-07-16 08:04:47 -0700
commit3086303893ff6707213c4a1dc7d1435aea888c63 (patch)
treedcff93438dee9b1c626dcbe22eca7894576e755d /ice_validator
parent090dbf300bf4e20cf1571afdc21792789a768abd (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.py3
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(