neutron/neutron
Salvatore Orlando 70e07629bf Add a non-mixin function for model queries
This patch simply adds a version of model_query in
neutron.db.common_db_mixin which can be invoked without
having to declare a class which inherits the mixin.

To this aim, model_query_scope has been refactored as well.
As the model query function being introduced in this patch
cannot use model query hooks (and does not need to), the
method was re-implemented rather than bringing out of the
mixin as it has been done for model_query_scope.

This change will allow for developing DB APIs without
having to use the baseDB/mixin classes models used so far.

Related-Blueprint: better-quotas

Change-Id: I7a79980f626e9eaf2775711c8a25f508067e5716
2015-06-01 11:22:29 -07:00
..
agent Merge "Addressing follow up comments for OVS_LIB fail_mode setting API" 2015-05-30 02:10:31 +00:00
api Merge "Non-json body on POST 500's" 2015-05-21 23:03:20 +00:00
callbacks Add callback prior to deleting a subnet 2015-05-25 16:59:32 +03:00
cmd OVS-agent: Separate ovs-ofctl using code as a driver 2015-05-25 18:48:02 +09:00
common Merge "Add callback prior to deleting a subnet" 2015-05-26 16:13:02 +00:00
db Add a non-mixin function for model queries 2015-06-01 11:22:29 -07:00
debug Migrate to oslo.log 2015-03-12 11:22:56 +01:00
extensions Python 3: use six.string_types instead of basestring 2015-05-21 04:03:17 +02:00
hacking Get completely rid of contextlib.nested 2015-05-29 23:18:46 +02:00
ipam Remove unnecessary brackets 2015-05-24 21:19:51 -07:00
locale Imported Translations from Transifex 2015-05-29 06:16:46 +00:00
notifiers Reuse nova batch notifier 2015-03-20 13:55:08 +00:00
openstack Remove middleware oslo-incubator module 2015-05-20 23:17:19 +02:00
plugins Merge "Use accessors instead of private attributes for Ml2 plugin" 2015-06-01 17:08:17 +00:00
scheduler OOP cleanup: start protected method names with underscore 2015-04-08 00:24:43 +04:00
server Migrate to oslo.log 2015-03-12 11:22:56 +01:00
services Fix minor errors in the Vyatta L3 Plugin: 2015-05-20 17:38:39 -07:00
tests Merge "Create bridges in ovsdb monitor functional tests" 2015-06-01 17:08:42 +00:00
__init__.py Allow users to run 'tox -epy34' 2015-05-11 16:09:51 +02:00
auth.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
context.py Context: is_admin==True implies is_advsvc=True 2015-04-30 10:37:24 -07:00
i18n.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
manager.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
neutron_plugin_base_v2.py Basic subnetpool CRUD 2015-03-18 22:53:50 -07:00
policy.py Remove backward compatibility for check_is_admin 2015-04-23 07:10:34 -07:00
quota.py Python 3: use six.string_types instead of basestring 2015-05-21 04:03:17 +02:00
service.py Merge "Handle SIGHUP in dhcp and l3 agents" 2015-04-28 10:55:24 +00:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
wsgi.py Refactor socket ssl wrapping 2015-04-24 13:21:49 +03:00