aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ice_validator/tests')
-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(