Revision 4c61d894 lib/cli.py
b/lib/cli.py | ||
---|---|---|
45 | 45 |
# Command line options |
46 | 46 |
"ALLOCATABLE_OPT", |
47 | 47 |
"ALL_OPT", |
48 |
"AUTO_PROMOTE_OPT", |
|
48 | 49 |
"AUTO_REPLACE_OPT", |
49 | 50 |
"BACKEND_OPT", |
50 | 51 |
"CLEANUP_OPT", |
... | ... | |
708 | 709 |
help="Replace the disk(s) on the secondary" |
709 | 710 |
" node (only for the drbd template)") |
710 | 711 |
|
712 |
AUTO_PROMOTE_OPT = cli_option("--auto-promote", dest="auto_promote", |
|
713 |
default=False, action="store_true", |
|
714 |
help="Lock all nodes and auto-promote as needed" |
|
715 |
" to MC status") |
|
716 |
|
|
711 | 717 |
AUTO_REPLACE_OPT = cli_option("-a", "--auto", dest="auto", |
712 | 718 |
default=False, action="store_true", |
713 | 719 |
help="Automatically replace faulty disks" |
Also available in: Unified diff