Re: [openstack-dev] [Neutron]: partially update over REST APIs

2015-04-07 Thread Salvatore Orlando
Neutron PUT operations currently fulfil PATCH semantics in most cases. If you omit an attribute in a PUT request its value will stay unchanged. This behaviour, even if not strictly correct, will not change until a strategy for evolving the API is implemented. Salvatore On 7 April 2015 at 02:06,

Re: [openstack-dev] [Neutron]: partially update over REST APIs

2015-04-07 Thread Yi Yang
Hi Salvatore, Thanks for your quick response. In that case, how to remove a property? set it as None in the update? Yi On 4/7/15 7:28 AM, Salvatore Orlando wrote: Neutron PUT operations currently fulfil PATCH semantics in most cases. If you omit an attribute in a PUT request its value will

[openstack-dev] [Neutron]: partially update over REST APIs

2015-04-06 Thread Yi Yang
Does neutron support partially update over REST APIs (PUT method)? In other words, if an property is NOT included in the update, will be property be removed, or just kept as its existing value? Yi __ OpenStack