Revision 4a96f1d1 lib/constants.py
b/lib/constants.py | ||
---|---|---|
328 | 328 |
REPLACE_DISK_CHG = "replace_new_secondary" # change secondary node |
329 | 329 |
REPLACE_DISK_AUTO = "replace_auto" |
330 | 330 |
|
331 |
# Instance export mode |
|
332 |
EXPORT_MODE_LOCAL = "local" |
|
333 |
EXPORT_MODE_REMOTE = "remote" |
|
334 |
EXPORT_MODES = frozenset([ |
|
335 |
EXPORT_MODE_LOCAL, |
|
336 |
EXPORT_MODE_REMOTE, |
|
337 |
]) |
|
338 |
|
|
331 | 339 |
# lock recalculate mode |
332 | 340 |
LOCKS_REPLACE = 'replace' |
333 | 341 |
LOCKS_APPEND = 'append' |
... | ... | |
343 | 351 |
# Remote import/export certificate validity in seconds |
344 | 352 |
RIE_CERT_VALIDITY = 24 * 60 * 60 |
345 | 353 |
|
354 |
# Remote import/export connect timeout for socat |
|
355 |
RIE_CONNECT_TIMEOUT = 60 |
|
356 |
|
|
346 | 357 |
DISK_TEMPLATES = frozenset([DT_DISKLESS, DT_PLAIN, |
347 | 358 |
DT_DRBD8, DT_FILE]) |
348 | 359 |
|
Also available in: Unified diff