heat.engine.clients.os.keystone.fake_keystoneclient module

heat.engine.clients.os.keystone.fake_keystoneclient module

A fake FakeKeystoneClient. This can be used during some runtime scenarios where you want to disable Heat’s internal Keystone dependencies entirely. One example is the TripleO Undercloud installer.

To use this class at runtime set to following heat.conf config setting:

keystone_backend = heat.engine.clients.os.keystone.fake_keystoneclient .FakeKeystoneClient
class heat.engine.clients.os.keystone.fake_keystoneclient.FakeKeystoneClient(username='test_username', password='password', user_id='1234', access='4567', secret='8901', credential_id='abcdxyz', auth_token='abcd1234', context=None, stack_domain_id='4321', client=None)[source]

Bases: object

create_ec2_keypair(user_id)[source]
create_stack_domain_project(stack_id)[source]
create_stack_domain_user(username, project_id, password=None)[source]
create_stack_domain_user_keypair(user_id, project_id)[source]
create_stack_user(username, password='')[source]
create_trust_context()[source]
delete_ec2_keypair(credential_id=None, user_id=None, access=None)[source]
delete_stack_domain_project(project_id)[source]
delete_stack_domain_user(user_id, project_id)[source]
delete_stack_domain_user_keypair(user_id, project_id, credential_id)[source]
delete_stack_user(user_id)[source]
delete_trust(trust_id)[source]
disable_stack_domain_user(user_id, project_id)[source]
disable_stack_user(user_id)[source]
enable_stack_domain_user(user_id, project_id)[source]
enable_stack_user(user_id)[source]
get_ec2_keypair(access, user_id)[source]
stack_domain_user_token(user_id, project_id, password)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.