1 heat_template_version: pike
3 Software Config to drive os-net-config to configure VLANs 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 InternalApiNetworkVlanID:
35 description: Vlan ID for the internal_api network traffic.
39 description: Vlan ID for the storage network traffic.
41 StorageMgmtNetworkVlanID:
43 description: Vlan ID for the storage mgmt network traffic.
47 description: Vlan ID for the tenant network traffic.
49 ManagementNetworkVlanID:
51 description: Vlan ID for the management network traffic.
53 ControlPlaneSubnetCidr: # Override this via parameter_defaults
55 description: The subnet CIDR of the control plane network.
57 ControlPlaneDefaultRoute: # Override this via parameter_defaults
58 description: The default route of the control plane network.
60 ExternalInterfaceDefaultRoute: # Not used by default in this template
62 description: The default route of the external network.
64 ManagementInterfaceDefaultRoute: # Commented out by default in this template
66 description: The default route of the management network.
68 DnsServers: # Override this via parameter_defaults
70 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
71 type: comma_delimited_list
72 EC2MetadataIp: # Override this via parameter_defaults
73 description: The IP address of the EC2 metadata server.
77 type: OS::Heat::SoftwareConfig
83 get_file: ../../scripts/run-os-net-config.sh
96 - - get_param: ControlPlaneIp
97 - get_param: ControlPlaneSubnetCidr
99 - ip_netmask: 169.254.169.254/32
101 get_param: EC2MetadataIp
104 get_param: ControlPlaneDefaultRoute
108 # force the MAC address of the bridge to this interface
112 get_param: InternalApiNetworkVlanID
115 get_param: InternalApiIpSubnet
118 get_param: StorageNetworkVlanID
121 get_param: StorageIpSubnet
122 # Uncomment when including environments/hyperconverged-ceph.yaml
124 # vlan_id: {get_param: StorageMgmtNetworkVlanID}
126 # - ip_netmask: {get_param: StorageMgmtIpSubnet}
129 get_param: TenantNetworkVlanID
132 get_param: TenantIpSubnet
133 # Uncomment when including environments/network-management.yaml
134 # If setting default route on the Management interface, comment
135 # out the default route on the Control Plane.
137 # vlan_id: {get_param: ManagementNetworkVlanID}
139 # - ip_netmask: {get_param: ManagementIpSubnet}
142 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
145 description: The OsNetConfigImpl resource.
147 get_resource: OsNetConfigImpl