Blob Blame History Raw
diff -uNr a/fence/agents/ipmilan/fence_ipmilan.py b/fence/agents/ipmilan/fence_ipmilan.py
--- a/fence/agents/ipmilan/fence_ipmilan.py	2016-05-25 12:09:14.065548692 +0200
+++ b/fence/agents/ipmilan/fence_ipmilan.py	2016-05-25 12:11:29.626136708 +0200
@@ -142,6 +142,7 @@
 		"obsolete_ip", "timeout"]
 	define_new_opts()
 
+	all_opt["power_wait"]["default"] = 2
 	if os.path.basename(sys.argv[0]) == "fence_ilo3":
 		all_opt["power_wait"]["default"] = "4"
 		all_opt["method"]["default"] = "cycle"
diff -uNr a/tests/data/metadata/fence_idrac.xml b/tests/data/metadata/fence_idrac.xml
--- a/tests/data/metadata/fence_idrac.xml	2016-05-25 12:09:14.062548723 +0200
+++ b/tests/data/metadata/fence_idrac.xml	2016-05-25 12:11:29.627136697 +0200
@@ -116,7 +116,7 @@
 	</parameter>
 	<parameter name="power_wait" unique="0" required="0">
 		<getopt mixed="--power-wait=[seconds]" />
-		<content type="string" default="0"  />
+		<content type="string" default="2"  />
 		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
 	</parameter>
 	<parameter name="login_timeout" unique="0" required="0">
diff -uNr a/tests/data/metadata/fence_ilo4.xml b/tests/data/metadata/fence_ilo4.xml
--- a/tests/data/metadata/fence_ilo4.xml	2016-05-25 12:09:14.063548713 +0200
+++ b/tests/data/metadata/fence_ilo4.xml	2016-05-25 12:11:29.627136697 +0200
@@ -116,7 +116,7 @@
 	</parameter>
 	<parameter name="power_wait" unique="0" required="0">
 		<getopt mixed="--power-wait=[seconds]" />
-		<content type="string" default="0"  />
+		<content type="string" default="2"  />
 		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
 	</parameter>
 	<parameter name="login_timeout" unique="0" required="0">
diff -uNr a/tests/data/metadata/fence_imm.xml b/tests/data/metadata/fence_imm.xml
--- a/tests/data/metadata/fence_imm.xml	2016-05-25 12:09:14.063548713 +0200
+++ b/tests/data/metadata/fence_imm.xml	2016-05-25 12:11:29.627136697 +0200
@@ -116,7 +116,7 @@
 	</parameter>
 	<parameter name="power_wait" unique="0" required="0">
 		<getopt mixed="--power-wait=[seconds]" />
-		<content type="string" default="0"  />
+		<content type="string" default="2"  />
 		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
 	</parameter>
 	<parameter name="login_timeout" unique="0" required="0">
diff -uNr a/tests/data/metadata/fence_ipmilan.xml b/tests/data/metadata/fence_ipmilan.xml
--- a/tests/data/metadata/fence_ipmilan.xml	2016-05-25 12:09:14.063548713 +0200
+++ b/tests/data/metadata/fence_ipmilan.xml	2016-05-25 12:11:29.627136697 +0200
@@ -116,7 +116,7 @@
 	</parameter>
 	<parameter name="power_wait" unique="0" required="0">
 		<getopt mixed="--power-wait=[seconds]" />
-		<content type="string" default="0"  />
+		<content type="string" default="2"  />
 		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
 	</parameter>
 	<parameter name="login_timeout" unique="0" required="0">