Revision b58726e8 scripts/gnt-cluster
b/scripts/gnt-cluster | ||
---|---|---|
600 | 600 |
" addresses, in the format XX:XX:XX", |
601 | 601 |
metavar="PREFIX", |
602 | 602 |
default=constants.DEFAULT_MAC_PREFIX,), |
603 |
cli_option("-g", "--vg-name", dest="vg_name", |
|
604 |
help="Specify the volume group name " |
|
605 |
" (cluster-wide) for disk allocation [xenvg]", |
|
606 |
metavar="VG", |
|
607 |
default=None,), |
|
603 |
VG_NAME_OPT, |
|
608 | 604 |
cli_option("--master-netdev", dest="master_netdev", |
609 | 605 |
help="Specify the node interface (cluster-wide)" |
610 | 606 |
" on which the master IP address will be added " |
... | ... | |
700 | 696 |
[DEBUG_OPT], |
701 | 697 |
"{pause <timespec>|continue|info}", "Change watcher properties"), |
702 | 698 |
'modify': (SetClusterParams, ARGS_NONE, |
703 |
[DEBUG_OPT, |
|
704 |
cli_option("-g", "--vg-name", dest="vg_name", |
|
705 |
help="Specify the volume group name " |
|
706 |
" (cluster-wide) for disk allocation " |
|
707 |
"and enable lvm based storage", |
|
708 |
metavar="VG",), |
|
709 |
NOLVM_STORAGE_OPT, |
|
710 |
ENABLED_HV_OPT, |
|
711 |
HVLIST_OPT, |
|
712 |
BACKEND_OPT, |
|
713 |
NIC_PARAMS_OPT, |
|
714 |
CP_SIZE_OPT, |
|
715 |
], |
|
699 |
[DEBUG_OPT, BACKEND_OPT, CP_SIZE_OPT, ENABLED_HV_OPT, HVLIST_OPT, |
|
700 |
NIC_PARAMS_OPT, NOLVM_STORAGE_OPT, VG_NAME_OPT], |
|
716 | 701 |
"[opts...]", |
717 | 702 |
"Alters the parameters of the cluster"), |
718 | 703 |
} |
Also available in: Unified diff