troveclient.compat.mcli module¶
Trove Management Command line tool
- class troveclient.compat.mcli.AccountCommands(parser)¶
Bases:
AuthedCommandsBase
Commands to list account info.
- get()¶
List details for the account provided.
- list()¶
List all accounts with non-deleted instances.
- params = ['id']¶
- class troveclient.compat.mcli.FlavorsCommands(parser)¶
Bases:
AuthedCommandsBase
Commands for managing Flavors.
- create()¶
Create a new flavor.
- params = ['name', 'ram', 'disk', 'vcpus', 'flavor_id', 'ephemeral', 'swap', 'rxtx_factor', 'service_type']¶
- class troveclient.compat.mcli.HostCommands(parser)¶
Bases:
AuthedCommandsBase
Commands to list info on hosts.
- get()¶
List details for the specified host.
- list()¶
List all compute hosts.
- params = ['name']¶
- update_all()¶
Update all instances on a host.
- class troveclient.compat.mcli.InstanceCommands(parser)¶
Bases:
AuthedCommandsBase
List details about an instance.
- diagnostic()¶
List diagnostic details about an instance.
- get()¶
List details for the instance.
- hwinfo()¶
Show hardware information details about an instance.
- list()¶
List all instances for account.
- migrate()¶
Migrate the instance.
- params = ['deleted', 'id', 'limit', 'marker', 'host']¶
- reboot()¶
Reboot the instance.
- reset_task_status()¶
Set the instance’s task status to NONE.
- stop()¶
Stop MySQL on the given instance.
- class troveclient.compat.mcli.QuotaCommands(parser)¶
Bases:
AuthedCommandsBase
List and update quota limits for a tenant.
- list()¶
List all quotas for a tenant.
- params = ['id', 'instances', 'volumes', 'backups']¶
- update()¶
Update quota limits for a tenant.
- class troveclient.compat.mcli.RootCommands(parser)¶
Bases:
AuthedCommandsBase
List details about the root info for an instance.
- history()¶
List root history for the instance.
- params = ['id']¶
- class troveclient.compat.mcli.StorageCommands(parser)¶
Bases:
AuthedCommandsBase
Commands to list devices info.
- list()¶
List details for the storage device.
- params = []¶
- troveclient.compat.mcli.config_options(oparser)¶
- troveclient.compat.mcli.main()¶