]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add Cinder internal tenant support
authorPatrick East <patrick.east@purestorage.com>
Tue, 23 Jun 2015 00:38:30 +0000 (17:38 -0700)
committerTomoki Sekiyama <tomoki.sekiyama@hds.com>
Thu, 23 Jul 2015 14:46:53 +0000 (14:46 +0000)
commitfd71ce8bab5ea737588b03f6753550587e35519c
tree3626e6ec6dccb10f45f9e443c8faaba637cdad65
parent0cc4b6d5116dda93c4e5fc2f639d993b9ff58b3c
Add Cinder internal tenant support

This adds two new config options as well as a
helper method to get a RequestContext for the
Cinder internal tenant.

The current implementation will not create a
request context that can be used for calls to
other services, it is (as the name implies) only
for internal Cinder operations.

DocImpact: This adds new config steps that should
be covered in the Cinder docs including the new config
options: 'cinder_internal_tenant_project_id' and
'cinder_internal_tenant_user_id'

Implements: blueprint cinder-internal-tenant
Change-Id: I0c3263e71cf1a275a4538c35ebe1c7d750bb16e6
cinder/context.py
cinder/tests/unit/test_context.py