[VVP] add bug fixes and reserve port updates
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_allowed_address_pair_format / pass / valid_heat_template.yaml
1 # -*- coding: utf8 -*-
2 # ============LICENSE_START=======================================================
3 # org.onap.vvp/validation-scripts
4 # ===================================================================
5 # Copyright © 2017 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 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
39 #
40 ---
41 resources:
42
43   vm_type_1_int_intranet_0_port:
44         type: OS::Neutron::Port
45         properties:
46           network: { get_param: int_intranet_net_name }
47           allowed_address_pairs:
48             - ip_address: { get_param: lb_1_int_intranet_floating_ip }
49
50   vm_type_1_int_intranet_1_port:
51         type: OS::Neutron::Port
52         properties:
53           network: { get_param: int_intranet_net_id }
54           allowed_address_pairs:
55             - ip_address: { get_param: lb_2_int_intranet_floating_v6_ip }
56
57   vm_type_1_extnet_2_port:
58         type: OS::Neutron::Port
59         properties:
60           network: { get_param: extnet_net_name }
61           allowed_address_pairs:
62             - ip_address: { get_param: lb_1_extnet_floating_ip }
63
64   vm_type_1_extnet_3_port:
65         type: OS::Neutron::Port
66         properties:
67           network: { get_param: extnet_net_id }
68           allowed_address_pairs:
69             - ip_address: { get_param: lb_2_extnet_floating_v6_ip }
70
71   vm_type_1_int_intranet_4_port:
72         type: OS::Neutron::Port
73         properties:
74           network: { get_param: int_intranet_net_name }
75           allowed_address_pairs:
76             - ip_address: { get_param: lb_1_int_intranet_ip_0 }
77
78   vm_type_1_int_intranet_5_port:
79         type: OS::Neutron::Port
80         properties:
81           network: { get_param: int_intranet_net_id }
82           allowed_address_pairs:
83             - ip_address: { get_param: lb_2_int_intranet_v6_ip_0 }
84
85   vm_type_1_extnet_6_port:
86         type: OS::Neutron::Port
87         properties:
88           network: { get_param: extnet_net_name }
89           allowed_address_pairs:
90             - ip_address: { get_param: lb_1_extnet_ip_0 }
91
92   vm_type_1_extnet_7_port:
93         type: OS::Neutron::Port
94         properties:
95           network: { get_param: extnet_net_id }
96           allowed_address_pairs:
97             - ip_address: { get_param: lb_2_extnet_v6_ip_0 }
98
99   vm_type_1_int_intranet_8_port:
100         type: OS::Neutron::Port
101         properties:
102           network: { get_param: int_intranet_net_name }
103           allowed_address_pairs:
104             - ip_address: { get_param: [lb_1_int_intranet_ips, 0] }
105
106   vm_type_1_int_intranet_9_port:
107         type: OS::Neutron::Port
108         properties:
109           network: { get_param: int_intranet_net_id }
110           allowed_address_pairs:
111             - ip_address: { get_param: [lb_2_int_intranet_v6_ips, 0] }
112
113   vm_type_1_extnet_10_port:
114         type: OS::Neutron::Port
115         properties:
116           network: { get_param: extnet_net_name }
117           allowed_address_pairs:
118             - ip_address: { get_param: [lb_1_extnet_ips, 0] }
119
120   vm_type_1_extnet_11_port:
121         type: OS::Neutron::Port
122         properties:
123           network: { get_param: extnet_net_id }
124           allowed_address_pairs:
125             - ip_address: { get_param: [lb_2_extnet_v6_ips, 0] }
126   int_oam_net:
127         type: OS::Neutron::Net
128         properties:
129           name: { get_param: int_oam_net_name }
130   vm_type_1_int_intranet_10_port:
131        type: OS::Neutron::Port
132        properties:
133          network: { get_resource: int_oam_net }
134          allowed_address_pairs:
135            - ip_address: { get_param: [lb_2_int_intranet_v6_ips, 1] }
136   vm_type_1_int_intranet_11_port:
137        type: OS::Neutron::Port
138        properties:
139          network: { get_resource: int_oam_net }
140          allowed_address_pairs:
141            - ip_address: { get_param: [lb_2_int_intranet_ips, 1] }
142   vm_type_1_int_intranet_10_port:
143        type: OS::Neutron::Port
144        properties:
145          network: { get_resource: int_oam_net }
146          allowed_address_pairs:
147            - ip_address: { get_param: lb_2_int_intranet_v6_ip_1 }