The reason for response status being 201 for create and 204 for delete is by the action_status dictionary in resource.py. The action for a "quantum router_interface_delete" command is "remove_router_interface". So adding a new definition to the action_status dictionary will allow router_interface_action to have a status of 204.
The reason for response status being 201 for create and 204 for delete is by the action_status dictionary in resource.py. The action for a "quantum router_ interface_ delete" command is "remove_ router_ interface" . So adding a new definition to the action_status dictionary will allow router_ interface_ action to have a status of 204.
This is what I mean:
git diff origin/master quantum/ api/v2/ resource. py api/v2/ resource. py b/quantum/ api/v2/ resource. py api/v2/ resource. py api/v2/ resource. py controller, faults=None, deserializers=None, serializers=None):
'application/ json': wsgi.JSONDictSe rializer( )}
'json': 'application/json'} router_ interface= 204)
diff --git a/quantum/
index 97fc8a8..c9931b9 100644
--- a/quantum/
+++ b/quantum/
@@ -46,7 +46,7 @@ def Resource(
format_types = {'xml': 'application/xml',
- action_status = dict(create=201, delete=204)
+ action_status = dict(create=201, delete=204, remove_
default_ deserializers. update( deserializers or {}) serializers. update( serializers or {})
default_