1 heat_template_version: 2015-04-30
4 Software Config to drive os-net-config with 2 bonded nics on a bridge
5 with VLANs attached for the cinder storage role.
10 description: IP address/subnet on the ctlplane network
14 description: IP address/subnet on the external network
18 description: IP address/subnet on the internal API network
22 description: IP address/subnet on the storage network
26 description: IP address/subnet on the storage mgmt network
30 description: IP address/subnet on the tenant network
32 BondInterfaceOvsOptions:
34 description: The ovs_options string for the bond interface. Set things like
35 lacp=active and/or bond_mode=balance-slb using this option.
37 InternalApiNetworkVlanID:
39 description: Vlan ID for the internal_api network traffic.
43 description: Vlan ID for the storage network traffic.
45 StorageMgmtNetworkVlanID:
47 description: Vlan ID for the storage mgmt network traffic.
49 ControlPlaneSubnetCidr: # Override this via parameter_defaults
51 description: The subnet CIDR of the control plane network.
53 ControlPlaneDefaultRoute: # Override this via parameter_defaults
54 description: The default route of the control plane network.
56 DnsServers: # Override this via parameter_defaults
58 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
59 type: comma_delimited_list
60 EC2MetadataIp: # Override this via parameter_defaults
61 description: The IP address of the EC2 metadata server.
66 type: OS::Heat::StructuredConfig
68 group: os-apply-config
76 dns_servers: {get_param: DnsServers}
82 - - {get_param: ControlPlaneIp}
83 - {get_param: ControlPlaneSubnetCidr}
86 ip_netmask: 169.254.169.254/32
87 next_hop: {get_param: EC2MetadataIp}
90 next_hop: {get_param: ControlPlaneDefaultRoute}
98 ovs_options: {get_param: BondInterfaceOvsOptions}
110 vlan_id: {get_param: InternalApiNetworkVlanID}
113 ip_netmask: {get_param: InternalApiIpSubnet}
117 vlan_id: {get_param: StorageNetworkVlanID}
120 ip_netmask: {get_param: StorageIpSubnet}
124 vlan_id: {get_param: StorageMgmtNetworkVlanID}
127 ip_netmask: {get_param: StorageMgmtIpSubnet}
131 description: The OsNetConfigImpl resource.
132 value: {get_resource: OsNetConfigImpl}