summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py3
-rw-r--r--ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py9
-rw-r--r--ice_validator/tests/test_network_format.py2
3 files changed, 14 insertions, 0 deletions
diff --git a/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py b/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py
index 1841a4f..d4fdb36 100644
--- a/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py
+++ b/ice_validator/tests/test_allowed_address_pairs_include_vm_type_network_role.py
@@ -37,12 +37,15 @@
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
+from .helpers import validates
import pytest
import yaml
from .utils.ports import get_invalid_ip_addresses
+@validates('R-41492',
+ 'R-35735')
def test_allowed_address_pairs_include_vm_type_network_role(heat_template):
'''
Check that all allowed_address_pairs include the {vm_type} of the
diff --git a/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py b/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py
index bcb4486..85c0a4d 100644
--- a/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py
+++ b/ice_validator/tests/test_fixed_ips_include_vm_type_network_role.py
@@ -37,12 +37,21 @@
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
+from .helpers import validates
import pytest
import yaml
from .utils.ports import get_invalid_ip_addresses
+@validates('R-40971',
+ 'R-27818',
+ 'R-29765',
+ 'R-85235',
+ 'R-78380',
+ 'R-23503',
+ 'R-71577',
+ 'R-04697')
def test_fixed_ips_include_vm_type_network_role(heat_template):
'''
Check that all fixed_ips ip addresses include the {vm_type} of the
diff --git a/ice_validator/tests/test_network_format.py b/ice_validator/tests/test_network_format.py
index 17d000c..651267e 100644
--- a/ice_validator/tests/test_network_format.py
+++ b/ice_validator/tests/test_network_format.py
@@ -37,6 +37,7 @@
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
+from .helpers import validates
import pytest
import yaml
@@ -44,6 +45,7 @@ from .utils.network_roles import get_network_role_from_port,\
property_uses_get_resource
+@validates('R-62983', 'R-86182')
def test_network_format(heat_template):
'''
Make sure all network properties use the allowed naming