... If the parameter for the gateway address, gateway_ip is not specified, then Quantum will allocate an address from the subnet's cidr for the subnet's gateway. In order to specify a subnet without a gateway, users should specify the value null for the gateway_ip attribute in the request body. ...
So to answer your question:
- user specifies no gateway_ip: The subnet **will** have a gateway ip chose by Neutron.
- user specifies 'null' for gateway_ip: The subnet will **not** have a gateway ip.
Well like i said and according the specification from here : https:/ /wiki.openstack .org/wiki/ Neutron/ APIv2-specifica tion and i quote:
... If the parameter for the gateway address, gateway_ip is not specified, then Quantum will allocate an address from the subnet's cidr for the subnet's gateway. In order to specify a subnet without a gateway, users should specify the value null for the gateway_ip attribute in the request body. ...
So to answer your question:
- user specifies no gateway_ip: The subnet **will** have a gateway ip chose by Neutron.
- user specifies 'null' for gateway_ip: The subnet will **not** have a gateway ip.
Cheers,