1 heat_template_version: ocata
3 Software Config to drive os-net-config with 2 bonded nics on a bridge with VLANs attached for the controller role with IPv6
4 on the External network. The IPv6 default route is on the External network, and the IPv4 default route is on the Control
9 description: IP address/subnet on the ctlplane network
13 description: IP address/subnet on the external network
17 description: IP address/subnet on the internal API network
21 description: IP address/subnet on the storage network
25 description: IP address/subnet on the storage mgmt network
29 description: IP address/subnet on the tenant network
31 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
33 description: IP address/subnet on the management network
35 BondInterfaceOvsOptions:
36 default: bond_mode=active-backup
37 description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using
41 - allowed_pattern: ^((?!balance.tcp).)*$
42 description: 'The balance-tcp bond mode is known to cause packet loss and
44 should not be used in BondInterfaceOvsOptions.
47 ExternalNetworkVlanID:
49 description: Vlan ID for the external network traffic.
51 InternalApiNetworkVlanID:
53 description: Vlan ID for the internal_api network traffic.
57 description: Vlan ID for the storage network traffic.
59 StorageMgmtNetworkVlanID:
61 description: Vlan ID for the storage mgmt network traffic.
65 description: Vlan ID for the tenant network traffic.
67 ManagementNetworkVlanID:
69 description: Vlan ID for the management network traffic.
71 ControlPlaneSubnetCidr: # Override this via parameter_defaults
73 description: The subnet CIDR of the control plane network.
75 ControlPlaneDefaultRoute: # Override this via parameter_defaults
76 description: The default route of the control plane network.
78 ExternalInterfaceDefaultRoute:
80 description: default route for the external network
82 ManagementInterfaceDefaultRoute: # Commented out by default in this template
84 description: The default route of the management network.
86 DnsServers: # Override this via parameter_defaults
88 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
89 type: comma_delimited_list
90 EC2MetadataIp: # Override this via parameter_defaults
91 description: The IP address of the EC2 metadata server.
95 type: OS::Heat::SoftwareConfig
101 get_file: ../../scripts/run-os-net-config.sh
112 - - get_param: ControlPlaneIp
113 - get_param: ControlPlaneSubnetCidr
115 - ip_netmask: 169.254.169.254/32
117 get_param: EC2MetadataIp
120 get_param: ControlPlaneDefaultRoute
124 get_param: DnsServers
129 get_param: BondInterfaceOvsOptions
139 get_param: ExternalNetworkVlanID
142 get_param: ExternalIpSubnet
146 get_param: ExternalInterfaceDefaultRoute
150 get_param: InternalApiNetworkVlanID
153 get_param: InternalApiIpSubnet
157 get_param: StorageNetworkVlanID
160 get_param: StorageIpSubnet
164 get_param: StorageMgmtNetworkVlanID
167 get_param: StorageMgmtIpSubnet
171 get_param: TenantNetworkVlanID
174 get_param: TenantIpSubnet
175 # Uncomment when including environments/network-management.yaml
176 # If setting default route on the Management interface, comment
177 # out the default route on the External interface. This will
178 # make the External API unreachable from remote subnets.
182 # vlan_id: {get_param: ManagementNetworkVlanID}
185 # ip_netmask: {get_param: ManagementIpSubnet}
189 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
192 description: The OsNetConfigImpl resource.
194 get_resource: OsNetConfigImpl