Blame SOURCES/bz1214522-port_as_ip.patch

44709c
From 05bfc15535f3d28af5f09a9a8fedd16ab45c24d3 Mon Sep 17 00:00:00 2001
44709c
From: Marek 'marx' Grac <mgrac@redhat.com>
44709c
Date: Mon, 29 Jun 2015 19:55:00 +0200
44709c
Subject: [PATCH 6/6] fencing: Introduce option --port-as-ip (port_as_ip on
44709c
 stdin)
44709c
44709c
Pacemaker's mapping between fence devices and appropriate ports works fine. But if
44709c
fence device is used only for single device (IPMI, iLO, DRAC, ...) then configuration
44709c
is more complex. With this new option, user can use --plug/-n/port to specify IP address
44709c
what simplify configuration.
44709c
44709c
Resolves: rhbz#1214522
44709c
---
44709c
 fence/agents/lib/fencing.py.py         | 30 +++++++++++++++-
44709c
 tests/data/metadata/fence_alom.xml     | 10 ++++++
44709c
 tests/data/metadata/fence_amt.xml      | 10 ++++++
44709c
 tests/data/metadata/fence_drac.xml     | 64 ++++++++++++++++++++--------------
44709c
 tests/data/metadata/fence_dummy.xml    | 15 +++++---
44709c
 tests/data/metadata/fence_hpblade.xml  |  4 +--
44709c
 tests/data/metadata/fence_idrac.xml    | 10 ++++++
44709c
 tests/data/metadata/fence_ilo.xml      | 10 ++++++
44709c
 tests/data/metadata/fence_ilo2.xml     | 10 ++++++
44709c
 tests/data/metadata/fence_ilo3.xml     | 10 ++++++
44709c
 tests/data/metadata/fence_ilo3_ssh.xml | 10 ++++++
44709c
 tests/data/metadata/fence_ilo4.xml     | 10 ++++++
44709c
 tests/data/metadata/fence_ilo4_ssh.xml | 10 ++++++
44709c
 tests/data/metadata/fence_ilo_mp.xml   | 10 ++++++
44709c
 tests/data/metadata/fence_ilo_ssh.xml  | 10 ++++++
44709c
 tests/data/metadata/fence_imm.xml      | 10 ++++++
44709c
 tests/data/metadata/fence_ipmilan.xml  | 10 ++++++
44709c
 tests/data/metadata/fence_mpath.xml    | 54 ++++++++++++++++------------
44709c
 tests/data/metadata/fence_rsa.xml      | 10 ++++++
44709c
 tests/data/metadata/fence_rsb.xml      | 10 ++++++
44709c
 20 files changed, 260 insertions(+), 57 deletions(-)
44709c
44709c
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
44709c
index db620e8..2ba98b8 100644
44709c
--- a/fence/agents/lib/fencing.py.py
44709c
+++ b/fence/agents/lib/fencing.py.py
44709c
@@ -399,6 +399,13 @@ all_opt = {
44709c
 		"default" : "onoff",
44709c
 		"choices" : ["onoff", "cycle"],
44709c
 		"order" : 1},
44709c
+	"port_as_ip": {
44709c
+		"getopt" : "",
44709c
+		"longopt" : "port-as-ip",
44709c
+		"help" : "--port-as-ip                   Make \"port/plug\" to be an alias to IP address",
44709c
+		"required" : "0",
44709c
+		"shortdesc" : "Make \"port/plug\" to be an alias to IP address",
44709c
+		"order" : 200},
44709c
 	"on_target": {
44709c
 		"getopt" : "",
44709c
 		"help" : "",
44709c
@@ -451,6 +458,13 @@ def add_dependency_options(options):
44709c
 	for opt in options + ["default"]:
44709c
 		if DEPENDENCY_OPT.has_key(opt):
44709c
 			added_opt.extend([y for y in DEPENDENCY_OPT[opt] if options.count(y) == 0])
44709c
+
44709c
+	if not "port" in (options + added_opt) and not "nodename" in (options + added_opt):
44709c
+		added_opt.append("port_as_ip")
44709c
+		all_opt["port"]["help"] = "-n, --plug=[ip]                IP address or hostname of fencing device " \
44709c
+			"(together with --port-as-ip)"
44709c
+		all_opt["port"]["shortdesc"] = "IP address or hostname of fencing device (together with --port-as-ip)"
44709c
+
44709c
 	return added_opt
44709c
 
44709c
 def fail_usage(message=""):
44709c
@@ -580,6 +594,9 @@ def process_input(avail_opt):
44709c
 	os.putenv("LANG", "C")
44709c
 	os.putenv("LC_ALL", "C")
44709c
 
44709c
+	if "port_as_ip" in avail_opt:
44709c
+		avail_opt.append("port")
44709c
+
44709c
 	##
44709c
 	## Prepare list of options for getopt
44709c
 	#####
44709c
@@ -653,6 +670,10 @@ def process_input(avail_opt):
44709c
 				opt["--"+all_opt[name]["longopt"].rstrip(":")] = value
44709c
 			elif value.lower() in ["1", "yes", "on", "true"]:
44709c
 				opt["--"+all_opt[name]["longopt"]] = "1"
44709c
+
44709c
+	if "--port-as-ip" in opt and "--plug" in opt:
44709c
+		opt["--ip"] = opt["--plug"]
44709c
+
44709c
 	return opt
44709c
 
44709c
 ##
44709c
@@ -755,6 +776,10 @@ def check_input(device_opt, opt):
44709c
 		options["--action"] = "off"
44709c
 
44709c
 	## automatic detection and set of valid UUID from --plug
44709c
+
44709c
+	if "port_as_ip" in device_opt and not "--port-as-ip" in options and "--plug" in options:
44709c
+		fail_usage("Parser error: option -n/--plug is not recognized")
44709c
+
44709c
 	if not options.has_key("--username") and \
44709c
 			device_opt.count("login") and (device_opt.count("no_login") == 0):
44709c
 		fail_usage("Failed: You have to set login name")
44709c
@@ -779,7 +804,8 @@ def check_input(device_opt, opt):
44709c
 			fail_usage("Failed: Identity file " + options["--identity-file"] + " does not exist")
44709c
 
44709c
 	if (0 == ["list", "monitor"].count(options["--action"])) and \
44709c
-		not options.has_key("--plug") and device_opt.count("port") and device_opt.count("no_port") == 0:
44709c
+		not options.has_key("--plug") and device_opt.count("port") and \
44709c
+		device_opt.count("no_port") == 0 and not device_opt.count("port_as_ip"):
44709c
 		fail_usage("Failed: You have to enter plug number or machine identification")
44709c
 
44709c
 	if options.has_key("--password-script"):
44709c
@@ -874,6 +900,8 @@ def show_docs(options, docs=None):
44709c
 		sys.exit(0)
44709c
 
44709c
 	if options.get("--action", "") == "metadata":
44709c
+		if "port_as_ip" in device_opt:
44709c
+			device_opt.remove("separator")
44709c
 		metadata(device_opt, options, docs)
44709c
 		sys.exit(0)
44709c
 
44709c
diff --git a/tests/data/metadata/fence_alom.xml b/tests/data/metadata/fence_alom.xml
44709c
index 6bdefb7..32e6630 100644
44709c
--- a/tests/data/metadata/fence_alom.xml
44709c
+++ b/tests/data/metadata/fence_alom.xml
44709c
@@ -13,6 +13,11 @@
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="secure" unique="0" required="0">
44709c
 		<getopt mixed="-x, --ssh" />
44709c
 		<content type="boolean" default="1"  />
44709c
@@ -108,6 +113,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_amt.xml b/tests/data/metadata/fence_amt.xml
44709c
index b967b68..8524180 100644
44709c
--- a/tests/data/metadata/fence_amt.xml
44709c
+++ b/tests/data/metadata/fence_amt.xml
44709c
@@ -8,6 +8,11 @@
44709c
 		<content type="string" default="23"  />
44709c
 		<shortdesc lang="en">TCP/UDP port to use for connection with device</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="inet6_only" unique="0" required="0">
44709c
 		<getopt mixed="-6, --inet6-only" />
44709c
 		<content type="boolean"  />
44709c
@@ -107,6 +112,11 @@
44709c
 		<content type="string" default="/usr/bin/amttool"  />
44709c
 		<shortdesc lang="en">Path to amttool binary</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_drac.xml b/tests/data/metadata/fence_drac.xml
44709c
index d2871c5..d480669 100644
44709c
--- a/tests/data/metadata/fence_drac.xml
44709c
+++ b/tests/data/metadata/fence_drac.xml
44709c
@@ -8,6 +8,11 @@
44709c
 		<content type="string" default="23"  />
44709c
 		<shortdesc lang="en">TCP/UDP port to use for connection with device</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="cmd_prompt" unique="0" required="0">
44709c
 		<getopt mixed="-c, --command-prompt=[prompt]" />
44709c
 		<content type="string" default="['\\[username\\]# ']"  />
44709c
@@ -18,36 +23,36 @@
44709c
 		<content type="boolean"  />
44709c
 		<shortdesc lang="en">Forces agent to use IPv6 addresses only</shortdesc>
44709c
 	</parameter>
44709c
-	<parameter name="passwd" unique="0" required="0">
44709c
-		<getopt mixed="-p, --password=[password]" />
44709c
-		<content type="string"  />
44709c
-		<shortdesc lang="en">Login password or passphrase</shortdesc>
44709c
-	</parameter>
44709c
 	<parameter name="ipaddr" unique="0" required="1">
44709c
 		<getopt mixed="-a, --ip=[ip]" />
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
-	<parameter name="action" unique="0" required="1">
44709c
-		<getopt mixed="-o, --action=[action]" />
44709c
-		<content type="string" default="reboot"  />
44709c
-		<shortdesc lang="en">Fencing Action</shortdesc>
44709c
-	</parameter>
44709c
 	<parameter name="inet4_only" unique="0" required="0">
44709c
 		<getopt mixed="-4, --inet4-only" />
44709c
 		<content type="boolean"  />
44709c
 		<shortdesc lang="en">Forces agent to use IPv4 addresses only</shortdesc>
44709c
 	</parameter>
44709c
-	<parameter name="login" unique="0" required="1">
44709c
-		<getopt mixed="-l, --username=[name]" />
44709c
-		<content type="string"  />
44709c
-		<shortdesc lang="en">Login Name</shortdesc>
44709c
-	</parameter>
44709c
 	<parameter name="passwd_script" unique="0" required="0">
44709c
 		<getopt mixed="-S, --password-script=[script]" />
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">Script to retrieve password</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="passwd" unique="0" required="0">
44709c
+		<getopt mixed="-p, --password=[password]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">Login password or passphrase</shortdesc>
44709c
+	</parameter>
44709c
+	<parameter name="action" unique="0" required="1">
44709c
+		<getopt mixed="-o, --action=[action]" />
44709c
+		<content type="string" default="reboot"  />
44709c
+		<shortdesc lang="en">Fencing Action</shortdesc>
44709c
+	</parameter>
44709c
+	<parameter name="login" unique="0" required="1">
44709c
+		<getopt mixed="-l, --username=[name]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">Login Name</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="verbose" unique="0" required="0">
44709c
 		<getopt mixed="-v, --verbose" />
44709c
 		<content type="boolean"  />
44709c
@@ -68,30 +73,35 @@
44709c
 		<content type="boolean"  />
44709c
 		<shortdesc lang="en">Display help and exit</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="power_wait" unique="0" required="0">
44709c
+		<getopt mixed="--power-wait=[seconds]" />
44709c
+		<content type="string" default="0"  />
44709c
+		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
44709c
+	</parameter>
44709c
+	<parameter name="login_timeout" unique="0" required="0">
44709c
+		<getopt mixed="--login-timeout=[seconds]" />
44709c
+		<content type="string" default="5"  />
44709c
+		<shortdesc lang="en">Wait X seconds for cmd prompt after login</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="power_timeout" unique="0" required="0">
44709c
 		<getopt mixed="--power-timeout=[seconds]" />
44709c
 		<content type="string" default="20"  />
44709c
 		<shortdesc lang="en">Test X seconds for status change after ON/OFF</shortdesc>
44709c
 	</parameter>
44709c
-	<parameter name="power_wait" unique="0" required="0">
44709c
-		<getopt mixed="--power-wait=[seconds]" />
44709c
+	<parameter name="delay" unique="0" required="0">
44709c
+		<getopt mixed="--delay=[seconds]" />
44709c
 		<content type="string" default="0"  />
44709c
-		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
44709c
+		<shortdesc lang="en">Wait X seconds before fencing is started</shortdesc>
44709c
 	</parameter>
44709c
 	<parameter name="shell_timeout" unique="0" required="0">
44709c
 		<getopt mixed="--shell-timeout=[seconds]" />
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
-	<parameter name="delay" unique="0" required="0">
44709c
-		<getopt mixed="--delay=[seconds]" />
44709c
-		<content type="string" default="0"  />
44709c
-		<shortdesc lang="en">Wait X seconds before fencing is started</shortdesc>
44709c
-	</parameter>
44709c
-	<parameter name="login_timeout" unique="0" required="0">
44709c
-		<getopt mixed="--login-timeout=[seconds]" />
44709c
-		<content type="string" default="5"  />
44709c
-		<shortdesc lang="en">Wait X seconds for cmd prompt after login</shortdesc>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
 	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
diff --git a/tests/data/metadata/fence_dummy.xml b/tests/data/metadata/fence_dummy.xml
44709c
index 61c964e..9295544 100644
44709c
--- a/tests/data/metadata/fence_dummy.xml
44709c
+++ b/tests/data/metadata/fence_dummy.xml
44709c
@@ -3,6 +3,11 @@
44709c
 <longdesc>fence_dummy</longdesc>
44709c
 <vendor-url>http://www.example.com</vendor-url>
44709c
 <parameters>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="status_file" unique="0" required="0">
44709c
 		<getopt mixed="--status-file=[file]" />
44709c
 		<content type="string" default="/tmp/fence_dummy.status"  />
44709c
@@ -43,11 +48,6 @@
44709c
 		<content type="boolean"  />
44709c
 		<shortdesc lang="en">Display help and exit</shortdesc>
44709c
 	</parameter>
44709c
-	<parameter name="separator" unique="0" required="0">
44709c
-		<getopt mixed="-C, --separator=[char]" />
44709c
-		<content type="string" default=","  />
44709c
-		<shortdesc lang="en">Separator for CSV created by operation list</shortdesc>
44709c
-	</parameter>
44709c
 	<parameter name="shell_timeout" unique="0" required="0">
44709c
 		<getopt mixed="--shell-timeout=[seconds]" />
44709c
 		<content type="string" default="3"  />
44709c
@@ -63,6 +63,11 @@
44709c
 		<content type="string" default="20"  />
44709c
 		<shortdesc lang="en">Test X seconds for status change after ON/OFF</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="delay" unique="0" required="0">
44709c
 		<getopt mixed="--delay=[seconds]" />
44709c
 		<content type="string" default="0"  />
44709c
diff --git a/tests/data/metadata/fence_hpblade.xml b/tests/data/metadata/fence_hpblade.xml
44709c
index 4f0976b..a8a2b3a 100644
44709c
--- a/tests/data/metadata/fence_hpblade.xml
44709c
+++ b/tests/data/metadata/fence_hpblade.xml
44709c
@@ -1,6 +1,6 @@
44709c
 
44709c
 <resource-agent name="fence_hpblade" shortdesc="Fence agent for HP BladeSystem" >
44709c
-<longdesc>fence_hpblade is an I/O Fencing agent which can be used with HP BladeSystem. It logs into an enclosure via telnet or ssh and uses the command line interface to power on and off blades.</longdesc>
44709c
+<longdesc>fence_hpblade is an I/O Fencing agent which can be used with HP BladeSystem and HP Integrity Superdome X. It logs into the onboard administrator of an enclosure via telnet or ssh and uses the command line interface to power blades or partitions on or off.</longdesc>
44709c
 <vendor-url>http://www.hp.com</vendor-url>
44709c
 <parameters>
44709c
 	<parameter name="ipport" unique="0" required="0">
44709c
@@ -100,7 +100,7 @@
44709c
 	</parameter>
44709c
 	<parameter name="login_timeout" unique="0" required="0">
44709c
 		<getopt mixed="--login-timeout=[seconds]" />
44709c
-		<content type="string" default="5"  />
44709c
+		<content type="string" default="10"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after login</shortdesc>
44709c
 	</parameter>
44709c
 	<parameter name="power_timeout" unique="0" required="0">
44709c
diff --git a/tests/data/metadata/fence_idrac.xml b/tests/data/metadata/fence_idrac.xml
44709c
index dcb3235..41ab729 100644
44709c
--- a/tests/data/metadata/fence_idrac.xml
44709c
+++ b/tests/data/metadata/fence_idrac.xml
44709c
@@ -12,6 +12,11 @@
44709c
 		<content type="string" default="623"  />
44709c
 		<shortdesc lang="en">TCP/UDP port to use for connection with device</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="inet6_only" unique="0" required="0">
44709c
 		<getopt mixed="-6, --inet6-only" />
44709c
 		<content type="boolean"  />
44709c
@@ -134,6 +139,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_ilo.xml b/tests/data/metadata/fence_ilo.xml
44709c
index ae7fe9c..bcb3d15 100644
44709c
--- a/tests/data/metadata/fence_ilo.xml
44709c
+++ b/tests/data/metadata/fence_ilo.xml
44709c
@@ -39,6 +39,11 @@
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="inet4_only" unique="0" required="0">
44709c
 		<getopt mixed="-4, --inet4-only" />
44709c
 		<content type="boolean"  />
44709c
@@ -119,6 +124,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="3"  />
44709c
diff --git a/tests/data/metadata/fence_ilo2.xml b/tests/data/metadata/fence_ilo2.xml
44709c
index 19a31a1..95bf32a 100644
44709c
--- a/tests/data/metadata/fence_ilo2.xml
44709c
+++ b/tests/data/metadata/fence_ilo2.xml
44709c
@@ -39,6 +39,11 @@
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="inet4_only" unique="0" required="0">
44709c
 		<getopt mixed="-4, --inet4-only" />
44709c
 		<content type="boolean"  />
44709c
@@ -119,6 +124,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="3"  />
44709c
diff --git a/tests/data/metadata/fence_ilo3.xml b/tests/data/metadata/fence_ilo3.xml
44709c
index e6a48bc..e09e5e1 100644
44709c
--- a/tests/data/metadata/fence_ilo3.xml
44709c
+++ b/tests/data/metadata/fence_ilo3.xml
44709c
@@ -12,6 +12,11 @@
44709c
 		<content type="string" default="623"  />
44709c
 		<shortdesc lang="en">TCP/UDP port to use for connection with device</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="inet6_only" unique="0" required="0">
44709c
 		<getopt mixed="-6, --inet6-only" />
44709c
 		<content type="boolean"  />
44709c
@@ -134,6 +139,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_ilo3_ssh.xml b/tests/data/metadata/fence_ilo3_ssh.xml
44709c
index b3531b2..1bf85e7 100644
44709c
--- a/tests/data/metadata/fence_ilo3_ssh.xml
44709c
+++ b/tests/data/metadata/fence_ilo3_ssh.xml
44709c
@@ -15,6 +15,11 @@
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="secure" unique="0" required="0">
44709c
 		<getopt mixed="-x, --ssh" />
44709c
 		<content type="boolean"  />
44709c
@@ -118,6 +123,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_ilo4.xml b/tests/data/metadata/fence_ilo4.xml
44709c
index e7b0d60..9450e56 100644
44709c
--- a/tests/data/metadata/fence_ilo4.xml
44709c
+++ b/tests/data/metadata/fence_ilo4.xml
44709c
@@ -12,6 +12,11 @@
44709c
 		<content type="string" default="623"  />
44709c
 		<shortdesc lang="en">TCP/UDP port to use for connection with device</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="inet6_only" unique="0" required="0">
44709c
 		<getopt mixed="-6, --inet6-only" />
44709c
 		<content type="boolean"  />
44709c
@@ -134,6 +139,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_ilo4_ssh.xml b/tests/data/metadata/fence_ilo4_ssh.xml
44709c
index 2266ee1..3779ce7 100644
44709c
--- a/tests/data/metadata/fence_ilo4_ssh.xml
44709c
+++ b/tests/data/metadata/fence_ilo4_ssh.xml
44709c
@@ -15,6 +15,11 @@
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="secure" unique="0" required="0">
44709c
 		<getopt mixed="-x, --ssh" />
44709c
 		<content type="boolean"  />
44709c
@@ -118,6 +123,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_ilo_mp.xml b/tests/data/metadata/fence_ilo_mp.xml
44709c
index 93503a0..145fb36 100644
44709c
--- a/tests/data/metadata/fence_ilo_mp.xml
44709c
+++ b/tests/data/metadata/fence_ilo_mp.xml
44709c
@@ -13,6 +13,11 @@
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="secure" unique="0" required="0">
44709c
 		<getopt mixed="-x, --ssh" />
44709c
 		<content type="boolean"  />
44709c
@@ -108,6 +113,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_ilo_ssh.xml b/tests/data/metadata/fence_ilo_ssh.xml
44709c
index a9bd1d3..6eb4ae4 100644
44709c
--- a/tests/data/metadata/fence_ilo_ssh.xml
44709c
+++ b/tests/data/metadata/fence_ilo_ssh.xml
44709c
@@ -15,6 +15,11 @@
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="secure" unique="0" required="0">
44709c
 		<getopt mixed="-x, --ssh" />
44709c
 		<content type="boolean"  />
44709c
@@ -118,6 +123,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_imm.xml b/tests/data/metadata/fence_imm.xml
44709c
index 8fbdddd..2e7d65c 100644
44709c
--- a/tests/data/metadata/fence_imm.xml
44709c
+++ b/tests/data/metadata/fence_imm.xml
44709c
@@ -12,6 +12,11 @@
44709c
 		<content type="string" default="623"  />
44709c
 		<shortdesc lang="en">TCP/UDP port to use for connection with device</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="inet6_only" unique="0" required="0">
44709c
 		<getopt mixed="-6, --inet6-only" />
44709c
 		<content type="boolean"  />
44709c
@@ -134,6 +139,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_ipmilan.xml b/tests/data/metadata/fence_ipmilan.xml
44709c
index 199490c..ae528de 100644
44709c
--- a/tests/data/metadata/fence_ipmilan.xml
44709c
+++ b/tests/data/metadata/fence_ipmilan.xml
44709c
@@ -12,6 +12,11 @@
44709c
 		<content type="string" default="623"  />
44709c
 		<shortdesc lang="en">TCP/UDP port to use for connection with device</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="inet6_only" unique="0" required="0">
44709c
 		<getopt mixed="-6, --inet6-only" />
44709c
 		<content type="boolean"  />
44709c
@@ -134,6 +139,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_mpath.xml b/tests/data/metadata/fence_mpath.xml
44709c
index c62dd49..ccd41ff 100644
44709c
--- a/tests/data/metadata/fence_mpath.xml
44709c
+++ b/tests/data/metadata/fence_mpath.xml
44709c
@@ -4,20 +4,25 @@
44709c
 The fence_mpath agent works by having an unique key for each pair of node and device that has to be set also in /etc/multipath.conf. Once registered, a single node will become the reservation holder by creating a "write exclusive, registrants only" reservation on the device(s). The result is that only registered nodes may write to the device(s). When a node failure occurs, the fence_mpath agent will remove the key belonging to the failed node from the device(s). The failed node will no longer be able to write to the device(s). A manual reboot is required.</longdesc>
44709c
 <vendor-url>https://www.sourceware.org/dm/</vendor-url>
44709c
 <parameters>
44709c
-	<parameter name="devices" unique="0" required="0">
44709c
-		<getopt mixed="-d, --devices=[devices]" />
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
 		<content type="string"  />
44709c
-		<shortdesc lang="en">List of devices to use for current operation. Devices can be comma-separated list of device-mapper multipath devices (eg. /dev/dm-3). Each device must support SCSI-3 persistent reservations.</shortdesc>
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
+	<parameter name="action" unique="0" required="1">
44709c
+		<getopt mixed="-o, --action=[action]" />
44709c
+		<content type="string" default="off"  />
44709c
+		<shortdesc lang="en">Fencing Action</shortdesc>
44709c
 	</parameter>
44709c
 	<parameter name="key" unique="0" required="1">
44709c
 		<getopt mixed="-k, --key=[key]" />
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">Key to use for the current operation. This key should be unique to a node and have to be written in /etc/multipath.conf. For the "on" action, the key specifies the key use to register the local node. For the "off" action, this key specifies the key to be removed from the device(s).</shortdesc>
44709c
 	</parameter>
44709c
-	<parameter name="action" unique="0" required="1">
44709c
-		<getopt mixed="-o, --action=[action]" />
44709c
-		<content type="string" default="off"  />
44709c
-		<shortdesc lang="en">Fencing Action</shortdesc>
44709c
+	<parameter name="devices" unique="0" required="0">
44709c
+		<getopt mixed="-d, --devices=[devices]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">List of devices to use for current operation. Devices can be comma-separated list of device-mapper multipath devices (eg. /dev/dm-3). Each device must support SCSI-3 persistent reservations.</shortdesc>
44709c
 	</parameter>
44709c
 	<parameter name="verbose" unique="0" required="0">
44709c
 		<getopt mixed="-v, --verbose" />
44709c
@@ -39,11 +44,31 @@ The fence_mpath agent works by having an unique key for each pair of node and de
44709c
 		<content type="boolean"  />
44709c
 		<shortdesc lang="en">Display help and exit</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="power_wait" unique="0" required="0">
44709c
+		<getopt mixed="--power-wait=[seconds]" />
44709c
+		<content type="string" default="0"  />
44709c
+		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
44709c
+	</parameter>
44709c
+	<parameter name="login_timeout" unique="0" required="0">
44709c
+		<getopt mixed="--login-timeout=[seconds]" />
44709c
+		<content type="string" default="5"  />
44709c
+		<shortdesc lang="en">Wait X seconds for cmd prompt after login</shortdesc>
44709c
+	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="delay" unique="0" required="0">
44709c
 		<getopt mixed="--delay=[seconds]" />
44709c
 		<content type="string" default="0"  />
44709c
 		<shortdesc lang="en">Wait X seconds before fencing is started</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="mpathpersist_path" unique="0" required="0">
44709c
+		<getopt mixed="--mpathpersist-path=[path]" />
44709c
+		<content type="string" default="/usr/sbin/mpathpersist"  />
44709c
+		<shortdesc lang="en">Path to mpathpersist binary</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="shell_timeout" unique="0" required="0">
44709c
 		<getopt mixed="--shell-timeout=[seconds]" />
44709c
 		<content type="string" default="3"  />
44709c
@@ -59,21 +84,6 @@ The fence_mpath agent works by having an unique key for each pair of node and de
44709c
 		<content type="string" default="20"  />
44709c
 		<shortdesc lang="en">Test X seconds for status change after ON/OFF</shortdesc>
44709c
 	</parameter>
44709c
-	<parameter name="power_wait" unique="0" required="0">
44709c
-		<getopt mixed="--power-wait=[seconds]" />
44709c
-		<content type="string" default="0"  />
44709c
-		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
44709c
-	</parameter>
44709c
-	<parameter name="login_timeout" unique="0" required="0">
44709c
-		<getopt mixed="--login-timeout=[seconds]" />
44709c
-		<content type="string" default="5"  />
44709c
-		<shortdesc lang="en">Wait X seconds for cmd prompt after login</shortdesc>
44709c
-	</parameter>
44709c
-	<parameter name="mpathpersist_path" unique="0" required="0">
44709c
-		<getopt mixed="--mpathpersist-path=[path]" />
44709c
-		<content type="string" default="/usr/sbin/mpathpersist"  />
44709c
-		<shortdesc lang="en">Path to mpathpersist binary</shortdesc>
44709c
-	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_rsa.xml b/tests/data/metadata/fence_rsa.xml
44709c
index 749b21d..aa9caaa 100644
44709c
--- a/tests/data/metadata/fence_rsa.xml
44709c
+++ b/tests/data/metadata/fence_rsa.xml
44709c
@@ -13,6 +13,11 @@
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="secure" unique="0" required="0">
44709c
 		<getopt mixed="-x, --ssh" />
44709c
 		<content type="boolean"  />
44709c
@@ -108,6 +113,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
diff --git a/tests/data/metadata/fence_rsb.xml b/tests/data/metadata/fence_rsb.xml
44709c
index 56421fc..b400d7e 100644
44709c
--- a/tests/data/metadata/fence_rsb.xml
44709c
+++ b/tests/data/metadata/fence_rsb.xml
44709c
@@ -13,6 +13,11 @@
44709c
 		<content type="string"  />
44709c
 		<shortdesc lang="en">IP Address or Hostname</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port" unique="0" required="1">
44709c
+		<getopt mixed="-n, --plug=[ip]" />
44709c
+		<content type="string"  />
44709c
+		<shortdesc lang="en">IP address or hostname of fencing device (together with --port-as-ip)</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="secure" unique="0" required="0">
44709c
 		<getopt mixed="-x, --ssh" />
44709c
 		<content type="boolean"  />
44709c
@@ -108,6 +113,11 @@
44709c
 		<content type="string" default="3"  />
44709c
 		<shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc>
44709c
 	</parameter>
44709c
+	<parameter name="port_as_ip" unique="0" required="0">
44709c
+		<getopt mixed="--port-as-ip" />
44709c
+		<content type="boolean"  />
44709c
+		<shortdesc lang="en">Make "port/plug" to be an alias to IP address</shortdesc>
44709c
+	</parameter>
44709c
 	<parameter name="retry_on" unique="0" required="0">
44709c
 		<getopt mixed="--retry-on=[attempts]" />
44709c
 		<content type="string" default="1"  />
44709c
-- 
44709c
1.9.3
44709c