[openstack-dev] [Quantum] the consistency of return code of the remove action

Nachi Ueno nachi at nttmcl.com
Thu Oct 25 20:07:11 UTC 2012


Hi Salvatore

I have question about  the consistency of return code of the remove action.
So currently remove_router_interface returns 200.
It looks deletion of the interface , so it should be 204.

remove_router_interface returns string "null"
https://bugs.launchpad.net/quantum/+bug/1064727

I discussed with Dan about this.
His opinion is PUT always should return 200.  ( One another reason is
backward compatibility with Folsom version )
This is also make sense for me if all PUT method returns 200 if success.

How do you think about this spec?

Thanks
Nachi



More information about the OpenStack-dev mailing list