Commit 3f1e065d authored by Iustin Pop's avatar Iustin Pop
Browse files

gnt-debug: rename allocator to iallocator

I'm always confused by this strange difference, so let's rename the
command to match what it tests.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent a69ff623
......@@ -553,7 +553,7 @@ commands = {
"<op_list_file...>", "Submits jobs built from json files"
" containing a list of serialized opcodes"),
'allocator': (
'iallocator': (
TestAllocator, [ArgUnknown(min=1)],
[cli_option("--dir", dest="direction", default=constants.IALLOCATOR_DIR_IN,
......@@ -595,6 +595,10 @@ commands = {
"[--interval N]", "Show a list of locks in the master daemon"),
#: dictionary with aliases for commands
aliases = {
"allocator": "iallocator",
def Main():
return GenericMain(commands)
return GenericMain(commands, aliases=aliases)
......@@ -19,10 +19,10 @@ The **gnt-debug** is used for debugging the Ganeti system.
**allocator** [--debug] [--dir *DIRECTION*] {--algorithm
**iallocator** [--debug] [--dir *DIRECTION*] {--algorithm
*ALLOCATOR* } [--mode *MODE*] [--mem *MEMORY*] [--disks *DISKS*]
[--disk-template *TEMPLATE*] [--nics *NICS*] [--os-type *OS*]
[--vcpus *VCPUS*] [--tags *TAGS*] {*instance*}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment