aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/test_contrail_fqdn.py
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2019-05-02 08:26:54 -0700
committerstark, steven <steven.stark@att.com>2019-05-02 08:26:54 -0700
commit2d04106b17f879fb4318bd79fd40b3314090f843 (patch)
tree2fe093d79f40b4276069e396d8f4d3e04f01cce7 /ice_validator/tests/test_contrail_fqdn.py
parent7a7bc66879f2efd93be2ebbd959176a10b07f74f (diff)
[VVP] relaxing test_contrail_fqdn
Test now only validates if using get_param. This allows connecting to internal networks via get_resource, get_attr, etc.. Change-Id: Ib0e9f014b62669aec48d8421a6de97a919126fd6 Issue-ID: VVP-191 Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'ice_validator/tests/test_contrail_fqdn.py')
-rw-r--r--ice_validator/tests/test_contrail_fqdn.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ice_validator/tests/test_contrail_fqdn.py b/ice_validator/tests/test_contrail_fqdn.py
index f90553f..178ce8d 100644
--- a/ice_validator/tests/test_contrail_fqdn.py
+++ b/ice_validator/tests/test_contrail_fqdn.py
@@ -108,6 +108,11 @@ def validate_virtual_network_refs(heat, virtual_network_refs, network_role):
expect = "%s_net_fqdn" % network_role
for vn_ref in virtual_network_refs:
param = heat.nested_get(vn_ref, "get_param")
+
+ # skip if not connecting via get_param
+ if not param:
+ return None
+
if param == expect:
param_type = heat.nested_get(heat.parameters, param, "type")
if param_type != "string":