[Cluster-devel] cluster/fence/agents/apc fence_apc.py

jparsons at sourceware.org jparsons at sourceware.org
Wed Jun 27 15:03:45 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	jparsons at sourceware.org	2007-06-27 15:03:45

Modified files:
	fence/agents/apc: fence_apc.py 

Log message:
	fix for new firmware

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/apc/fence_apc.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.4.1&r2=1.1.4.2

--- cluster/fence/agents/apc/fence_apc.py	2007/01/31 20:33:54	1.1.4.1
+++ cluster/fence/agents/apc/fence_apc.py	2007/06/27 15:03:44	1.1.4.2
@@ -58,6 +58,7 @@
 CONTROL_CONSOLE = "Control Console -----"
 DEVICE_MANAGER = "Device Manager -----"
 OUTLET_CONTROL = "- Outlet Control/Configuration -----"
+OUTLET_MANAGE = "- Outlet Management -----"
 CONTROL_OUTLET = "- Control Outlet -----"
 CONTROL_OUTLET_2 = "- Outlet Control "
 COMMAND_SUCCESS = "Command successfully issued."
@@ -592,7 +593,7 @@
     elif i == outlet_search_str5:
       return (NOT_COMPLETE, "1\r")
     
-    elif i.find(OUTLET_CONTROL) != (-1):
+    elif i.find(OUTLET_CONTROL) != (-1) or i.find(OUTLET_MANAGE) != (-1):
       ls = buffer.splitlines()
       portval = port.strip()
       portval = " " + portval + " "




More information about the Cluster-devel mailing list