Revision 771734c9 scripts/gnt-node
b/scripts/gnt-node | ||
---|---|---|
656 | 656 |
(", ".join(_LIST_HEADERS), ", ".join(_LIST_DEF_FIELDS))), |
657 | 657 |
'modify': (SetNodeParams, ARGS_ONE_NODE, |
658 | 658 |
[DEBUG_OPT, FORCE_OPT, |
659 |
SUBMIT_OPT, |
|
660 |
cli_option("-C", "--master-candidate", dest="master_candidate", |
|
661 |
choices=('yes', 'no'), default=None, |
|
662 |
metavar="yes|no", |
|
663 |
help="Set the master_candidate flag on the node"), |
|
664 |
cli_option("-O", "--offline", dest="offline", metavar="yes|no", |
|
665 |
choices=('yes', 'no'), default=None, |
|
666 |
help="Set the offline flag on the node"), |
|
667 |
cli_option("-D", "--drained", dest="drained", metavar="yes|no", |
|
668 |
choices=('yes', 'no'), default=None, |
|
669 |
help="Set the drained flag on the node"), |
|
670 |
], |
|
659 |
SUBMIT_OPT, MC_OPT, DRAINED_OPT, OFFLINE_OPT], |
|
671 | 660 |
"<node_name>", "Alters the parameters of a node"), |
672 | 661 |
'powercycle': (PowercycleNode, ARGS_ONE_NODE, |
673 | 662 |
[DEBUG_OPT, FORCE_OPT, CONFIRM_OPT], |
Also available in: Unified diff