vmware-nsx/quantum/common
He Jie Xu e1bd5149c3 Wrap quota controller with resource.Resource
Fixes bug 1116137

Currently the format of error message returned by quota extension was
different with quantum other resource. Other resource will return as
json(eg, '{"QuantumError": "error message"}'). But quota extension only
return messages without any format.
'quantum.api.v2.resource.Resource' provider error messages processing.
So wrap quota controller with it.

By the way, fix some small stuff:
* Use specific exception 'QuotaTenantNotFound' instead of generic exception.
* Correct error message.
* Use attribute mapping checking the request body.

Change-Id: I71261198aa79e9ed8e0ae672de32552abdbf45c1
2013-03-08 16:26:53 +08:00
..
__init__.py Remove dependency on python-quantumclient 2012-04-23 18:42:08 -07:00
config.py Limit amount of fixed ips per port 2013-02-26 16:26:34 +00:00
constants.py NEC plugin support for dhcp network and router scheduling 2013-03-02 19:39:28 +09:00
exceptions.py Wrap quota controller with resource.Resource 2013-03-08 16:26:53 +08:00
rpc.py Fixes import order nits 2012-12-03 10:11:08 +08:00
test_lib.py Logging module cleanup 2013-01-03 16:20:56 +08:00
topics.py LBaaS Agent Reference Implementation 2013-02-27 21:49:57 -05:00
utils.py Add scheduling feature basing on agent management extension 2013-02-27 21:20:51 +08:00