openstackclient.identity package

Subpackages

Submodules

openstackclient.identity.client module

class openstackclient.identity.client.IdentityClientv2(**kwargs)

Bases: Client

Tweak the earlier client class to deal with some changes

openstackclient.identity.client.build_option_parser(parser)

Hook to add global options

openstackclient.identity.client.make_client(instance)

Returns an identity service client.

openstackclient.identity.common module

Common identity code

openstackclient.identity.common.add_group_domain_option_to_parser(parser)
openstackclient.identity.common.add_inherited_option_to_parser(parser)
openstackclient.identity.common.add_project_domain_option_to_parser(parser, enhance_help=<function <lambda>>)
openstackclient.identity.common.add_resource_option_to_parser(parser)
openstackclient.identity.common.add_role_domain_option_to_parser(parser)
openstackclient.identity.common.add_user_domain_option_to_parser(parser)
openstackclient.identity.common.find_domain(identity_client, name_or_id)
openstackclient.identity.common.find_group(identity_client, name_or_id, domain_name_or_id=None)
openstackclient.identity.common.find_project(identity_client, name_or_id, domain_name_or_id=None)
openstackclient.identity.common.find_service(identity_client, name_type_or_id)

Find a service by id, name or type.

openstackclient.identity.common.find_service_in_list(service_list, service_id)

Find a service by id in service list.

openstackclient.identity.common.find_service_sdk(identity_client, name_type_or_id)

Find a service by id, name or type.

openstackclient.identity.common.find_user(identity_client, name_or_id, domain_name_or_id=None)
openstackclient.identity.common.get_immutable_options(parsed_args)
openstackclient.identity.common.get_resource(manager, name_type_or_id)

Find a resource by id or name.

openstackclient.identity.common.get_resource_by_id(manager, resource_id)

Get resource by ID

Raises CommandError if the resource is not found

Module contents