openstackclient.identity.v2_0 package

Submodules

openstackclient.identity.v2_0.catalog module

Identity v2 Service Catalog action implementations

class openstackclient.identity.v2_0.catalog.EndpointsColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.identity.v2_0.catalog.ListCatalog(app, app_args, cmd_name=None)

Bases: Lister

log = <Logger openstackclient.identity.v2_0.catalog.ListCatalog (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.identity.v2_0.catalog.ShowCatalog(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.catalog.ShowCatalog (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.identity.v2_0.ec2creds module

Identity v2 EC2 Credentials action implementations

class openstackclient.identity.v2_0.ec2creds.CreateEC2Creds(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.ec2creds.CreateEC2Creds (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.identity.v2_0.ec2creds.DeleteEC2Creds(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.ec2creds.DeleteEC2Creds (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.identity.v2_0.ec2creds.ListEC2Creds(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.ec2creds.ListEC2Creds (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.identity.v2_0.ec2creds.ShowEC2Creds(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.ec2creds.ShowEC2Creds (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.identity.v2_0.endpoint module

Endpoint action implementations

class openstackclient.identity.v2_0.endpoint.CreateEndpoint(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.endpoint.CreateEndpoint (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.identity.v2_0.endpoint.DeleteEndpoint(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.endpoint.DeleteEndpoint (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.identity.v2_0.endpoint.ListEndpoint(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.endpoint.ListEndpoint (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.identity.v2_0.endpoint.ShowEndpoint(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.endpoint.ShowEndpoint (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.identity.v2_0.project module

Identity v2 Project action implementations

class openstackclient.identity.v2_0.project.CreateProject(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.project.CreateProject (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.identity.v2_0.project.DeleteProject(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.project.DeleteProject (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.identity.v2_0.project.ListProject(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.project.ListProject (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.identity.v2_0.project.SetProject(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.project.SetProject (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.identity.v2_0.project.ShowProject(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.project.ShowProject (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.identity.v2_0.project.UnsetProject(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.project.UnsetProject (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

openstackclient.identity.v2_0.role module

Identity v2 Role action implementations

class openstackclient.identity.v2_0.role.AddRole(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.role.AddRole (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.identity.v2_0.role.CreateRole(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.role.CreateRole (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.identity.v2_0.role.DeleteRole(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.role.DeleteRole (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.identity.v2_0.role.ListRole(app, app_args, cmd_name=None)

Bases: Lister

log = <Logger openstackclient.identity.v2_0.role.ListRole (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.identity.v2_0.role.RemoveRole(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.role.RemoveRole (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.identity.v2_0.role.ShowRole(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.role.ShowRole (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.identity.v2_0.role_assignment module

Identity v2 Assignment action implementations

class openstackclient.identity.v2_0.role_assignment.ListRoleAssignment(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.role_assignment.ListRoleAssignment (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

openstackclient.identity.v2_0.service module

Service action implementations

class openstackclient.identity.v2_0.service.CreateService(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.service.CreateService (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.identity.v2_0.service.DeleteService(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.service.DeleteService (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.identity.v2_0.service.ListService(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.service.ListService (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.identity.v2_0.service.ShowService(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.service.ShowService (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.identity.v2_0.token module

Identity v2 Token action implementations

class openstackclient.identity.v2_0.token.IssueToken(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.token.IssueToken (WARNING)>
required_scope = False
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.identity.v2_0.token.RevokeToken(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.token.RevokeToken (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

openstackclient.identity.v2_0.user module

Identity v2.0 User action implementations

class openstackclient.identity.v2_0.user.CreateUser(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.user.CreateUser (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.identity.v2_0.user.DeleteUser(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.user.DeleteUser (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.identity.v2_0.user.ListUser(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.user.ListUser (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.identity.v2_0.user.ProjectColumn(value, project_cache=None)

Bases: FormattableColumn

Formattable column for project column.

Unlike the parent FormattableColumn class, the initializer of the class takes project_cache as the second argument. osc_lib.utils.get_item_properties instantiate cliff FormattableColumn object with a single parameter “column value”, so you need to pass a partially initialized class like functools.partial(ProjectColumn, project_cache).

human_readable()

Return a basic human readable version of the data.

class openstackclient.identity.v2_0.user.SetUser(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.user.SetUser (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.identity.v2_0.user.ShowUser(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.identity.v2_0.user.ShowUser (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

Module contents