1 heat_template_version: 2013-05-23
4 Metaswitch MVS (Metaview Server)
9 description: The cloud zone for this VF instance
12 description: The VF Name; defaults to VMVM for the virtual MVM VNF.
14 - allowed_pattern: "[a-zA-Z0-9]+"
15 - length: { min: 4, max: 4 }
16 description: Each VF will have a 4-character alphanumeric identifier
19 description: The number for this VF instance
21 - allowed_pattern: "[0-9]+"
22 - length: { min: 2, max: 2 }
23 description: VF instance number must be a two-digit numeric value
26 description: The component that this VF instance is running
28 - allowed_pattern: "[a-zA-Z0-9]+"
29 - length: { min: 3, max: 3 }
30 description: Each VF component will have a 3-character alphanumeric identifier
32 type: comma_delimited_list
33 description: VM instance number list must be a list of three-digit numeric value
36 description: Unique ID for this VF instance
39 description: Unique ID for this VF_MODULE instance
42 description: Master bootimage volume id
45 description: Server flavor
47 - custom_constraint: nova.flavor
50 description: SSH key name
52 - custom_constraint: nova.keypair
55 type: comma_delimited_list
56 description: List of Availability Zone IDs or Names
59 type: comma_delimited_list
60 description: Security groups
63 description: Neutron UUID for the Management network
65 - custom_constraint: neutron.network
68 description: Virtual management network ip address
71 type: comma_delimited_list
72 description: List of Management network IP addresses for IPv4
76 description: Index of the current instance
80 type: OS::Neutron::Port
84 template: Z$CLOUD_ZONE_ID$VF_NAME$VF_INSTANCE_NUM$VF_COMPONENT$VM_INSTANCE_NUM-mgmt-port
86 $CLOUD_ZONE_ID: { get_param: cloud_zone_id }
87 $VF_NAME: { get_param: vf_name }
88 $VF_INSTANCE_NUM: { get_param: vf_instance_num }
89 $VF_COMPONENT: { get_param: vf_component }
90 $VM_INSTANCE_NUM: { "Fn::Select" : [ { get_param: indx }, { get_param: [vm_instance_num] } ] }
91 network_id: { get_param: mgmt_net_id }
92 security_groups: [{ get_param: sec_groups }]
95 - ip_address: { "Fn::Select" : [ { get_param: indx }, { get_param: [{ get_param: mvs_mgmt_ip_0 }] } ] }
97 allowed_address_pairs:
98 - ip_address: { get_param: virtual_mgmt_ip_0 }
101 type: OS::Cinder::Volume
106 template: Z$CLOUD_ZONE_ID$VF_NAME$VF_INSTANCE_NUM$VF_COMPONENT$VM_INSTANCE_NUM-boot-volume
108 $CLOUD_ZONE_ID: { get_param: cloud_zone_id }
109 $VF_NAME: { get_param: vf_name }
110 $VF_INSTANCE_NUM: { get_param: vf_instance_num }
111 $VF_COMPONENT: { get_param: vf_component }
112 $VM_INSTANCE_NUM: { "Fn::Select" : [ { get_param: indx }, { get_param: [vm_instance_num] } ] }
114 image: { get_param: bootimage }
117 availability_zone: { "Fn::Select" : [ { get_param: indx }, { get_param: [availability_zone_0] } ] }
121 type: OS::Cinder::Volume
126 template: Z$CLOUD_ZONE_ID$VF_NAME$VF_INSTANCE_NUM$VF_COMPONENT$VM_INSTANCE_NUM-data-volume
128 $CLOUD_ZONE_ID: { get_param: cloud_zone_id }
129 $VF_NAME: { get_param: vf_name }
130 $VF_INSTANCE_NUM: { get_param: vf_instance_num }
131 $VF_COMPONENT: { get_param: vf_component }
132 $VM_INSTANCE_NUM: { "Fn::Select" : [ { get_param: indx }, { get_param: [vm_instance_num] } ] }
134 availability_zone: { "Fn::Select" : [ { get_param: indx }, { get_param: [availability_zone_0] } ] }
138 type: OS::Nova::Server
142 template: Z$CLOUD_ZONE_ID$VF_NAME$VF_INSTANCE_NUM$VF_COMPONENT$VM_INSTANCE_NUM
144 $CLOUD_ZONE_ID: { get_param: cloud_zone_id }
145 $VF_NAME: { get_param: vf_name }
146 $VF_INSTANCE_NUM: { get_param: vf_instance_num }
147 $VF_COMPONENT: { get_param: vf_component }
148 $VM_INSTANCE_NUM: { "Fn::Select" : [ { get_param: indx }, { get_param: [vm_instance_num] } ] }
149 block_device_mapping:
151 volume_id: { get_resource: boot_volume }
152 delete_on_termination: false
154 volume_id: { get_resource: data_volume }
155 delete_on_termination: false
156 flavor: { get_param: flavor }
157 key_name: { get_param: key_name }
159 - port: { get_resource: mgmt_port }
161 availability_zone: { "Fn::Select" : [ { get_param: indx }, { get_param: [availability_zone_0] } ] }
164 vnf_id: { get_param: vnf_id }
165 vf_module_id: { get_param: vf_module_id }