Blame SOURCES/bz1579391-fence_impilan-fence_ilo_ssh-add-ilo5-support.patch

554a6e
diff -uNr a/agents/ilo_ssh/fence_ilo_ssh.py b/agents/ilo_ssh/fence_ilo_ssh.py
554a6e
--- a/agents/ilo_ssh/fence_ilo_ssh.py	2018-06-18 12:14:35.000000000 +0200
554a6e
+++ b/agents/ilo_ssh/fence_ilo_ssh.py	2018-06-28 12:26:14.274615003 +0200
554a6e
@@ -54,7 +54,8 @@
554a6e
 device via ssh and reboot a specified outlet. "
554a6e
 	docs["vendorurl"] = "http://www.hp.com"
554a6e
 	docs["symlink"] = [("fence_ilo3_ssh", "Fence agent for HP iLO3 over SSH"),
554a6e
-		("fence_ilo4_ssh", "Fence agent for HP iLO4 over SSH")]
554a6e
+		("fence_ilo4_ssh", "Fence agent for HP iLO4 over SSH"),
554a6e
+		("fence_ilo5_ssh", "Fence agent for HP iLO5 over SSH")]
554a6e
 	show_docs(options, docs)
554a6e
 
554a6e
 	options["eol"] = "\r"
554a6e
diff -uNr a/agents/ipmilan/fence_ipmilan.py b/agents/ipmilan/fence_ipmilan.py
554a6e
--- a/agents/ipmilan/fence_ipmilan.py	2018-06-18 12:14:35.000000000 +0200
554a6e
+++ b/agents/ipmilan/fence_ipmilan.py	2018-06-28 12:26:14.275614990 +0200
554a6e
@@ -169,6 +169,8 @@
554a6e
 		all_opt["lanplus"]["default"] = "1"
554a6e
 	elif os.path.basename(sys.argv[0]) == "fence_ilo4":
554a6e
 		all_opt["lanplus"]["default"] = "1"
554a6e
+	elif os.path.basename(sys.argv[0]) == "fence_ilo5":
554a6e
+		all_opt["lanplus"]["default"] = "1"
554a6e
 
554a6e
 	all_opt["ipport"]["default"] = "623"
554a6e
 	all_opt["method"]["help"] = "-m, --method=[method]          Method to fence (onoff|cycle) (Default: cycle)\n" \
554a6e
@@ -187,6 +189,7 @@
554a6e
 	docs["vendorurl"] = ""
554a6e
 	docs["symlink"] = [("fence_ilo3", "Fence agent for HP iLO3"),
554a6e
 		("fence_ilo4", "Fence agent for HP iLO4"),
554a6e
+		("fence_ilo5", "Fence agent for HP iLO5"),
554a6e
 		("fence_imm", "Fence agent for IBM Integrated Management Module"),
554a6e
 		("fence_idrac", "Fence agent for Dell iDRAC")]
554a6e
 	show_docs(options, docs)