]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add quota enforcement hook
authorKevin Benton <blak111@gmail.com>
Thu, 11 Jun 2015 14:06:20 +0000 (07:06 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Sat, 1 Aug 2015 18:56:42 +0000 (18:56 +0000)
commit7778a38e49b52f2f47f433f4f728d4c2372a715d
tree9867ac3c2abb1f55ab9172e34acd7573ef4c024c
parent99a0947aaab4bb832931a0cce02b0d152c0c0af8
Add quota enforcement hook

Add a quota enforcement hook so quotas are enforced before
they reach the controller. This spot may need to be revisited
in the future if we want quotas enforced on internal AMQP APIs.

Change-Id: Ia5a134d941df921e44a413613ea11b636f4b8515
Partially-Implements: blueprint wsgi-pecan-switch
neutron/newapi/app.py
neutron/newapi/hooks/__init__.py
neutron/newapi/hooks/quota_enforcement.py [new file with mode: 0644]
neutron/tests/functional/newapi/test_functional.py