Script gnt_instance
[hide private]
[frames] | no frames]

Script gnt_instance

Bootstrap script for ganeti.client.gnt_instance

Variables [hide private]
  commands = {"add":(AddInstance, [ArgHost(min= 1, max= 1)], COM...
  aliases = {"start": "startup", "stop": "shutdown", "show": "in...

Imports: sys, main


Variables Details [hide private]

commands

Value:
{"add":(AddInstance, [ArgHost(min= 1, max= 1)], COMMON_CREATE_OPTS+ ad\
d_opts, "[...] -t disk-type -n node[:secondary-node] -o os-type <name>\
", "Creates and adds a new instance to the cluster"), "batch-create":(\
BatchCreate, [ArgFile(min= 1, max= 1)], [DRY_RUN_OPT, PRIORITY_OPT, IA\
LLOCATOR_OPT, SUBMIT_OPT], "<instances.json>", "Create a bunch of inst\
ances based on specs in the file."), "console":(ConnectToInstanceConso\
le, ARGS_ONE_INSTANCE, [SHOWCMD_OPT, PRIORITY_OPT], "[--show-cmd] <ins\
tance>", "Opens a console on the specified instance"), "failover":(Fai\
...

aliases

Value:
{"start": "startup", "stop": "shutdown", "show": "info",}