Revision 3ccb3a64 lib/client/gnt_backup.py

b/lib/client/gnt_backup.py
120 120

  
121 121

  
122 122
commands = {
123
  'list': (
123
  "list": (
124 124
    PrintExportList, ARGS_NONE,
125 125
    [NODE_LIST_OPT],
126 126
    "", "Lists instance exports available in the ganeti cluster"),
127
  'export': (
127
  "export": (
128 128
    ExportInstance, ARGS_ONE_INSTANCE,
129 129
    [FORCE_OPT, SINGLE_NODE_OPT, NOSHUTDOWN_OPT, SHUTDOWN_TIMEOUT_OPT,
130 130
     REMOVE_INSTANCE_OPT, IGNORE_REMOVE_FAILURES_OPT, DRY_RUN_OPT,
131 131
     PRIORITY_OPT],
132 132
    "-n <target_node> [opts...] <name>",
133 133
    "Exports an instance to an image"),
134
  'import': (
134
  "import": (
135 135
    ImportInstance, ARGS_ONE_INSTANCE, COMMON_CREATE_OPTS + import_opts,
136 136
    "[...] -t disk-type -n node[:secondary-node] <name>",
137 137
    "Imports an instance from an exported image"),
138
  'remove': (
138
  "remove": (
139 139
    RemoveExport, [ArgUnknown(min=1, max=1)], [DRY_RUN_OPT, PRIORITY_OPT],
140 140
    "<name>", "Remove exports of named instance from the filesystem."),
141 141
  }

Also available in: Unified diff