Revision eb28ecf6 lib/client/gnt_backup.py
b/lib/client/gnt_backup.py | ||
---|---|---|
115 | 115 |
|
116 | 116 |
# this is defined separately due to readability only |
117 | 117 |
import_opts = [ |
118 |
BACKEND_OPT, |
|
119 |
DISK_OPT, |
|
120 |
DISK_TEMPLATE_OPT, |
|
121 |
FILESTORE_DIR_OPT, |
|
122 |
FILESTORE_DRIVER_OPT, |
|
123 |
HYPERVISOR_OPT, |
|
124 |
IALLOCATOR_OPT, |
|
125 | 118 |
IDENTIFY_DEFAULTS_OPT, |
126 |
NET_OPT, |
|
127 |
NODE_PLACEMENT_OPT, |
|
128 |
NOIPCHECK_OPT, |
|
129 |
NONAMECHECK_OPT, |
|
130 |
NONICS_OPT, |
|
131 |
NWSYNC_OPT, |
|
132 |
OSPARAMS_OPT, |
|
133 |
OS_SIZE_OPT, |
|
134 | 119 |
SRC_DIR_OPT, |
135 | 120 |
SRC_NODE_OPT, |
136 |
SUBMIT_OPT, |
|
137 |
DRY_RUN_OPT, |
|
138 |
PRIORITY_OPT, |
|
139 | 121 |
] |
140 | 122 |
|
141 | 123 |
|
... | ... | |
152 | 134 |
"-n <target_node> [opts...] <name>", |
153 | 135 |
"Exports an instance to an image"), |
154 | 136 |
'import': ( |
155 |
ImportInstance, ARGS_ONE_INSTANCE, import_opts, |
|
137 |
ImportInstance, ARGS_ONE_INSTANCE, COMMON_CREATE_OPTS + import_opts,
|
|
156 | 138 |
"[...] -t disk-type -n node[:secondary-node] <name>", |
157 | 139 |
"Imports an instance from an exported image"), |
158 | 140 |
'remove': ( |
Also available in: Unified diff