Whenever a Redirect action is provided/consumed GBP, the
implicitly created SCI could be owned by different tenants
depending on the actor triggering it.
To make this consistent, this patch proposes to have a single
configurable admin tenant that will own all the chain resources.
When the said tenant is not configured, the provider PTG's
tenant will be used instead.
Closes-Bug: 1432816
(cherry picked from commit 3becb34638a1ff52c29df6ddd721d9b945aa2200)
(cherry picked from commit debadf861e794fb06a184e0798ead4825a86394a)
Reviewed: https:/ /review. openstack. org/230705 /git.openstack. org/cgit/ stackforge/ group-based- policy/ commit/ ?id=62439a52d8d 379ab7cb14eb241 305ac1eece1847
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 62439a52d8d379a b7cb14eb241305a c1eece1847
Author: Sumit Naiksatam <email address hidden>
Date: Fri Mar 20 16:53:11 2015 -0700
Admin or Provider tenant to own implicit SCIs
Whenever a Redirect action is provided/consumed GBP, the
implicitly created SCI could be owned by different tenants
depending on the actor triggering it.
To make this consistent, this patch proposes to have a single
configurable admin tenant that will own all the chain resources.
When the said tenant is not configured, the provider PTG's
tenant will be used instead.
Closes-Bug: 1432816 2c29df6ddd721d9 b945aa2200) 06a184e0798ead4 825a86394a)
(cherry picked from commit 3becb34638a1ff5
(cherry picked from commit debadf861e794fb
Conflicts: /common/ utils.py /neutron/ extensions/ patch.py /neutron/ services/ grouppolicy/ drivers/ resource_ mapping. py /neutron/ services/ servicechain/ plugins/ ncp/context. py /neutron/ tests/unit/ db/grouppolicy/ test_group_ policy_ db.py /neutron/ tests/unit/ db/grouppolicy/ test_servicecha in_db.py /neutron/ tests/unit/ services/ grouppolicy/ test_resource_ mapping. py
gbpservice
gbpservice
gbpservice
gbpservice
gbpservice
gbpservice
gbpservice
Change-Id: I117ade668d3ec0 1ed8b1b33b3c3a5 b6060117082