aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/fixtures/test_environment_file_parameters/fail
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2018-12-17 12:43:02 -0800
committerstark, steven <steven.stark@att.com>2018-12-17 13:04:00 -0800
commit1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1 (patch)
tree8092104f8be23051ff81c9f71ee34116df4d33ba /ice_validator/tests/fixtures/test_environment_file_parameters/fail
parentca9085f0f77d442d3741a8c754e65cc45b6a318d (diff)
[VVP] updating validation scripts in dublin
- adding backlog of new validation scripts for dublin - updating existing tests - removing outdated tests Issue-ID: VVP-123 Change-Id: Ib8260889ac957c1dd28d8ede450fc8edc6fb0ec0 Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'ice_validator/tests/fixtures/test_environment_file_parameters/fail')
-rw-r--r--ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.env5
-rw-r--r--ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.yaml26
2 files changed, 25 insertions, 6 deletions
diff --git a/ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.env b/ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.env
index 1ce6cc4..9187b10 100644
--- a/ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.env
+++ b/ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.env
@@ -22,6 +22,7 @@ parameters:
TESTDB_name: bghbhjb
+ TESTDB_valet_hosts: test
#TESTDB_image_name: sadfadf
@@ -43,7 +44,7 @@ parameters:
availability_zone_0: sadnfjk
- STARKDB_private_v6_ips: ansdfj
+ #STARKDB_int_private_v6_ips: ansdfj
int_priv_subnet_name: safbdjk
@@ -58,3 +59,5 @@ parameters:
STARKDB_crazy_ip_1: fsad
TESTDB_name2: asnjkv
+
+ vf_module_index: nalfs
diff --git a/ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.yaml b/ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.yaml
index 23f4e1a..d84cc1f 100644
--- a/ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.yaml
+++ b/ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.yaml
@@ -12,7 +12,11 @@ parameters:
type: string
description: nasfln
- STARKDB_private_v6_ips:
+ TESTDB_valet_hosts:
+ type: string
+ description: nsfadl
+
+ STARKDB_int_private_v6_ips:
type: comma_delimited_list
description: ndsajlfn
@@ -144,6 +148,7 @@ resources:
#int_network_id: { get_resource: int_priv_network }
workload_context: { get_param: workload_context }
environment_context: { get_param: environment_context }
+ #valet_groups: "safnkl, sdaflksanl"
networks:
- port: { get_resource: STARKDB_0_int_priv_port_0 }
- port: { get_resource: STARKDB_0_PRIV_port_1}
@@ -165,6 +170,7 @@ resources:
#int_network_id: { get_resource: int_priv_network }
workload_context: { get_param: workload_context }
environment_context: { get_param: environment_context }
+ #valet_groups: "safnkl, sdaflksanl"
networks:
- port: {get_resource: STARKDB_1_int_priv_port_0}
- port: {get_resource: STARKDB_1_crazy_port_0}
@@ -183,6 +189,7 @@ resources:
#int_network_id: { get_resource: int_priv_network }
workload_context: { get_param: workload_context }
environment_context: { get_param: environment_context }
+ #valet_groups: "safnkl, sdaflksanl"
networks:
- port: {get_resource: TESTDB_0_int_priv_port_0}
- network: { get_param: int_priv_net_id }
@@ -203,10 +210,19 @@ resources:
#int_network_id: { get_resource: int_priv_network }
workload_context: { get_param: workload_context }
environment_context: { get_param: environment_context }
+ #valet_groups: "safnkl, sdaflksanl"
networks:
- port: {get_resource: TESTDB_0_int_priv_port_0}
- network: { get_param: int_priv_net_id }
+ availability_zone:
+ str_replace:
+ template: $AZ$VALET_HOST_ASSIGNMENT
+ params:
+ $AZ: { get_param: availability_zone_0 }
+ $VALET_HOST_ASSIGNMENT: { get_param: [ TESTDB_valet_hosts, 0 ] }
+
+
vol_attachment:
type: OS::Cinder::VolumeAttachment
properties:
@@ -239,8 +255,8 @@ resources:
properties:
network: { get_resource: int_private_net_id }
fixed_ips:
- - subnet_id: { get_resource: int_priv_subnet }
- - ip_address: { get_param: STARKDB_private_v6_ips }
+ - subnet: { get_resource: int_priv_subnet }
+ - ip_address: { get_param: STARKDB_int_private_v6_ips }
STARKDB_0_crazy_port_0:
@@ -248,7 +264,7 @@ resources:
properties:
network: { get_param: crazy_net_id }
fixed_ips:
- - subnet_id: { get_param: crazy_subnet_id }
+ - subnet: { get_param: crazy_subnet_id }
- ip_address: { get_param: STARKDB_crazy_ip_0 }
allowed_address_pairs: [ { "ip_address": {get_param:
STARKDB_crazy_floating_ip}}]
@@ -259,7 +275,7 @@ resources:
properties:
network: { get_param: crazy_net_id }
fixed_ips:
- - subnet_id: { get_param: crazy_subnet_id }
+ - subnet: { get_param: crazy_subnet_id }
- ip_address: { get_param: STARKDB_crazy_ip_1 }
allowed_address_pairs: [ { "ip_address": {get_param:
STARKDB_crazy_floating_ip}}]