[openstack-dev] [nova] placement/resource providers update 4

Sylvain Bauza sbauza at redhat.com
Tue Dec 6 22:28:34 UTC 2016



Le 06/12/2016 22:02, Ed Leafe a écrit :
> On Dec 6, 2016, at 2:42 PM, Jay Pipes <jaypipes at gmail.com> wrote:
> 
>> Oh, absolutely, I wasn't arguing about length of URI or anything.
>>
>> To be clear, I could either go the above route or even do a POST /resource_providers that returns a list of resource providers instead of creating a resource provider. Don't mind either way.
>>
>> But, we should definitely agree on which this is going to be ASAP.
> 
> http://specs.openstack.org/openstack/api-wg/guidelines/uri.html#complex-queries
> 
> There is no compelling reason that anyone has put forth for using POST; they all seem to boil down to “I prefer it”, without any good technical reasoning behind it. Since this is new development, we should be good OpenStack citizens and ensure that our APIs are consistent with the rest of OpenStack.
> 
> 

Just to be clear, there was a consensus between Matt, Laski, Dan and I
having a POST method instead of having a GET one.

I provided a POST method for a new resource called "claim" but okay, I
can try to modify my change using POST /resource_provider returning a 200.

-Sylvain

> -- Ed Leafe
> 
> 
> 
> 
> 
> 
> __________________________________________________________________________
> 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
> 



More information about the OpenStack-dev mailing list