1 heat_template_version: 2013-05-23
7 description: Availability zone where this component should be instantiated
10 description: Image to be used for the instance
13 description: Flavor of the VNF to be used
16 description: Security group 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: Fixed IP that will be used by the primary Management Interface
34 description: Fixed IP that will be used by the secondary Management Interface
37 description: Name of the HEAT stack
40 description: Id of the HEAT stack
43 description: Id of the HEAT project
46 description: Parameters to be passed to the VM at boot up as key-value pairs
49 description: The slot value assigned to the module eg A and B
52 description: MTU size in bytes
58 description: Name of the VNF
61 description: VNF Module ID
65 type: OS::Neutron::Port
67 network_id: { get_param: mgt_net_id }
68 security_groups: [ { get_param: security_group} ]
69 fixed_ips: [ { subnet_id: { get_param: mgt_subnet_id }, ip_address: { get_param: cpm_mgt_ip } } ]
70 allowed_address_pairs: [ { ip_address: { get_param: cpm_mgt_cidr } } ]
72 cpm_ctrl_fabric_0_port:
73 type: OS::Neutron::Port
75 network_id: { get_param: ctrl_fabric_net_id }
76 security_groups: [ { get_param: security_group} ]
77 fixed_ips: [ { subnet_id: { get_param: ctrl_fabric_subnet_id } } ]
80 - {opt_name: interface-mtu, opt_value: { get_param: cpm_mtu } }
83 type: OS::Nova::Server
84 depends_on: [ cpm_mgt_0_port, cpm_ctrl_fabric_0_port ]
86 name: { get_param: vm_name }
88 vnf_id: { get_param: vnf_id }
89 vf_module_id: { get_param: vf_module_id }
90 image: { get_param: cpm_image_name }
91 flavor: { get_param: cpm_flavor_name }
92 availability_zone: { get_param: availability_zone_0 }
94 user_data: { get_param: cpm_smbios }
95 user_data_format: "RAW"
97 - port: { get_resource: cpm_mgt_0_port }
98 - port: { get_resource: cpm_ctrl_fabric_0_port }