troveclient.compat.mcli 模块

Trove 管理命令行工具

class troveclient.compat.mcli.AccountCommands(parser)

基类: AuthedCommandsBase

用于列出账户信息的命令。

get()

列出提供的账户的详细信息。

list()

列出具有非删除实例的所有账户。

params = ['id']
class troveclient.compat.mcli.FlavorsCommands(parser)

基类: AuthedCommandsBase

用于管理 Flavors 的命令。

create()

创建一个新的 flavor。

params = ['name', 'ram', 'disk', 'vcpus', 'flavor_id', 'ephemeral', 'swap', 'rxtx_factor', 'service_type']
class troveclient.compat.mcli.HostCommands(parser)

基类: AuthedCommandsBase

用于列出主机信息的命令。

get()

列出指定主机的详细信息。

list()

列出所有计算主机。

params = ['name']
update_all()

更新主机上的所有实例。

class troveclient.compat.mcli.InstanceCommands(parser)

基类: AuthedCommandsBase

列出有关实例的详细信息。

diagnostic()

列出有关实例的诊断详细信息。

get()

列出实例的详细信息。

hwinfo()

显示有关实例的硬件信息详细信息。

list()

列出帐户的所有实例。

migrate()

迁移实例。

params = ['deleted', 'id', 'limit', 'marker', 'host']
reboot()

重新启动实例。

reset_task_status()

将实例的任务状态设置为 NONE。

stop()

停止给定实例上的 MySQL。

class troveclient.compat.mcli.QuotaCommands(parser)

基类: AuthedCommandsBase

列出和更新租户的配额限制。

list()

列出租户的所有配额。

params = ['id', 'instances', 'volumes', 'backups']
update()

更新租户的配额限制。

class troveclient.compat.mcli.RootCommands(parser)

基类: AuthedCommandsBase

列出有关实例的 root 信息的详细信息。

history()

列出实例的 root 历史记录。

params = ['id']
class troveclient.compat.mcli.StorageCommands(parser)

基类: AuthedCommandsBase

用于列出设备信息的命令。

list()

列出存储设备的详细信息。

params = []
troveclient.compat.mcli.config_options(oparser)
troveclient.compat.mcli.main()