Cluster Project branch, RHEL47, updated. gfs-kernel_2_6_9_76-49-g3096e17
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".
The branch, RHEL47 has been updated
via 3096e17f93719d3551a302eb886703d953b15e21 (commit)
via 5caef3654553344dbf1719a4d6cb8fe986cd5007 (commit)
from 22ee3e40d5efc299f56a21881221ca7e24449764 (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 3096e17f93719d3551a302eb886703d953b15e21
Author: Fabio M. Di Nitto <[email protected]> Date: Fri Apr 25 15:28:18 2008 +0200
[FENCE] Enable new fence agents by default
agents/Makefile:
- enable lib target.
agents/apc/fence_apc.py, bladecenter/fence_bladecenter.py, agents/drac/fence_drac5.py, agents/ilo/fence_ilo.py, agents/lib/fencing.py.py, agents/wti/fence_wti.py:
- add version, build and copyright information.
- fix path to fence agents lib.
agents/bladecenter/Makefile, fence/agents/drac/Makefile, agents/ilo/Makefile, agents/wti/Makefile:
- enable new agents.
bin/Makefile:
- install fence_drac5
- install/uninstall fence library
commit 5caef3654553344dbf1719a4d6cb8fe986cd5007
Author: Marek 'marx' Grac <[email protected]> Date: Tue Apr 22 17:52:01 2008 +0200
fence/agents: New fencings agents
There are new fencing agents based on a new library. They need a 'pexpect' package. If it is possible there is support for both telnet and ssh.
In this patch there are agents for: APC, BladeCenter, Drac 5, ILo and WTI.
Fence agents that support ssh in 4.7 are iLO, DRAC5, WTI, APC, and BladeCenter
-----------------------------------------------------------------------
Summary of changes:
fence/agents/Makefile | 3 +
fence/agents/apc/fence_apc.py | 902 +++----------------------
fence/agents/bladecenter/Makefile | 6 +-
fence/agents/bladecenter/fence_bladecenter.py | 90 +++
fence/agents/drac/Makefile | 39 +-
fence/agents/drac/fence_drac5.py | 79 +++
fence/agents/ilo/Makefile | 4 +-
fence/agents/ilo/fence_ilo.py | 77 +++
fence/agents/{apc => lib}/Makefile | 6 +-
fence/agents/lib/fencing.py.py | 347 ++++++++++
fence/agents/wti/Makefile | 4 +-
fence/agents/wti/fence_wti.py | 109 +++
fence/bin/Makefile | 11 +-
13 files changed, 836 insertions(+), 841 deletions(-)
mode change 100644 => 100755 fence/agents/apc/fence_apc.py
create mode 100755 fence/agents/bladecenter/fence_bladecenter.py
create mode 100755 fence/agents/drac/fence_drac5.py
create mode 100755 fence/agents/ilo/fence_ilo.py
copy fence/agents/{apc => lib}/Makefile (95%)
create mode 100644 fence/agents/lib/fencing.py.py
create mode 100755 fence/agents/wti/fence_wti.pyfence/agents/Makefile +3 -0
@@ -13,6 +13,7 @@ all: + cd lib && ${MAKE} all cd apc && ${MAKE} all cd apc_snmp && ${MAKE} all cd rsa && ${MAKE} all
@@ -40,6 +41,7 @@ all: # cd zvm && ${MAKE} all copytobin: + cd lib && ${MAKE} copytobin cd apc && ${MAKE} copytobin cd apc_snmp && ${MAKE} copytobin cd rsa && ${MAKE} copytobin
@@ -67,6 +69,7 @@ copytobin: # cd zvm && ${MAKE} copytobin clean: + cd lib && ${MAKE} clean cd apc && ${MAKE} clean cd apc_snmp && ${MAKE} clean cd rsa && ${MAKE} clean
fence/agents/apc/fence_apc.py +85 -817
917 lines not on this page · raw message
fence/agents/bladecenter/Makefile +3 -3
@@ -11,7 +11,7 @@ ############################################################################### ############################################################################### -SOURCE= fence_bladecenter.pl +SOURCE= fence_bladecenter.py TARGET= fence_bladecenter top_srcdir=../..
@@ -19,11 +19,11 @@ include ${top_srcdir}/make/defines.mk all: $(TARGET) -fence_bladecenter: fence_bladecenter.pl +fence_bladecenter: fence_bladecenter.py : > $(TARGET) awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) - ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET) echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET) chmod +x $(TARGET)
fence/agents/bladecenter/fence_bladecenter.py new file +90 -0
90 lines not on this page · raw message
fence/agents/drac/Makefile +26 -13
@@ -11,25 +11,38 @@ ############################################################################### ############################################################################### -SOURCE= fence_drac.pl -TARGET= fence_drac +SOURCE1= fence_drac.pl +TARGET1= fence_drac + +SOURCE2= fence_drac5.py +TARGET2= fence_drac5 top_srcdir=../.. include ${top_srcdir}/make/defines.mk -all: $(TARGET) +all: $(TARGET1) $(TARGET2) fence_drac: fence_drac.pl - : > $(TARGET) - awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) - echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) - ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET) - echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET) - awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET) - chmod +x $(TARGET) + : > $(TARGET1) + awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE1) >> $(TARGET1) + echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET1) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET1) + echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET1) + awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE1) >> $(TARGET1) + chmod +x $(TARGET1) + +fence_drac5: fence_drac5.py + : > $(TARGET2) + awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE2) >> $(TARGET2) + echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET2) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET2) + echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET2) + awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE2) >> $(TARGET2) + chmod +x $(TARGET2) -copytobin: ${TARGET} - cp ${TARGET} ${top_srcdir}/bin/${TARGET} +copytobin: ${TARGET1} ${TARGET2} + cp ${TARGET1} ${top_srcdir}/bin/${TARGET1} + cp ${TARGET2} ${top_srcdir}/bin/${TARGET2} clean: - rm -f $(TARGET) + rm -f $(TARGET1) $(TARGET2)
fence/agents/drac/fence_drac5.py new file +79 -0
79 lines not on this page · raw message
fence/agents/ilo/Makefile +2 -2
@@ -11,7 +11,7 @@ ############################################################################### ############################################################################### -SOURCE= fence_ilo.pl +SOURCE= fence_ilo.py TARGET= fence_ilo top_srcdir=../..
@@ -23,7 +23,7 @@ fence_ilo: $(SOURCE) : > $(TARGET) awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) - ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET) echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET) chmod +x $(TARGET)
fence/agents/ilo/fence_ilo.py new file +77 -0
77 lines not on this page · raw message
fence/agents/lib/Makefile renamed from fence/agents/apc/Makefile +3 -3
@@ -11,15 +11,15 @@ ############################################################################### ############################################################################### -SOURCE= fence_apc.py -TARGET= fence_apc +SOURCE= fencing.py.py +TARGET= fencing.py top_srcdir=../.. include ${top_srcdir}/make/defines.mk all: $(TARGET) -fence_apc: fence_apc.py +$(TARGET): $(SOURCE) : > $(TARGET) awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
fence/agents/lib/fencing.py.py new file +347 -0
347 lines not on this page · raw message
fence/agents/wti/Makefile +2 -2
@@ -11,7 +11,7 @@ ############################################################################### ############################################################################### -SOURCE= fence_wti.pl +SOURCE= fence_wti.py TARGET= fence_wti top_srcdir=../..
@@ -23,7 +23,7 @@ $(TARGET): $(SOURCE) : > $(TARGET) awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) - ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET) echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET) chmod +x $(TARGET)
fence/agents/wti/fence_wti.py new file +109 -0
109 lines not on this page · raw message
fence/bin/Makefile +10 -1
@@ -25,6 +25,7 @@ SBINPROGS= \ fence_baytech \ fence_brocade \ fence_drac \ + fence_drac5 \ fence_egenera \ fence_ilo \ fence_manual \
@@ -46,6 +47,8 @@ SHAREPROGS = \ powernet369.mib \ README_SNMP +FENCEPYLIB = \ + fencing.py include ${top_srcdir}/make/defines.mk
@@ -70,7 +73,13 @@ install: all for v in ${SHAREPROGS}; do \ install -m644 $${v} ${sharedir}; \ done + if [ ! -d ${DESTDIR}/usr/lib/fence ]; then \ + install -d ${DESTDIR}/usr/lib/fence; \ + fi + for v in ${FENCEPYLIB}; do \ + install -m644 $${v} ${DESTDIR}/usr/lib/fence; \ + fi uninstall: ${UNINSTALL} ${SBINPROGS} ${sbindir} - + ${UNINSTALL} ${FENCEPYLIB} ${DESTDIR}/usr/lib/fence
hooks/post-receive
--
Cluster Project