neutron/neutron/db/qos
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
..
__init__.py QoS: db models and migration rules 2015-07-01 14:24:38 +03:00
api.py policy: made attach_* and detach_* methods more robust 2015-07-25 08:09:55 +02:00
models.py Qos policy RBAC DB setup and migration 2016-02-26 17:03:59 +00:00