rackspace / php-opencloud

The PHP SDK for OpenStack clouds
developer.rackspace.com
Other
451 stars 250 forks source link

create subnet without gateway #670

Closed lxm closed 8 years ago

lxm commented 8 years ago

According to the api ref of openstakc,When we want to specify a subnet without a gateway, set the gateway_ip attribute to null in the request body. But the function createJson in PersistentResource will remove the null attribute. This will resolve the problem