1 heat_template_version: ocata
3 Software Config to drive os-net-config to configure multiple interfaces for the
4 compute role with external bridge for DVR.
8 description: IP address/subnet on the ctlplane network
12 description: IP address/subnet on the external network
16 description: IP address/subnet on the internal API network
20 description: IP address/subnet on the storage network
24 description: IP address/subnet on the storage mgmt network
28 description: IP address/subnet on the tenant network
30 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
32 description: IP address/subnet on the management network
34 ExternalNetworkVlanID:
36 description: Vlan ID for the external network traffic.
38 InternalApiNetworkVlanID:
40 description: Vlan ID for the internal_api network traffic.
44 description: Vlan ID for the storage network traffic.
46 StorageMgmtNetworkVlanID:
48 description: Vlan ID for the storage mgmt network traffic.
52 description: Vlan ID for the tenant network traffic.
54 ManagementNetworkVlanID:
56 description: Vlan ID for the management network traffic.
58 ControlPlaneSubnetCidr: # Override this via parameter_defaults
60 description: The subnet CIDR of the control plane network.
62 ControlPlaneDefaultRoute: # Override this via parameter_defaults
63 description: The default route of the control plane network.
65 ExternalInterfaceDefaultRoute: # Not used by default in this template
67 description: The default route of the external network.
69 ManagementInterfaceDefaultRoute: # Commented out by default in this template
71 description: The default route of the management network.
73 DnsServers: # Override this via parameter_defaults
75 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
76 type: comma_delimited_list
77 EC2MetadataIp: # Override this via parameter_defaults
78 description: The IP address of the EC2 metadata server.
82 type: OS::Heat::SoftwareConfig
88 get_file: ../../scripts/run-os-net-config.sh
101 - - get_param: ControlPlaneIp
102 - get_param: ControlPlaneSubnetCidr
104 - ip_netmask: 169.254.169.254/32
106 get_param: EC2MetadataIp
109 get_param: ControlPlaneDefaultRoute
115 get_param: StorageIpSubnet
121 get_param: InternalApiIpSubnet
127 get_param: TenantIpSubnet
133 # External bridge for DVR (no IP address required)
137 get_param: DnsServers
143 # Uncomment when including environments/network-management.yaml
144 # If setting default route on the Management interface, comment
145 # out the default route on the Control Plane.
152 # ip_netmask: {get_param: ManagementIpSubnet}
156 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
159 description: The OsNetConfigImpl resource.
161 get_resource: OsNetConfigImpl