1 heat_template_version: 2013-05-23
3 #################################
5 # Changes from MSO 01/26/2016
6 # Updated per OPENECOMP feedback
8 #################################
10 description: cmaui server template for vMMSC
15 description: Unique ID for this VNF instance
16 default: This_is_ths_MMSC-CMAUI_id
18 type: comma_delimited_list
19 description: CMAUI1, CMAUI2 server names
22 description: Image for CMAUI server
25 description: Flavor for CMAUI server
26 cmaui_cinder_volume_size:
28 label: CMAUI Cinder volume size
29 description: the size of the CMAUI Cinder volume
32 label: availabilityzone name
33 description: availabilityzone name
36 description: UID of OAM network
39 label: oam network netmask
40 description: oam network gateway
43 label: oam network gateway
44 description: oam network gateway
48 description: dns server
52 description: ntp server
55 label: security group name
56 description: the name of security group
62 type: comma_delimited_list
63 label: CMAUI oam_net IP addresses
64 description: CMAUI oam_net IP addresses
67 label: CMAUI vm volume type
68 description: the name of the target volume backend
74 cmaui_name: { get_param: [cmaui_names, 0]}
75 cmaui_image: { get_param: cmaui_image }
76 availability_zone_0: { get_param: availability_zone_0 }
77 flavor: { get_param: cmaui_flavor }
79 - port: { get_resource: cmaui_port_0 }
81 vnf_id: { get_param: vnf_id }
85 cmaui.mgmt.ip=${cmaui.mgmt.ip}
86 cmaui.mgmt.netmask=${cmaui.mgmt.netmask}
87 cmaui.mgmt.gateway=${cmaui.mgmt.gateway}
88 cmaui.external.dns=${cmaui.external.dns}
89 cmaui.external.ntp=${cmaui.external.ntp}
90 cmaui.node=${cmaui.node}
91 cmaui.timezone=${cmaui.timezone}
93 ${cmaui.mgmt.ip}: {get_param: [cmaui_oam_ips, 0]}
94 ${cmaui.mgmt.netmask}: {get_param: oam_network_netmask}
95 ${cmaui.mgmt.gateway}: {get_param: oam_network_gateway}
96 ${cmaui.external.dns}: {get_param: external_dns}
97 ${cmaui.external.ntp}: {get_param: external_ntp}
98 ${cmaui.node}: {get_param: [cmaui_names, 0]}
99 ${cmaui.timezone}: {get_param: timezone}
100 user_data_format: RAW
103 type: OS::Cinder::Volume
105 size: {get_param: cmaui_cinder_volume_size}
106 volume_type: {get_param: CMAUI_volume_type}
108 cmaui_volume_attachment:
109 type: OS::Cinder::VolumeAttachment
111 volume_id: {get_resource: cmaui_volume}
112 instance_uuid: {get_resource: server_cmaui}
115 type: OS::Neutron::Port
117 network: { get_param: oam_net_name }
118 fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
119 security_groups: [{get_param: security_group_name}]
120 replacement_policy: AUTO
123 type: OS::Nova::Server
125 name: { get_param: [cmaui_names, 1]}
126 image: { get_param: cmaui_image }
127 availability_zone: { get_param: availability_zone_0 }
128 flavor: { get_param: cmaui_flavor }
130 - port: { get_resource: cmaui1_port_0 }
132 vnf_id: { get_param: vnf_id }
136 cmaui.mgmt.ip=${cmaui.mgmt.ip}
137 cmaui.mgmt.netmask=${cmaui.mgmt.netmask}
138 cmaui.mgmt.gateway=${cmaui.mgmt.gateway}
139 cmaui.external.dns=${cmaui.external.dns}
140 cmaui.external.ntp=${cmaui.external.ntp}
141 cmaui.node=${cmaui.node}
142 cmaui.timezone=${cmaui.timezone}
144 ${cmaui.mgmt.ip}: {get_param: [cmaui_oam_ips, 1]}
145 ${cmaui.mgmt.netmask}: {get_param: oam_network_netmask}
146 ${cmaui.mgmt.gateway}: {get_param: oam_network_gateway}
147 ${cmaui.external.dns}: {get_param: external_dns}
148 ${cmaui.external.ntp}: {get_param: external_ntp}
149 ${cmaui.node}: {get_param: [cmaui_names, 1]}
150 ${cmaui.timezone}: {get_param: timezone}
151 user_data_format: RAW
154 type: OS::Cinder::Volume
156 size: {get_param: cmaui_cinder_volume_size}
157 volume_type: {get_param: CMAUI_volume_type}
159 cmaui1_volume_attachment:
160 type: OS::Cinder::VolumeAttachment
162 volume_id: {get_resource: cmaui1_volume}
163 instance_uuid: {get_resource: server_cmaui1}
166 type: OS::Neutron::Port
168 network: { get_param: oam_net_name }
169 fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 1]}}]
170 security_groups: [{get_param: security_group_name}]
171 replacement_policy: AUTO
175 description: the pcrf_server
176 value: { get_resource: cmaui_volume }
178 description: the pcrf_server
179 value: { get_resource: cmaui1_volume }