-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
5
-
False
-
-
False
-
?
-
rhos-ops-day1day2-edpm
-
None
-
-
-
-
EDPM Sprint 20
-
1
-
Moderate
In neutron, 'auto' is the default value for the Gateway IP when creating a subnet.
Not setting the gateway_ip is equivalent to setting 'auto'. However, setting 'auto' leads to Heat refusing the value as invalid for a gateway.
This is a problem when you want to create a gateway or not depending on a conditional:
{{my_subnet: type: OS::Neutron::Subnet cidr:
{ get_param: cidr }network_id:
{ get_resource: my_network }gateway_ip:
{ if: [ want_gw, 'auto', null ] }}}
It would be nice if Heat accepted 'auto' which is a valid value for neutron.