[VVP] updating ports.py to check str_replace params
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_contrail_instance_ip_parameters / fail / fail_module.yaml
1 # -*- coding: utf8 -*-
2 # ============LICENSE_START====================================================
3 # org.onap.vvp/validation-scripts
4 # ===================================================================
5 # Copyright © 2019 AT&T Intellectual Property. All rights reserved.
6 # ===================================================================
7 #
8 # Unless otherwise specified, all software contained herein is licensed
9 # under the Apache License, Version 2.0 (the "License");
10 # you may not use this software except in compliance with the License.
11 # You may obtain a copy of the License at
12 #
13 #             http://www.apache.org/licenses/LICENSE-2.0
14 #
15 # Unless required by applicable law or agreed to in writing, software
16 # distributed under the License is distributed on an "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 # See the License for the specific language governing permissions and
19 # limitations under the License.
20 #
21 #
22 #
23 # Unless otherwise specified, all documentation contained herein is licensed
24 # under the Creative Commons License, Attribution 4.0 Intl. (the "License");
25 # you may not use this documentation except in compliance with the License.
26 # You may obtain a copy of the License at
27 #
28 #             https://creativecommons.org/licenses/by/4.0/
29 #
30 # Unless required by applicable law or agreed to in writing, documentation
31 # distributed under the License is distributed on an "AS IS" BASIS,
32 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33 # See the License for the specific language governing permissions and
34 # limitations under the License.
35 #
36 # ============LICENSE_END============================================
37
38 heat_template_version: 2015-04-30
39
40 description: fdsafsfsa
41
42 parameters:
43
44   TESTDB_int_priav_ips:
45    type: comma_delimited_list
46    description: asnfjl
47
48   TESTDB_private_ips:
49    type: string
50    description: asnfjl
51
52   TESTDB_praivate_ips:
53    type: string
54    description: asnfjl
55
56   priv_subnet_id:
57    type: string
58    description: asnfjl
59
60   privte_v6_subnet_id:
61    type: string
62    description: asnfjl
63
64 resources:
65
66   TESTDB_0_int_priv_vmi_0_IP_1:
67     type: OS::ContrailV2::InstanceIp
68     properties:
69       virtual_machine_interface_refs: { get_resource: TESTDB_0_priv_vmi_0 }
70       virtual_network_refs: [{ get_resource: int_priv_network }]
71       instance_ip_address: { get_param: [TESTDB_int_priav_ips, 0] }
72       subnet_uuid: { get_param: priv_subnet_id }
73
74   TESTDB_0_private_vmi_1_IP_1:
75     type: OS::ContrailV2::InstanceIp
76     properties:
77       virtual_machine_interface_refs: { get_resource: TESTDB_1_priv_vmi_0 }
78       virtual_network_refs: [{ get_param: priv_net_fqdn }]
79       instance_ip_address: { get_param: [TESTDB_private_ips, 1] }
80       subnet_uuid: { get_param: privte_v6_subnet_id }
81
82   TESTDB_0_private_vmi_1_IP_1:
83     type: OS::ContrailV2::InstanceIp
84     properties:
85       virtual_machine_interface_refs: { get_resource: TESTDB_1_priv_vmi_0 }
86       virtual_network_refs: [{ get_param: priv_net_fqdn }]
87       instance_ip_address: { get_param: [TESTDB_praivate_ips, 1] }
88       subnet_uuid: { get_param: privte_v6_subnet_id }
89
90   other_0_int_priv_vmi_0_IP_0:
91     type: OS::ContrailV2::InstanceIp
92     properties:
93       instance_ip_address: { get_param: [other_int_priv_ips, 0] }
94       subnet_uuid: { get_param: int_priv_subnet_id }