Move instance communication network CLI option around.
Signed-off-by: Jose A. Lopes <[email protected]>
---
lib/cli.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/cli.py b/lib/cli.py
index 04ee4e0..aed12f1 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -117,6 +117,7 @@ __all__ = [
"INCLUDEDEFAULTS_OPT",
"INTERVAL_OPT",
"INSTANCE_COMMUNICATION_OPT",
+ "INSTANCE_COMMUNICATION_NETWORK_OPT",
"MAC_PREFIX_OPT",
"MAINTAIN_NODE_HEALTH_OPT",
"MASTER_NETDEV_OPT",
@@ -185,7 +186,6 @@ __all__ = [
"REMOVE_UIDS_OPT",
"RESERVED_LVS_OPT",
"RQL_OPT",
- "INSTANCE_COMMUNICATION_NETWORK_OPT",
"RUNTIME_MEM_OPT",
"ROMAN_OPT",
"SECONDARY_IP_OPT",
@@ -1309,12 +1309,6 @@ RQL_OPT = cli_option("--max-running-jobs",
dest="max_running_jobs",
type="int", help="Set the maximal number of jobs to "
"run simultaneously")
-INSTANCE_COMMUNICATION_NETWORK_OPT = \
- cli_option("--instance-communication-network",
- dest="instance_communication_network",
- type="string",
- help="Set the network name for instance communication")
-
VG_NAME_OPT = cli_option("--vg-name", dest="vg_name",
help=("Enables LVM and specifies the volume group"
" name (cluster-wide) for disk allocation"
@@ -1740,6 +1734,12 @@ INSTANCE_COMMUNICATION_OPT = \
help=constants.INSTANCE_COMMUNICATION_DOC,
type="bool")
+INSTANCE_COMMUNICATION_NETWORK_OPT = \
+ cli_option("--instance-communication-network",
+ dest="instance_communication_network",
+ type="string",
+ help="Set the network name for instance communication")
+
ZEROING_IMAGE_OPT = \
cli_option("--zeroing-image",
dest="zeroing_image", action="store", default=None,
--
1.9.1.423.g4596e3a