On 3/6/2016 12:47 PM, Chris Dent wrote: > 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. > > > > __________________________________________________________________________ > 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 > Thanks, good point. I think 400 would be best here. And according to our handy-dandy docs [1] it should be OK to do this without a microversion. [1] http://docs.openstack.org/developer/nova/api_microversion_dev.html#when-do-i-need-a-new-microversion -- Thanks, Matt Riedemann