diff options
author | stark, steven <ss820f@att.com> | 2018-04-23 08:49:34 -0700 |
---|---|---|
committer | stark, steven <ss820f@att.com> | 2018-04-23 08:49:34 -0700 |
commit | 655f39713cca2595a812ccd60cc738301aef8b2f (patch) | |
tree | b643a746b17ed00575b980c2bb233ce7cbf2109b /ice_validator/tests/test_subnet_format.py | |
parent | 671ada85afbb8112a7ae854950cea24756be4dd3 (diff) |
[VVP] add bug fixes and reserve port updates
Adding test script updates and reserve port
Change-Id: I2af5263a48a53117021f166d08395685e89fd122
Issue-ID: VVP-56
Signed-off-by: stark, steven <ss820f@att.com>
Diffstat (limited to 'ice_validator/tests/test_subnet_format.py')
-rw-r--r-- | ice_validator/tests/test_subnet_format.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ice_validator/tests/test_subnet_format.py b/ice_validator/tests/test_subnet_format.py index f1bab44..e5f28cc 100644 --- a/ice_validator/tests/test_subnet_format.py +++ b/ice_validator/tests/test_subnet_format.py @@ -40,7 +40,8 @@ import pytest import yaml -from .utils.network_roles import get_network_role_from_port +from .utils.network_roles import get_network_role_from_port,\ + property_uses_get_resource import re @@ -75,6 +76,8 @@ def test_subnet_format(heat_template): continue if v1.get("type") != "OS::Neutron::Port": continue + if property_uses_get_resource(v1, "network"): + continue network_role = get_network_role_from_port(v1) # get the network param to define the network_type |