1 heat_template_version: '2016-10-14'
3 Software Config to drive os-net-config with 2 bonded nics on a bridge with VLANs attached for the compute role.
7 description: IP address/subnet on the ctlplane network
11 description: IP address/subnet on the external network
15 description: IP address/subnet on the internal API network
19 description: IP address/subnet on the storage network
23 description: IP address/subnet on the storage mgmt network
27 description: IP address/subnet on the tenant network
29 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
31 description: IP address/subnet on the management network
33 BondInterfaceOvsOptions:
35 description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using
38 ExternalNetworkVlanID:
40 description: Vlan ID for the external network traffic.
42 InternalApiNetworkVlanID:
44 description: Vlan ID for the internal_api network traffic.
48 description: Vlan ID for the storage network traffic.
50 StorageMgmtNetworkVlanID:
52 description: Vlan ID for the storage mgmt network traffic.
56 description: Vlan ID for the tenant network traffic.
58 ManagementNetworkVlanID:
60 description: Vlan ID for the management network traffic.
62 ControlPlaneSubnetCidr: # Override this via parameter_defaults
64 description: The subnet CIDR of the control plane network.
66 ControlPlaneDefaultRoute: # Override this via parameter_defaults
67 description: The default route of the control plane network.
69 ExternalInterfaceDefaultRoute: # Not used by default in this template
71 description: The default route of the external network.
73 ManagementInterfaceDefaultRoute: # Commented out by default in this template
75 description: The default route of the management network.
77 DnsServers: # Override this via parameter_defaults
79 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
80 type: comma_delimited_list
81 EC2MetadataIp: # Override this via parameter_defaults
82 description: The IP address of the EC2 metadata server.
86 type: OS::Heat::SoftwareConfig
92 get_file: ../../scripts/run-os-net-config.sh
100 get_param: DnsServers
105 - - get_param: ControlPlaneIp
106 - get_param: ControlPlaneSubnetCidr
108 - ip_netmask: 169.254.169.254/32
110 get_param: EC2MetadataIp
113 get_param: ControlPlaneDefaultRoute
120 get_param: BondInterfaceOvsOptions
130 get_param: InternalApiNetworkVlanID
133 get_param: InternalApiIpSubnet
137 get_param: StorageNetworkVlanID
140 get_param: StorageIpSubnet
144 get_param: TenantNetworkVlanID
147 get_param: TenantIpSubnet
148 # Uncomment when including environments/network-management.yaml
149 # If setting default route on the Management interface, comment
150 # out the default route on the Control Plane.
154 # vlan_id: {get_param: ManagementNetworkVlanID}
157 # ip_netmask: {get_param: ManagementIpSubnet}
161 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
162 - type: ovs_user_bridge
165 - type: ovs_dpdk_bond
168 - type: ovs_dpdk_port
173 - type: ovs_dpdk_port
180 description: The OsNetConfigImpl resource.
182 get_resource: OsNetConfigImpl