Commit 26591bfd authored by Luca Bigliardi's avatar Luca Bigliardi
Browse files

Add drbd helper and storage options


Signed-off-by: default avatarLuca Bigliardi <shammash@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent d1871275
......@@ -61,6 +61,7 @@ __all__ = [
"DISK_OPT",
"DISK_TEMPLATE_OPT",
"DRAINED_OPT",
"DRBD_HELPER_OPT",
"EARLY_RELEASE_OPT",
"ENABLED_HV_OPT",
"ERROR_CODES_OPT",
......@@ -93,6 +94,7 @@ __all__ = [
"NIC_PARAMS_OPT",
"NODE_LIST_OPT",
"NODE_PLACEMENT_OPT",
"NODRBD_STORAGE_OPT",
"NOHDR_OPT",
"NOIPCHECK_OPT",
"NO_INSTALL_OPT",
......@@ -988,6 +990,13 @@ ROMAN_OPT = cli_option("--roman",
action="store_true",
help="Use roman numbers for positive integers")
DRBD_HELPER_OPT = cli_option("--drbd-usermode-helper", dest="drbd_helper",
action="store", default=None,
help="Specifies usermode helper for DRBD")
NODRBD_STORAGE_OPT = cli_option("--no-drbd-storage", dest="drbd_storage",
action="store_false", default=True,
help="Disable support for DRBD")
def _ParseArgs(argv, commands, aliases):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment