]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Enable resource usage tracking for reference plugins.
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 4 Jun 2015 22:43:35 +0000 (15:43 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 28 Jul 2015 18:55:04 +0000 (11:55 -0700)
commit0d7b5392ab05aa8842b42bbbe3adc19773925e67
tree6d8240528190cec05f9ccd3d6a78483dc3140a10
parentb39e1469e824bc8bc79e1ecafa98825a94811c0b
Enable resource usage tracking for reference plugins.

Specify which resources should be tracked when initializing
the ML2 and l3_router plugins. This will enable usage tracking
for the following resources:
- Networks
- Ports
- Subnets
- Subnet pools
- Security groups
- Security group rules
- Routers
- Floating IPs

Partially implements blueprint: bp/better-quotas

Change-Id: I57287b15ffdadc30297651a01e9f05110e9ce6b6
neutron/plugins/ml2/plugin.py
neutron/quota/resource.py
neutron/services/l3_router/l3_router_plugin.py
neutron/tests/unit/api/rpc/handlers/test_dhcp_rpc.py
neutron/tests/unit/extensions/test_securitygroup.py