heat/contrib/heat_keystoneclient_v2
Zhenguo Niu 09ecdc55a0 Don't import HeatTestCase directly
Fix the HeatTestCase import issue as required by H302,
a following patch of https://review.openstack.org/#/c/129846/

Change-Id: Iab9a508682e9fe2932b7d00b191c8a4cdea4738b
2014-10-22 14:15:11 +08:00
..
heat_keystoneclient_v2 Don't import HeatTestCase directly 2014-10-22 14:15:11 +08:00
README.md Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00
setup.cfg Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00
setup.py Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00

README.md

Heat Keystone V2

This plugin is a Keystone V2 compatible client. It can be used to replace the default client for clouds running older versions of Keystone.

Some forward compatibility decisions had to be made:

  • Stack domain users are created as users on the stack owner's tenant rather than the stack's domain
  • Trusts are not supported

Installation

  1. From this directory run: sudo python ./setup.py install

  2. Set the keystone_backend option to heat.engine.plugins.heat_keystoneclient_v2.client.KeystoneClientV2

How it works

By setting the keystone_backend option, the KeystoneBackend class in heat/common/heat_keystoneclient.py will instantiate the plugin KeystoneClientV2 class and use that instead of the default client in heat/common/heat_keystoneclient.py.