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.
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 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
34 description: IP address/subnet on the management network
36 BondInterfaceOvsOptions:
38 description: The ovs_options string for the bond interface. Set things like
39 lacp=active and/or bond_mode=balance-slb using this option.
41 ExternalNetworkVlanID:
43 description: Vlan ID for the external network traffic.
45 InternalApiNetworkVlanID:
47 description: Vlan ID for the internal_api network traffic.
51 description: Vlan ID for the storage network traffic.
53 StorageMgmtNetworkVlanID:
55 description: Vlan ID for the storage mgmt network traffic.
59 description: Vlan ID for the tenant network traffic.
61 ManagementNetworkVlanID:
63 description: Vlan ID for the management network traffic.
65 ControlPlaneDefaultRoute: # Override this via parameter_defaults
66 description: The default route of the control plane network.
68 ExternalInterfaceDefaultRoute:
70 description: default route for the external network
72 ManagementInterfaceDefaultRoute: # Commented out by default in this template
74 description: The default route of the management network.
76 ControlPlaneSubnetCidr: # Override this via parameter_defaults
78 description: The subnet CIDR of the control plane network.
80 DnsServers: # Override this via parameter_defaults
82 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
83 type: comma_delimited_list
84 EC2MetadataIp: # Override this via parameter_defaults
85 description: The IP address of the EC2 metadata server.
91 type: OS::Heat::StructuredConfig
93 group: os-apply-config
106 - - {get_param: ControlPlaneIp}
107 - {get_param: ControlPlaneSubnetCidr}
110 ip_netmask: 169.254.169.254/32
111 next_hop: {get_param: EC2MetadataIp}
114 next_hop: {get_param: ControlPlaneDefaultRoute}
117 name: {get_input: bridge_name}
123 ovs_options: {get_param: BondInterfaceOvsOptions}
135 vlan_id: {get_param: InternalApiNetworkVlanID}
138 ip_netmask: {get_param: InternalApiIpSubnet}
142 vlan_id: {get_param: StorageNetworkVlanID}
145 ip_netmask: {get_param: StorageIpSubnet}
149 vlan_id: {get_param: StorageMgmtNetworkVlanID}
152 ip_netmask: {get_param: StorageMgmtIpSubnet}
156 vlan_id: {get_param: TenantNetworkVlanID}
159 ip_netmask: {get_param: TenantIpSubnet}
160 # Uncomment when including environments/network-management.yaml
161 # If setting default route on the Management interface, comment
162 # out the default route on the Control Plane.
166 # vlan_id: {get_param: ManagementNetworkVlanID}
169 # ip_netmask: {get_param: ManagementIpSubnet}
173 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
177 description: The OsNetConfigImpl resource.
178 value: {get_resource: OsNetConfigImpl}