1 heat_template_version: 2013-05-23
7 description: Name of the HEAT stack
10 description: Availability zone where this component should be instantiated
13 description: Image to be used for the instance
16 description: Flavor of the VNF to be used
19 description: Network used by the Management interface
22 description: Subnet used by the Management interface
25 description: Network used by the Control Fabric interface
26 ctrl_fabric_subnet_id:
28 description: Subnet used by the Control Fabric interface
31 description: Network used by the Data interface
34 description: Subnet used by the Data interface
37 description: Network used by the second Data interface
40 description: Subnet used by the second Data interface
43 description: Network used by the third Data interface
46 description: Subnet used by the third Data interface
49 description: Network used by the fourth Data interface
52 description: Subnet used by the fourth Data interface
55 description: Security group to be used
58 description: Parameters to be passed to the VM at boot up as key-value pairs
61 description: The slot value assigned to the module eg 1, 2, 3, etc
64 description: MTU size in bytes
70 description: Name of the VM
73 description: VNF Module ID
77 type: OS::Neutron::Port
79 network_id: { get_param: mgt_net_id }
80 security_groups: [ { get_param: security_group} ]
81 fixed_ips: [ { subnet_id: { get_param: mgt_subnet_id } } ]
83 iom_ctrl_fabric_0_port:
84 type: OS::Neutron::Port
86 network_id: { get_param: ctrl_fabric_net_id }
87 security_groups: [ { get_param: security_group} ]
88 fixed_ips: [ { subnet_id: { get_param: ctrl_fabric_subnet_id } } ]
91 - {opt_name: interface-mtu, opt_value: { get_param: iom_mtu } }
94 type: OS::Neutron::Port
96 network_id: { get_param: data0_net_id }
97 security_groups: [ { get_param: security_group} ]
98 binding:vnic_type: "direct"
101 - {opt_name: interface-mtu, opt_value: { get_param: iom_mtu } }
104 type: OS::Neutron::Port
106 network_id: { get_param: data1_net_id }
107 security_groups: [ { get_param: security_group} ]
108 binding:vnic_type: "direct"
111 - {opt_name: interface-mtu, opt_value: { get_param: iom_mtu } }
114 type: OS::Neutron::Port
116 network_id: { get_param: data2_net_id }
117 security_groups: [ { get_param: security_group} ]
118 binding:vnic_type: "direct"
121 - {opt_name: interface-mtu, opt_value: { get_param: iom_mtu } }
124 type: OS::Neutron::Port
126 network_id: { get_param: data3_net_id }
127 security_groups: [ { get_param: security_group} ]
128 binding:vnic_type: "direct"
131 - {opt_name: interface-mtu, opt_value: { get_param: iom_mtu } }
134 type: OS::Nova::Server
135 depends_on: [ iom_mgt_0_port, iom_ctrl_fabric_0_port, iom_data_0_port, iom_data_1_port, iom_data_2_port, iom_data_3_port ]
137 name: { get_param: vm_name }
139 vnf_id: { get_param: vnf_id }
140 vf_module_id: { get_param: vf_module_id }
141 image: { get_param: iom_image_name }
142 flavor: { get_param: iom_flavor_name }
143 availability_zone: { get_param: availability_zone_0 }
145 user_data: { get_param: iom_smbios }
146 user_data_format: { get_param: 'OS::stack_id' }
148 - port: { get_resource: iom_mgt_0_port }
149 - port: { get_resource: iom_ctrl_fabric_0_port }
150 - port: { get_resource: iom_data_0_port }
151 - port: { get_resource: iom_data_1_port }
152 - port: { get_resource: iom_data_2_port }
153 - port: { get_resource: iom_data_3_port }