neutron/neutron/tests/unit/db
Salvatore Orlando 24b482ac15 Scope get_tenant_quotas by tenant_id
Using model_query in the operation for retrieving tenant limits
will spare the need for explicit authorization check in the
quota controller. This is particularly relevant for the pecan
framework where every Neutron API call undergoes authZ checks
in the same pecan hook.

This patch will automatically adapt by eventuals changes
introducing "un-scoped" contexts.

Closes-bug: #1505406

Change-Id: I6952f5c85cd7fb0263789f768d23de3fe80b8183
2016-01-13 14:56:18 +00:00
..
metering COMMON_PREFIXES cleanup - patch 1/5 2015-07-02 17:05:27 -07:00
quota Scope get_tenant_quotas by tenant_id 2016-01-13 14:56:18 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agents_db.py Add periodic agents health check. 2015-10-01 09:21:54 +00:00
test_agentschedulers_db.py Remove duplicate for check_ports_exist_on_l3agent 2016-01-11 18:36:38 +03:00
test_allowedaddresspairs_db.py Unify assertEqual for empty usages 2016-01-07 10:06:35 +00:00
test_db_base_plugin_common.py Replace to_dict() calls with a function decorator 2015-08-03 11:42:25 +03:00
test_db_base_plugin_v2.py Mitigate restriction for fixed ips per dhcp port 2015-12-31 17:01:00 +07:00
test_dvr_mac_db.py Remove unused delete_dvr_mac_address method 2015-11-16 15:56:47 -05:00
test_ipam_backend_mixin.py DB, IPAM & RPC changes for IPv6 Prefix Delegation 2015-08-05 12:22:22 +01:00
test_ipam_non_pluggable_backend.py Move tests for non pluggable ipam backend 2015-08-19 13:09:02 +03:00
test_ipam_pluggable_backend.py Add new config option for IPv6 Prefix Delegation 2015-11-06 16:35:02 +00:00
test_l3_db.py Add address scope to floating IPs in RPC response to L3 agent 2015-12-23 10:16:15 -07:00
test_l3_dvr_db.py Merge "Remove duplicate for check_ports_exist_on_l3agent" 2016-01-12 14:10:08 +00:00
test_l3_hamode_db.py Merge "Don't call add_ha_port inside a transaction" 2016-01-12 08:37:07 +00:00
test_migration.py neutron-db-manage: expose alembic 'heads' command 2015-11-20 17:39:11 +01:00
test_securitygroups_db.py Fix callback registry notification for security group rule 2015-06-22 17:19:44 +03:00