1 heat_template_version: ocata
3 Software Config to drive os-net-config to configure VLANs for the ceph storage 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
35 description: Vlan ID for the storage network traffic.
37 StorageMgmtNetworkVlanID:
39 description: Vlan ID for the storage mgmt network traffic.
41 ManagementNetworkVlanID:
43 description: Vlan ID for the management network traffic.
45 ControlPlaneSubnetCidr: # Override this via parameter_defaults
47 description: The subnet CIDR of the control plane network.
49 ControlPlaneDefaultRoute: # Override this via parameter_defaults
50 description: The default route of the control plane network.
52 ExternalInterfaceDefaultRoute: # Not used by default in this template
54 description: The default route of the external network.
56 ManagementInterfaceDefaultRoute: # Commented out by default in this template
58 description: The default route of the management network.
60 DnsServers: # Override this via parameter_defaults
62 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
63 type: comma_delimited_list
64 EC2MetadataIp: # Override this via parameter_defaults
65 description: The IP address of the EC2 metadata server.
69 type: OS::Heat::SoftwareConfig
75 get_file: ../../scripts/run-os-net-config.sh
88 - - get_param: ControlPlaneIp
89 - get_param: ControlPlaneSubnetCidr
91 - ip_netmask: 169.254.169.254/32
93 get_param: EC2MetadataIp
96 get_param: ControlPlaneDefaultRoute
100 # force the MAC address of the bridge to this interface
104 get_param: StorageNetworkVlanID
107 get_param: StorageIpSubnet
110 get_param: StorageMgmtNetworkVlanID
113 get_param: StorageMgmtIpSubnet
114 # Uncomment when including environments/network-management.yaml
115 # If setting default route on the Management interface, comment
116 # out the default route on the Control Plane.
119 # vlan_id: {get_param: ManagementNetworkVlanID}
122 # ip_netmask: {get_param: ManagementIpSubnet}
126 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
129 description: The OsNetConfigImpl resource.
131 get_resource: OsNetConfigImpl