1 heat_template_version: 2013-05-23
3 description: cmaui server template for vMMSC
8 description: Unique ID for this VNF instance
9 default: This_is_ths_MMSC-CMAUI_id
11 type: comma_delimited_list
12 description: CMAUI1, CMAUI2 server names
15 description: Image for CMAUI server
18 description: Flavor for CMAUI server
21 label: CMAUI volume size
22 description: Volume for CMAUI server
23 cmaui_cinder_volume_size:
25 label: CMAUI Cinder volume size
26 description: the size of the CMAUI Cinder volume
29 label: availabilityzone name
30 description: availabilityzone name
33 description: UID of OAM network
36 label: oam network netmask
37 description: oam network gateway
40 label: oam network gateway
41 description: oam network gateway
45 description: dns server
49 description: ntp server
52 label: security group name
53 description: the name of security group
59 type: comma_delimited_list
60 label: CMAUI oam_net IP addresses
61 description: CMAUI oam_net IP addresses
64 label: CMAUI vm volume type
65 description: the name of the target volume backend
66 inner_cmaui_volume_a1:
68 label: CMAUI vm volume type
69 description: the name of the target volume backend
70 inner_cmaui_volume_b2:
72 label: CMAUI vm volume type
73 description: the name of the target volume backend
74 inner_cmaui_volume_b3:
75 type: comma_delimited_list
82 type: OS::Neutron::Port
84 network: { get_param: oam_net_name }
85 fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
86 security_groups: [{get_param: security_group_name}]
87 replacement_policy: AUTO
89 type: OS::Neutron::Port
91 network: { get_param: oam_net_name }
92 fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
93 security_groups: [{get_param: security_group_name}]
94 replacement_policy: AUTO
96 cmaui_volume_attachment1:
97 type: OS::Cinder::VolumeAttachment
99 volume_id: {get_param: inner_cmaui_volume_a1}
100 instance_uuid: {get_resource: server_cmaui1}
102 cmaui_volume_attachment2:
103 type: OS::Cinder::VolumeAttachment
105 volume_id: {get_param: inner_cmaui_volume_b2}
106 instance_uuid: {get_resource: server_cmaui1}
108 cmaui_volume_attachment3:
109 type: OS::Cinder::VolumeAttachment
111 volume_id: {get_param: inner_cmaui_volume_b2}
112 instance_uuid: {get_resource: server_cmaui2}
114 cmaui_volume_attachment4:
115 type: OS::Cinder::VolumeAttachment
117 volume_id: {get_param: inner_cmaui_volume_b3}
118 instance_uuid: {get_resource: server_cmaui1}
121 type: OS::Nova::Server
123 name: { get_param: [cmaui_names, 0]}
124 image: { get_param: cmaui_image }
125 availability_zone: { get_param: availability_zone_0 }
126 flavor: { get_param: cmaui_flavor }
128 - port: { get_resource: cmaui_port_0 }
130 vnf_id: { get_param: vnf_id }
134 cmaui.mgmt.ip=${cmaui.mgmt.ip}
135 cmaui.mgmt.netmask=${cmaui.mgmt.netmask}
136 cmaui.mgmt.gateway=${cmaui.mgmt.gateway}
137 cmaui.external.dns=${cmaui.external.dns}
138 cmaui.external.ntp=${cmaui.external.ntp}
139 cmaui.node=${cmaui.node}
140 cmaui.timezone=${cmaui.timezone}
142 ${cmaui.mgmt.ip}: {get_param: [cmaui_oam_ips, 0]}
143 ${cmaui.mgmt.netmask}: {get_param: oam_network_netmask}
144 ${cmaui.mgmt.gateway}: {get_param: oam_network_gateway}
145 ${cmaui.external.dns}: {get_param: external_dns}
146 ${cmaui.external.ntp}: {get_param: external_ntp}
147 ${cmaui.node}: {get_param: [cmaui_names, 0]}
148 ${cmaui.timezone}: {get_param: timezone}
149 user_data_format: RAW
152 type: OS::Nova::Server
154 name: { get_param: [cmaui_names, 0]}
155 image: { get_param: cmaui_image }
156 availability_zone: { get_param: availability_zone_0 }
157 flavor: { get_param: cmaui_flavor }
159 - port: { get_resource: cmaui_port_2 }
161 vnf_id: { get_param: vnf_id }
165 cmaui.mgmt.ip=${cmaui.mgmt.ip}
166 cmaui.mgmt.netmask=${cmaui.mgmt.netmask}
167 cmaui.mgmt.gateway=${cmaui.mgmt.gateway}
168 cmaui.external.dns=${cmaui.external.dns}
169 cmaui.external.ntp=${cmaui.external.ntp}
170 cmaui.node=${cmaui.node}
171 cmaui.timezone=${cmaui.timezone}
173 ${cmaui.mgmt.ip}: {get_param: [cmaui_oam_ips, 0]}
174 ${cmaui.mgmt.netmask}: {get_param: oam_network_netmask}
175 ${cmaui.mgmt.gateway}: {get_param: oam_network_gateway}
176 ${cmaui.external.dns}: {get_param: external_dns}
177 ${cmaui.external.ntp}: {get_param: external_ntp}
178 ${cmaui.node}: {get_param: [cmaui_names, 0]}
179 ${cmaui.timezone}: {get_param: timezone}
180 user_data_format: RAW