1 heat_template_version: 2013-05-23
3 description: cmaui server template for vMMSC
8 description: nova server id
11 description: nova server id
14 description: nova server id
17 description: Unique ID for this VNF instance
18 default: This_is_ths_MMSC-CMAUI_id
20 type: comma_delimited_list
21 description: CMAUI1, CMAUI2 server names
24 description: Image for CMAUI server
27 description: Flavor for CMAUI server
28 cmaui_cinder_volume_size:
30 label: CMAUI Cinder volume size
31 description: the size of the CMAUI Cinder volume
34 label: availabilityzone name
35 description: availabilityzone name
38 description: UID of OAM network
41 label: oam network netmask
42 description: oam network gateway
45 label: oam network gateway
46 description: oam network gateway
50 description: dns server
54 description: ntp server
57 label: security group name
58 description: the name of security group
64 type: comma_delimited_list
65 label: CMAUI oam_net IP addresses
66 description: CMAUI oam_net IP addresses
69 label: CMAUI vm volume type
70 description: the name of the target volume backend
73 label: CMAUI vm volume type
74 description: the name of the target volume backend
79 type: OS::Neutron::Port
81 network: { get_param: oam_net_name }
82 fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
83 security_groups: [{get_param: security_group_name}]
84 replacement_policy: AUTO
86 type: OS::Neutron::Port
88 network: { get_param: oam_net_name }
89 fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
90 security_groups: [{get_param: security_group_name}]
91 replacement_policy: AUTO
93 cmaui_volume_attachment1:
94 type: OS::Cinder::VolumeAttachment
96 volume_id: {get_param: server_cmaui21}
97 instance_uuid: {get_resource: server_cmaui1}
99 cmaui_volume_attachment2:
100 type: OS::Cinder::VolumeAttachment
102 volume_id: {get_param: cmaui_volume_param2}
103 instance_uuid: {get_resource: server_cmaui1}
105 cmaui_volume_attachment3:
106 type: OS::Cinder::VolumeAttachment
108 volume_id: {get_param: cmaui_volume_param2}
109 instance_uuid: {get_resource: server_cmaui2}
112 type: OS::Nova::Server
114 name: { get_param: [cmaui_names, 0]}
115 image: { get_param: cmaui_image }
116 availability_zone: { get_param: availability_zone_0 }
117 flavor: { get_param: cmaui_flavor }
119 - port: { get_resource: cmaui_port_1 }
121 vnf_id: { get_param: vnf_id }
125 cmaui.mgmt.ip=${cmaui.mgmt.ip}
126 cmaui.mgmt.netmask=${cmaui.mgmt.netmask}
127 cmaui.mgmt.gateway=${cmaui.mgmt.gateway}
128 cmaui.external.dns=${cmaui.external.dns}
129 cmaui.external.ntp=${cmaui.external.ntp}
130 cmaui.node=${cmaui.node}
131 cmaui.timezone=${cmaui.timezone}
133 ${cmaui.mgmt.ip}: {get_param: [cmaui_oam_ips, 0]}
134 ${cmaui.mgmt.netmask}: {get_param: oam_network_netmask}
135 ${cmaui.mgmt.gateway}: {get_param: oam_network_gateway}
136 ${cmaui.external.dns}: {get_param: external_dns}
137 ${cmaui.external.ntp}: {get_param: external_ntp}
138 ${cmaui.node}: {get_param: [cmaui_names, 0]}
139 ${cmaui.timezone}: {get_param: timezone}
140 user_data_format: RAW
143 type: OS::Nova::Server
145 name: { get_param: [cmaui_names, 0]}
146 image: { get_param: cmaui_image }
147 availability_zone: { get_param: availability_zone_0 }
148 flavor: { get_param: cmaui_flavor }
150 - port: { get_resource: cmaui_port_2 }
152 vnf_id: { get_param: vnf_id }
156 cmaui.mgmt.ip=${cmaui.mgmt.ip}
157 cmaui.mgmt.netmask=${cmaui.mgmt.netmask}
158 cmaui.mgmt.gateway=${cmaui.mgmt.gateway}
159 cmaui.external.dns=${cmaui.external.dns}
160 cmaui.external.ntp=${cmaui.external.ntp}
161 cmaui.node=${cmaui.node}
162 cmaui.timezone=${cmaui.timezone}
164 ${cmaui.mgmt.ip}: {get_param: [cmaui_oam_ips, 0]}
165 ${cmaui.mgmt.netmask}: {get_param: oam_network_netmask}
166 ${cmaui.mgmt.gateway}: {get_param: oam_network_gateway}
167 ${cmaui.external.dns}: {get_param: external_dns}
168 ${cmaui.external.ntp}: {get_param: external_ntp}
169 ${cmaui.node}: {get_param: [cmaui_names, 0]}
170 ${cmaui.timezone}: {get_param: timezone}
171 user_data_format: RAW