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

Yi Yang yyos1999 at gmail.com
Tue Apr 7 13:16:48 UTC 2015


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 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, Yi Yang <yyos1999 at gmail.com 
> <mailto:yyos1999 at gmail.com>> wrote:
>
>     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 Development Mailing List (not for usage questions)
>     Unsubscribe:
>     OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>     <http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150407/ffe6e819/attachment.html>


More information about the OpenStack-dev mailing list