openstackclient.compute.v2 package¶
Submodules¶
openstackclient.compute.v2.agent module¶
Agent action implementations
-
class
openstackclient.compute.v2.agent.
CreateAgent
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.agent.
DeleteAgent
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.aggregate module¶
Compute v2 Aggregate action implementations
-
class
openstackclient.compute.v2.aggregate.
AddAggregateHost
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.aggregate.
CreateAggregate
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.aggregate.
DeleteAggregate
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.aggregate.
ListAggregate
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.aggregate.
RemoveAggregateHost
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.aggregate.
SetAggregate
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.console module¶
Compute v2 Console action implementations
openstackclient.compute.v2.fixedip module¶
Fixed IP action implementations
openstackclient.compute.v2.flavor module¶
Flavor action implementations
-
class
openstackclient.compute.v2.flavor.
CreateFlavor
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.flavor.
DeleteFlavor
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.flavor.
ListFlavor
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.flavor.
SetFlavor
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.floatingip module¶
Floating IP action implementations
openstackclient.compute.v2.host module¶
Host action implementations
-
class
openstackclient.compute.v2.host.
ListHost
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.hypervisor module¶
Hypervisor action implementations
openstackclient.compute.v2.hypervisor_stats module¶
Hypervisor Stats action implementations
openstackclient.compute.v2.keypair module¶
Keypair action implementations
-
class
openstackclient.compute.v2.keypair.
CreateKeypair
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.keypair.
DeleteKeypair
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.server module¶
Compute v2 Server action implementations
-
class
openstackclient.compute.v2.server.
AddFixedIP
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
AddFloatingIP
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
AddServerSecurityGroup
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
AddServerVolume
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
CreateServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
CreateServerDump
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Create a dump file in server(s)
Trigger crash dump in server(s) with features like kdump in Linux. It will create a dump file in the server(s) dumping the server(s)’ memory, and also crash the server(s). OSC sees the dump file (server dump) as a kind of resource.
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
DeleteServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
ListServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
LockServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
MigrateServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
PauseServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
RebootServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
RebuildServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
RemoveFixedIP
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
RemoveFloatingIP
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
RemoveServerSecurityGroup
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
RemoveServerVolume
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
RescueServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
ResizeServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
RestoreServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
ResumeServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
SetServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
ShelveServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
ShowServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
SshServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
StartServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
StopServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
SuspendServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
UnlockServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
UnpauseServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server.
UnrescueServer
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.server_backup module¶
Compute v2 Server action implementations
-
class
openstackclient.compute.v2.server_backup.
CreateServerBackup
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
IMAGE_API_VERSIONS
= {'2': 'openstackclient.image.v2.image', '1': 'openstackclient.image.v1.image'}¶
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.server_group module¶
Compute v2 Server Group action implementations
-
class
openstackclient.compute.v2.server_group.
CreateServerGroup
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.compute.v2.server_group.
DeleteServerGroup
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.server_image module¶
Compute v2 Server action implementations
-
class
openstackclient.compute.v2.server_image.
CreateServerImage
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
IMAGE_API_VERSIONS
= {'2': 'openstackclient.image.v2.image', '1': 'openstackclient.image.v1.image'}¶
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.service module¶
Service action implementations
-
class
openstackclient.compute.v2.service.
DeleteService
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.compute.v2.usage module¶
Usage action implementations