1 heat_template_version: 2013-05-23
3 description: heat template that creates MOG stack
7 type: comma_delimited_list
9 description: name of the PD instance
13 description: PD image name
17 description: flavor name of PD instance
19 type: comma_delimited_list
20 label: OAM server names
21 description: name of the OAM instance
25 description: OAM image name
28 label: OAM flavor name
29 description: flavor name of OAM instance
31 type: comma_delimited_list
32 label: SM server names
33 description: name of the SM instance
37 description: SM image name
41 description: flavor name of SM instance
43 type: comma_delimited_list
44 label: PS server names
45 description: name of the PS instance
49 description: PS image name
53 description: flavor name of PS instance
55 type: comma_delimited_list
56 label: CM server names
57 description: name of the CM instance
61 description: CM image name
65 description: flavor name of CM instance
66 availabilityzone_name:
68 label: availabilityzone name
69 description: availabilityzone name
72 label: oam network name
73 description: name of the oam network
75 type: comma_delimited_list
76 label: internet network ips
77 description: ip of the OAM network
80 label: csb ineternal cidr
81 description: csb internal cidr
82 packet_mirror_network_name:
84 label: packet mirror network name
85 description: name of the network
95 type: OS::Nova::Server
97 - packet_mirror_network
99 # config_drive: "True"
100 name: {get_param: [ps_server_names, 0]}
101 image: {get_param: pd_image_name}
102 flavor: {get_attr: [network_policy_server, name]}
103 availability_zone: {get_param: availabilityzone_name}
104 scheduler_hints: { group: { get_resource: BE_Affinity }}
105 block_device_mapping: [{device_name: "vda", volume_id : {get_param: VMME_ps_boot_volume }, delete_on_termination: "false" }]
107 - port: {get_resource: pd01_port_0}
108 user_data_format: RAW
111 type: OS::Nova::Server
113 - packet_mirror_network
115 # config_drive: "True"
116 name: {get_param: [pd_server_names, 0]}
117 image: {get_param: pd_image_name}
118 flavor: {get_attr: [network_policy_server, name]}
119 availability_zone: {get_param: availabilityzone_name}
120 scheduler_hints: { group: { get_resource: BE_Affinity }}
121 block_device_mapping: [{device_name: "vda", volume_id : {get_param: VMME_pd_boot_volume }, delete_on_termination: "false" }]
123 - port: {get_resource: pd01_port_1}
124 user_data_format: RAW
127 type: OS::Nova::Server
129 - packet_mirror_network
131 # config_drive: "True"
132 name: {get_param: [oam_server_names, 0]}
133 image: {get_param: pd_image_name}
134 flavor: {get_attr: [network_policy_server, name]}
135 availability_zone: {get_param: availabilityzone_name}
136 scheduler_hints: { group: { get_resource: BE_Affinity }}
137 block_device_mapping: [{device_name: "vda", volume_id : {get_param: VMME_oam_boot_volume }, delete_on_termination: "false" }]
139 - port: {get_resource: pd01_port_2}
140 user_data_format: RAW
143 type: OS::Neutron::Port
145 network: {get_attr: [network_policy_server, name]}
146 security_groups: [{get_resource: jsa_security_group}]
149 type: OS::Neutron::Port
151 network: {get_param: oam_net_name}
152 security_groups: [{get_resource: jsa_security_group}]
155 type: OS::Neutron::Port
157 network: {get_param: oam_net_name}
158 security_groups: [{get_resource: jsa_security_group}]
160 network_policy_server:
161 type: OS::Contrail::NetworkPolicy
163 name: {get_param: dummy_net_name_1}
165 resources_with_dependOn:
166 type: OS::Neutron::Net
172 packet_mirror_network:
173 type: OS::Neutron::Net
176 get_param: packet_mirror_network_name
179 type: OS::Nova::ServerGroup
181 policies: ["affinity"]
185 type: OS::Neutron::SecurityGroup
187 description: ems security group
188 name: Test-SecurityGroup
189 rules: [{"direction": ingress, "ethertype": IPv6, "protocol": icmp, "remote_ip_prefix": "::/0"}]
192 network_policy_server_pd:
193 type: OS::Contrail::NetworkPolicy
195 name: {get_attr: [server_pd_01, accessIPv4]}
197 network_policy_server_ps:
198 type: OS::Contrail::NetworkPolicy
200 name: {get_attr: [server_ps_01, accessIPv4]}
202 network_policy_server_oam:
203 type: OS::Contrail::NetworkPolicy
205 name: {get_attr: [server_oam_01, accessIPv4]}
209 description: output_regula
210 value: {get_attr: [server_pd_01, accessIPv4]}
212 description: output_regula
213 value: {get_attr: [server_ps_01, accessIPv4]}
215 description: output_regula
216 value: {get_attr: [server_oam_01, accessIPv4]}
218 description: output_regula
219 value: {get_attr: [pd01_port_1, device_owner]}
221 description: output_regula
223 get_attr: [pd01_port_0, device_id]