[openstack-dev] [nova] Do we need a microversion to return a 501 from GET os-virtual-interfaces?

Chris Dent cdent+os at anticdent.org
Sun Mar 6 18:47:44 UTC 2016


On Sat, 5 Mar 2016, Matt Riedemann wrote:

> A GET request from the os-virtual-interfaces API returns a 500 today if 
> neutron is the networking backend.
>
> It would be more accurate to return a 501, but do we need a microversion for 
> that?

Keep this in mind:
http://specs.openstack.org/openstack/api-wg/guidelines/http.html#use-of-501-not-implemented

501 isn't something api code should be intentionally generating.

400 or 404 is probably what you want.

-- 
Chris Dent               (¨s¡ã¡õ¡ã)¨s¦à©ß©¥©ß            http://anticdent.org/
freenode: cdent                                         tw: @anticdent


More information about the OpenStack-dev mailing list