1 heat_template_version: 2013-05-23
4 Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
9 description: nested parameter
12 description: network name of jsa log network
15 description: security_group_name
18 description: network name of jsa network
21 description: network name of contrail v2 network
22 pd_server_main_1b_names:
23 type: comma_delimited_list
24 description: PD server names
25 pd_server_main_1b_image:
27 description: PD Image server
28 ps_server_main_1b_names:
29 type: comma_delimited_list
30 description: Ps server names
31 ps_server_main_1b_image:
33 description: Ps Image server
36 label: availabilityzone name
37 description: availabilityzone name
38 pd_server_main_1b_flavor:
40 description: Flavor for PD server
41 ps_server_main_1b_flavor:
43 description: Flavor for PS server
44 pd_server_main_1b_ips:
46 ps_server_main_1b_ips:
49 type: comma_delimited_list
50 description: CMAUI1, CMAUI2 server names
53 description: Image for CMAUI server
56 cmaui_1c1_main_flavor:
58 description: Flavor for CMAUI server
64 - test_nested_pattern_4_main_1
66 name: { get_param: security_group_name}
68 ########### PATTERN 1B (same type as main) ##################
70 pd_server_main_1b_port:
71 type: OS::Neutron::Port
73 network: { get_param: jsa_name }
74 fixed_ips: [{"ip_address": {get_param: [pd_server_main_1b_ips, 0]}}]
75 replacement_policy: AUTO
77 ps_server_main_1b_port:
78 type: OS::Neutron::Port
80 network: { get_param: jsa_name }
81 fixed_ips: [{"ip_address": {get_param: [ps_server_main_1b_ips, 0]}}]
82 replacement_policy: AUTO
85 type: OS::Nova::Server
89 name: { get_param: [pd_server_main_1b_names, 0]}
90 image: { get_param: pd_server_main_1b_image }
91 availability_zone: { get_param: availability_zone_0 }
92 flavor: { get_param: pd_server_main_1b_flavor }
94 - port: { get_resource: pd_server_main_1b_port }
97 type: OS::Nova::Server
101 name: { get_param: [ps_server_main_1b_names, 1]}
102 image: { get_param: ps_server_main_1b_image }
103 availability_zone: { get_param: availability_zone_0 }
104 flavor: { get_param: ps_server_main_1b_flavor }
106 - port: { get_resource: ps_server_main_1b_port }
108 ########### PATTERN 1C1 (same type as main) #################
111 type: OS::Neutron::Port
113 network: { get_param: contrail_net_name}
114 fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
115 replacement_policy: AUTO
118 type: OS::Neutron::Port
120 network: { get_param: contrail_net_name}
121 fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
122 replacement_policy: AUTO
124 server_main_1c1_cmaui_1:
125 type: OS::Nova::Server
131 name: { get_param: [cmaui_1c1_main_names, 0]}
132 image: { get_param: cmaui_1c1_main_image }
133 availability_zone: { get_param: availability_zone_0 }
134 flavor: { get_param: cmaui_1c1_main_flavor }
136 - port: { get_resource: cmaui_port_1 }
138 server_main_1c1_cmaui_2:
139 type: OS::Nova::Server
145 name: { get_param: [cmaui_1c1_main_names, 1]}
146 image: { get_param: cmaui_1c1_main_image }
147 availability_zone: { get_param: availability_zone_0 }
148 flavor: { get_param: cmaui_1c1_main_flavor }
150 - port: { get_resource: cmaui_port_2 }
152 ########### PATTERN 4 (same type as main) #################
154 test_nested_pattern_4_main_1:
155 type: nested-pattern-4.yml
157 - server_main_1c1_cmaui_1
158 - server_main_1c1_cmaui_2
162 p1: { get_param: jsa_name}