1 heat_template_version: ocata
4 Software Config to drive os-net-config to configure multiple interfaces
5 for the compute role. This is an example for a Nova compute node using
6 Contrail vrouter and the vhost0 interface.
11 description: IP address/subnet on the ctlplane network
15 description: IP address/subnet on the external network
19 description: IP address/subnet on the internal API network
21 InternalApiDefaultRoute: # Not used by default in this template
23 description: The default route of the internal api network.
27 description: IP address/subnet on the storage network
31 description: IP address/subnet on the storage mgmt network
35 description: IP address/subnet on the tenant network
37 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
39 description: IP address/subnet on the management network
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 ControlPlaneSubnetCidr: # Override this via parameter_defaults
67 description: The subnet CIDR of the control plane network.
69 ControlPlaneDefaultRoute: # Override this via parameter_defaults
70 description: The default route of the control plane network.
72 ExternalInterfaceDefaultRoute: # Not used by default in this template
74 description: The default route of the external network.
76 ManagementInterfaceDefaultRoute: # Commented out by default in this template
78 description: The default route of the management 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.
90 type: OS::Heat::SoftwareConfig
96 get_file: ../../scripts/run-os-net-config.sh
104 get_param: DnsServers
109 - - get_param: ControlPlaneIp
110 - get_param: ControlPlaneSubnetCidr
112 - ip_netmask: 169.254.169.254/32
114 get_param: EC2MetadataIp
123 get_param: InternalApiIpSubnet
127 get_param: InternalApiDefaultRoute
136 get_param: ManagementNetworkVlanID
140 get_param: ManagementIpSubnet
143 get_param: ExternalNetworkVlanID
147 get_param: ExternalIpSubnet
150 get_param: StorageNetworkVlanID
154 get_param: StorageIpSubnet
157 get_param: StorageMgmtNetworkVlanID
161 get_param: StorageMgmtIpSubnet
165 description: The OsNetConfigImpl resource.
167 get_resource: OsNetConfigImpl