commit aeaf77a5295080a3010a2e9c32e24f47c8cc73cc
Author: Haim Daniel <email address hidden>
Date: Wed Nov 25 18:49:45 2015 -0500
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.
Reviewed: https:/ /review. openstack. org/250081 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=aeaf77a5295 080a3010a2e9c32 e24f47c8cc73cc
Committed: https:/
Submitter: Jenkins
Branch: master
commit aeaf77a5295080a 3010a2e9c32e24f 47c8cc73cc
Author: Haim Daniel <email address hidden>
Date: Wed Nov 25 18:49:45 2015 -0500
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: I1c59073daa1810 05a3e878bc2fe03 3a0709fbf31