The heat_keystoneclient_v2.client ModuleΒΆ

class heat_keystoneclient_v2.client.KeystoneClientV2(context)[source]

Bases: object

Wrap keystone client so we can encapsulate logic used in resources Note this is intended to be initialized from a resource on a per-session basis, so the session context is passed in on initialization Also note that a copy of this is created every resource as self.keystone() via the code in engine/client.py, so there should not be any need to directly instantiate instances of this class inside resources themselves

auth_token[source]
client[source]
create_ec2_keypair(user_id=None)[source]
create_stack_domain_project(project_id)[source]

Use the tenant ID as domain project.

create_stack_domain_user(username, project_id, password=None)[source]
create_stack_user(username, password='')[source]

Create a user defined as part of a stack, either via template or created internally by a resource. This user will be added to the heat_stack_user_role as defined in the config Returns the keystone ID of the resulting user

create_trust_context()[source]
delete_ec2_keypair(user_id, accesskey)[source]
delete_stack_domain_project(project_id)[source]

Pass through method since no project was created.

delete_stack_domain_user(user_id, project_id)[source]
delete_stack_user(user_id)[source]
delete_trust(trust_id)[source]
disable_stack_user(user_id)[source]
enable_stack_user(user_id)[source]
get_ec2_keypair(access, user_id=None)[source]
url_for(**kwargs)[source]

Previous topic

The heat_keystoneclient_v2 Module

Next topic

The docker Module

This Page