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 controller role with IPv6 on the External
6 network. The IPv6 default route is on the External network, and the
7 IPv4 default route is on the Control Plane.
12 description: IP address/subnet on the ctlplane network
16 description: IP address/subnet on the external network
20 description: IP address/subnet on the internal API network
24 description: IP address/subnet on the storage network
28 description: IP address/subnet on the storage mgmt network
32 description: IP address/subnet on the tenant network
34 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
36 description: IP address/subnet on the management network
38 BondInterfaceOvsOptions:
39 default: 'bond_mode=active-backup'
40 description: The ovs_options string for the bond interface. Set things like
41 lacp=active and/or bond_mode=balance-slb using this option.
43 ExternalNetworkVlanID:
45 description: Vlan ID for the external network traffic.
47 InternalApiNetworkVlanID:
49 description: Vlan ID for the internal_api network traffic.
53 description: Vlan ID for the storage network traffic.
55 StorageMgmtNetworkVlanID:
57 description: Vlan ID for the storage mgmt network traffic.
61 description: Vlan ID for the tenant network traffic.
63 ManagementNetworkVlanID:
65 description: Vlan ID for the management network traffic.
67 ExternalInterfaceDefaultRoute:
69 description: default route for the external network
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 DnsServers: # Override this via parameter_defaults
80 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
81 type: comma_delimited_list
82 EC2MetadataIp: # Override this via parameter_defaults
83 description: The IP address of the EC2 metadata server.
88 type: OS::Heat::StructuredConfig
90 group: os-apply-config
103 - - {get_param: ControlPlaneIp}
104 - {get_param: ControlPlaneSubnetCidr}
107 ip_netmask: 169.254.169.254/32
108 next_hop: {get_param: EC2MetadataIp}
111 next_hop: {get_param: ControlPlaneDefaultRoute}
114 name: {get_input: bridge_name}
115 dns_servers: {get_param: DnsServers}
120 ovs_options: {get_param: BondInterfaceOvsOptions}
132 vlan_id: {get_param: ExternalNetworkVlanID}
135 ip_netmask: {get_param: ExternalIpSubnet}
139 next_hop: {get_param: ExternalInterfaceDefaultRoute}
143 vlan_id: {get_param: InternalApiNetworkVlanID}
146 ip_netmask: {get_param: InternalApiIpSubnet}
150 vlan_id: {get_param: StorageNetworkVlanID}
153 ip_netmask: {get_param: StorageIpSubnet}
157 vlan_id: {get_param: StorageMgmtNetworkVlanID}
160 ip_netmask: {get_param: StorageMgmtIpSubnet}
164 vlan_id: {get_param: TenantNetworkVlanID}
167 ip_netmask: {get_param: TenantIpSubnet}
168 # Uncomment when including environments/network-management.yaml
172 # vlan_id: {get_param: ManagementNetworkVlanID}
175 # ip_netmask: {get_param: ManagementIpSubnet}
179 description: The OsNetConfigImpl resource.
180 value: {get_resource: OsNetConfigImpl}