1 heat_template_version: pike
4 Software Config to drive os-net-config for a simple bridge configured
5 with a static IP address for the ctlplane network.
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
34 description: IP address/subnet on the management network
36 ControlPlaneSubnetCidr: # Override this via parameter_defaults
38 description: The subnet CIDR of the control plane network.
43 type: OS::Heat::SoftwareConfig
50 if ! ip addr show dev $bridge_name | grep CONTROLPLANEIP/CONTROLPLANESUBNETCIDR; then
51 ip addr add CONTROLPLANEIP/CONTROLPLANESUBNETCIDR dev $bridge_name
54 CONTROLPLANEIP: {get_param: ControlPlaneIp}
55 CONTROLPLANESUBNETCIDR: {get_param: ControlPlaneSubnetCidr}
60 description: bridge-name
65 description: The OsNetConfigImpl resource.
66 value: {get_resource: OsNetConfigImpl}