Comment 0 for bug 1146586

Revision history for this message
Alex Xu (xuhj) wrote : Return 403 for not implemented action

We haven't conistent return code for non-implemented action.

QuotaSetsController.create returns 500
AgentPluginBase.create_agent returns 404
ExtensionController.delete/create return 404
NetworkSchedulerController.update/show return 500
RouterSchedulerController.update/show return 500
DhcpAgentsHostingNetworkController.create/delete/update/show return 500
L3AgentsHostingRouterController.create/delete/update/show return 500

As discusstion at https://review.openstack.org/#/c/23406/5/quantum/extensions/quotasv2.py

We prefer use 403 for this case