1 heat_template_version: 2013-05-23
3 #################################
5 # Changes from MSO 01/26/2016
6 # Updated per ECOMP 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
71 label: CMAUI server name
72 description: the name of the cmaui server
77 type: OS::Neutron::Port
79 network: { get_param: oam_net_name }
80 fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
81 security_groups: [{get_param: security_group_name}]
82 replacement_policy: AUTO
85 type: OS::Cinder::Volume
87 size: {get_param: cmaui_cinder_volume_size}
88 volume_type: {get_param: CMAUI_volume_type}
90 cmaui_volume_attachment:
91 type: OS::Cinder::VolumeAttachment
93 volume_id: {get_resource: cmaui_volume}
94 instance_uuid: {get_resource: server_cmaui}
96 cmaui_volume_attachment_empty_nova:
97 type: OS::Cinder::VolumeAttachment
99 volume_id: {get_resource: cmaui_volume}
100 instance_uuid: {get_param: server_cmaui}
103 type: OS::Nova::Server
105 name: { get_param: [cmaui_names, 0]}
106 image: { get_param: cmaui_image }
107 availability_zone: { get_param: availability_zone_0 }
108 flavor: { get_param: cmaui_flavor }
110 - port: { get_resource: cmaui_port_0 }
112 vnf_id: { get_param: vnf_id }
116 cmaui.mgmt.ip=${cmaui.mgmt.ip}
117 cmaui.mgmt.netmask=${cmaui.mgmt.netmask}
118 cmaui.mgmt.gateway=${cmaui.mgmt.gateway}
119 cmaui.external.dns=${cmaui.external.dns}
120 cmaui.external.ntp=${cmaui.external.ntp}
121 cmaui.node=${cmaui.node}
122 cmaui.timezone=${cmaui.timezone}
124 ${cmaui.mgmt.ip}: {get_param: [cmaui_oam_ips, 0]}
125 ${cmaui.mgmt.netmask}: {get_param: oam_network_netmask}
126 ${cmaui.mgmt.gateway}: {get_param: oam_network_gateway}
127 ${cmaui.external.dns}: {get_param: external_dns}
128 ${cmaui.external.ntp}: {get_param: external_ntp}
129 ${cmaui.node}: {get_param: [cmaui_names, 0]}
130 ${cmaui.timezone}: {get_param: timezone}
131 user_data_format: RAW