
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
# -- Welcome! You have come across a cloud computing network fabric controller. It has identified itself as "Quantum." It aims to tame your (cloud) networking! # -- External Resources: The homepage for Quantum is: http://launchpad.net/quantum . Use this site for asking for help, and filing bugs. Code is available on github at <http://github.com/openstack/quantum>. The latest and most in-depth documentation on how to use Quantum is available at: <http://docs.openstack.org>. This includes: Quantum Administrator Guide http://docs.openstack.org/trunk/openstack-network/admin/content/ Quantum API Reference: http://docs.openstack.org/api/openstack-network/2.0/content/ The start of some developer documentation is available at: http://wiki.openstack.org/QuantumDevelopment For help using or hacking on Quantum, you can send mail to <mailto:openstack-dev@lists.openstack.org>.
Description
Languages
Python
98.5%
Shell
1.5%