X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/073271f61a7fc839463e7156f683b0f12a5099e4..91e0748c38b1b629961564362c90a29b218193b9:/lib/cli.py diff --git a/lib/cli.py b/lib/cli.py index 3f4d938..c81bf54 100644 --- a/lib/cli.py +++ b/lib/cli.py @@ -58,6 +58,7 @@ __all__ = [ "IALLOCATOR_OPT", "FORCE_OPT", "NOHDR_OPT", + "NOIPCHECK_OPT", "NONICS_OPT", "NWSYNC_OPT", "OS_OPT", @@ -533,6 +534,12 @@ HVLIST_OPT = cli_option("-H", "--hypervisor-parameters", dest="hvparams", " format hypervisor:option=value,option=value,...", default=[], action="append", type="identkeyval") +NOIPCHECK_OPT = cli_option("--no-ip-check", dest="ip_check", default=True, + action="store_false", + help="Don't check that the instance's IP" + " is alive") + + def _ParseArgs(argv, commands, aliases): """Parser for the command line arguments.