neutron/neutron/tests/unit/objects
Haim Daniel aeaf77a529 Qos policy RBAC DB setup and migration
This patch implements a new database model required for the
qos-policy RBAC support. In addition it migrates the current qos-policy
'shared' attribute to leverage the new 'qospolicyrbacs' table.

'shared' is no longer a property of the QosPolicy DB model. Its status
is based on the tenant ID of the API caller. From an API perspective the
logic remains the same - tenants will see qos-policies as 'shared=True'
in case the qos-policy is shared with them). However, internal callers
(e.g. plugins, drivers, services) must not check for the 'shared'
attribute on qos-policy db objects any more.

DocImpact
APIImpact

Blueprint: rbac-qos
Related-bug: #1512587

Change-Id: I1c59073daa181005a3e878bc2fe033a0709fbf31
2016-02-26 17:03:59 +00:00
..
qos Qos policy RBAC DB setup and migration 2016-02-26 17:03:59 +00:00
__init__.py objects.base: avoid db access if object does not have changes 2015-07-03 02:02:17 +03:00
test_base.py Qos policy RBAC DB setup and migration 2016-02-26 17:03:59 +00:00
test_common_types.py OVO common enum class for IPv6 modes. 2016-02-09 10:31:10 +01:00
test_objects.py Add test for Neutron object versions 2016-01-06 10:34:03 +00:00
test_rbac_db.py Qos policy RBAC DB setup and migration 2016-02-26 17:03:59 +00:00