aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ice_validator/tests/fixtures/test_server_parameters/fail/fail.yaml3
-rw-r--r--ice_validator/tests/fixtures/test_server_parameters/pass/pass.yaml3
-rw-r--r--ice_validator/tests/test_server_parameters.py6
3 files changed, 0 insertions, 12 deletions
diff --git a/ice_validator/tests/fixtures/test_server_parameters/fail/fail.yaml b/ice_validator/tests/fixtures/test_server_parameters/fail/fail.yaml
index 55fbaa2..4d41634 100644
--- a/ice_validator/tests/fixtures/test_server_parameters/fail/fail.yaml
+++ b/ice_validator/tests/fixtures/test_server_parameters/fail/fail.yaml
@@ -43,8 +43,6 @@
description: base
parameters:
- vm_role:
- type: number
vnf_id:
type: number
vf_module_id:
@@ -63,7 +61,6 @@ resources:
type: OS::Nova::Server
properties:
metadata:
- vm_role: { get_param: vm_role }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
diff --git a/ice_validator/tests/fixtures/test_server_parameters/pass/pass.yaml b/ice_validator/tests/fixtures/test_server_parameters/pass/pass.yaml
index d61a2f0..c4bdcef 100644
--- a/ice_validator/tests/fixtures/test_server_parameters/pass/pass.yaml
+++ b/ice_validator/tests/fixtures/test_server_parameters/pass/pass.yaml
@@ -43,8 +43,6 @@
description: base
parameters:
- vm_role:
- type: string
vnf_id:
type: string
vf_module_id:
@@ -63,7 +61,6 @@ resources:
type: OS::Nova::Server
properties:
metadata:
- vm_role: { get_param: vm_role }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
diff --git a/ice_validator/tests/test_server_parameters.py b/ice_validator/tests/test_server_parameters.py
index 7eb84cb..c72080c 100644
--- a/ice_validator/tests/test_server_parameters.py
+++ b/ice_validator/tests/test_server_parameters.py
@@ -165,12 +165,6 @@ def test_vf_module_name_parameter_type_and_parameter_name(yaml_file):
check_server_parameter_name(yaml_file, "vf_module_name", "vf_module_name")
-@validates("R-95430")
-def test_vm_role_parameter_type_and_parameter_name(yaml_file):
- check_parameter_type(yaml_file, "vm_role", "string")
- check_server_parameter_name(yaml_file, "vm_role", "vm_role")
-
-
@validates("R-54340")
def test_vf_module_index_parameter_type_and_parameter_name(yaml_file):
check_parameter_type(yaml_file, "vf_module_index", "number")