fence-agents: master - build: fix build dependecy
by Fabio M. Di Nitto
Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=com...
Commit: e6c003fa751eeb958642fcf4c14d088c820a57e4
Parent: 375c5a7a4bfd5bc22152e2fe7de007997c63d0c9
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Mon Feb 28 21:52:05 2011 +0100
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Mon Feb 28 21:52:05 2011 +0100
build: fix build dependecy
when editing a file, the corresponding agent was not being regenerated
because the make dependency was missing.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
fence/agents/alom/Makefile.am | 4 +++-
fence/agents/apc/Makefile.am | 4 +++-
fence/agents/apc_snmp/Makefile.am | 4 +++-
fence/agents/baytech/Makefile.am | 4 +++-
fence/agents/bladecenter/Makefile.am | 4 +++-
fence/agents/brocade/Makefile.am | 4 +++-
fence/agents/bullpap/Makefile.am | 4 +++-
fence/agents/cisco_mds/Makefile.am | 4 +++-
fence/agents/cisco_ucs/Makefile.am | 4 +++-
fence/agents/cpint/Makefile.am | 4 +++-
fence/agents/drac/Makefile.am | 4 +++-
fence/agents/drac5/Makefile.am | 4 +++-
fence/agents/eaton_snmp/Makefile.am | 4 +++-
fence/agents/egenera/Makefile.am | 4 +++-
fence/agents/eps/Makefile.am | 4 +++-
fence/agents/ibmblade/Makefile.am | 4 +++-
fence/agents/ifmib/Makefile.am | 5 ++++-
fence/agents/ilo/Makefile.am | 4 +++-
fence/agents/ilo_mp/Makefile.am | 4 +++-
fence/agents/intelmodular/Makefile.am | 4 +++-
fence/agents/ldom/Makefile.am | 4 +++-
fence/agents/lib/Makefile.am | 4 +++-
fence/agents/lpar/Makefile.am | 4 +++-
fence/agents/mcdata/Makefile.am | 4 +++-
fence/agents/rhevm/Makefile.am | 4 +++-
fence/agents/rsa/Makefile.am | 4 +++-
fence/agents/rsb/Makefile.am | 4 +++-
fence/agents/sanbox2/Makefile.am | 4 +++-
fence/agents/scsi/Makefile.am | 4 +++-
fence/agents/virsh/Makefile.am | 4 +++-
fence/agents/vixel/Makefile.am | 4 +++-
fence/agents/vmware/Makefile.am | 4 +++-
fence/agents/wti/Makefile.am | 4 +++-
fence/agents/xcat/Makefile.am | 4 +++-
fence/agents/zvm/Makefile.am | 4 +++-
make/fencebuild.mk | 2 +-
36 files changed, 107 insertions(+), 36 deletions(-)
diff --git a/fence/agents/alom/Makefile.am b/fence/agents/alom/Makefile.am
index f8781cd..972f8a9 100644
--- a/fence/agents/alom/Makefile.am
+++ b/fence/agents/alom/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_alom
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/apc/Makefile.am b/fence/agents/apc/Makefile.am
index e02de1e..355c873 100644
--- a/fence/agents/apc/Makefile.am
+++ b/fence/agents/apc/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_apc
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/apc_snmp/Makefile.am b/fence/agents/apc_snmp/Makefile.am
index ca75b75..65c24fd 100644
--- a/fence/agents/apc_snmp/Makefile.am
+++ b/fence/agents/apc_snmp/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_apc_snmp
-EXTRA_DIST = $(TARGET).py \
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC) \
powernet369.mib \
README
diff --git a/fence/agents/baytech/Makefile.am b/fence/agents/baytech/Makefile.am
index afd0be6..9ad50ec 100644
--- a/fence/agents/baytech/Makefile.am
+++ b/fence/agents/baytech/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_baytech
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/bladecenter/Makefile.am b/fence/agents/bladecenter/Makefile.am
index 6fef8a8..d910196 100644
--- a/fence/agents/bladecenter/Makefile.am
+++ b/fence/agents/bladecenter/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_bladecenter
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/brocade/Makefile.am b/fence/agents/brocade/Makefile.am
index 5ec24ef..f4281ab 100644
--- a/fence/agents/brocade/Makefile.am
+++ b/fence/agents/brocade/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_brocade
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/bullpap/Makefile.am b/fence/agents/bullpap/Makefile.am
index bd06cbf..a708d4f 100644
--- a/fence/agents/bullpap/Makefile.am
+++ b/fence/agents/bullpap/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_bullpap
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/cisco_mds/Makefile.am b/fence/agents/cisco_mds/Makefile.am
index ce1d67c..3d262f6 100644
--- a/fence/agents/cisco_mds/Makefile.am
+++ b/fence/agents/cisco_mds/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_cisco_mds
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/cisco_ucs/Makefile.am b/fence/agents/cisco_ucs/Makefile.am
index 9d8ec54..c12e5ef 100644
--- a/fence/agents/cisco_ucs/Makefile.am
+++ b/fence/agents/cisco_ucs/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_cisco_ucs
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/cpint/Makefile.am b/fence/agents/cpint/Makefile.am
index 9e86293..c02480a 100644
--- a/fence/agents/cpint/Makefile.am
+++ b/fence/agents/cpint/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_cpint
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/drac/Makefile.am b/fence/agents/drac/Makefile.am
index 504a329..0a7de40 100644
--- a/fence/agents/drac/Makefile.am
+++ b/fence/agents/drac/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_drac
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/drac5/Makefile.am b/fence/agents/drac5/Makefile.am
index 80d523c..2654360 100644
--- a/fence/agents/drac5/Makefile.am
+++ b/fence/agents/drac5/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_drac5
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/eaton_snmp/Makefile.am b/fence/agents/eaton_snmp/Makefile.am
index 3c0ed3b..0390800 100644
--- a/fence/agents/eaton_snmp/Makefile.am
+++ b/fence/agents/eaton_snmp/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_eaton_snmp
-EXTRA_DIST = $(TARGET).py \
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC) \
README
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/egenera/Makefile.am b/fence/agents/egenera/Makefile.am
index 74b27a8..5cbb555 100644
--- a/fence/agents/egenera/Makefile.am
+++ b/fence/agents/egenera/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_egenera
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/eps/Makefile.am b/fence/agents/eps/Makefile.am
index 288dab9..59fdd07 100644
--- a/fence/agents/eps/Makefile.am
+++ b/fence/agents/eps/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_eps
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/ibmblade/Makefile.am b/fence/agents/ibmblade/Makefile.am
index 83131b7..f1c94de 100644
--- a/fence/agents/ibmblade/Makefile.am
+++ b/fence/agents/ibmblade/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_ibmblade
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/ifmib/Makefile.am b/fence/agents/ifmib/Makefile.am
index d188e31..a07f264 100644
--- a/fence/agents/ifmib/Makefile.am
+++ b/fence/agents/ifmib/Makefile.am
@@ -2,7 +2,10 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_ifmib
-EXTRA_DIST = $(TARGET).py README
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC) \
+ README
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/ilo/Makefile.am b/fence/agents/ilo/Makefile.am
index 3808112..7b44f59 100644
--- a/fence/agents/ilo/Makefile.am
+++ b/fence/agents/ilo/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_ilo
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/ilo_mp/Makefile.am b/fence/agents/ilo_mp/Makefile.am
index 854ebc8..4e8b18e 100644
--- a/fence/agents/ilo_mp/Makefile.am
+++ b/fence/agents/ilo_mp/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_ilo_mp
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/intelmodular/Makefile.am b/fence/agents/intelmodular/Makefile.am
index 14c56c6..f1e4690 100644
--- a/fence/agents/intelmodular/Makefile.am
+++ b/fence/agents/intelmodular/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_intelmodular
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/ldom/Makefile.am b/fence/agents/ldom/Makefile.am
index a127da4..a229934 100644
--- a/fence/agents/ldom/Makefile.am
+++ b/fence/agents/ldom/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_ldom
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/lib/Makefile.am b/fence/agents/lib/Makefile.am
index ba25f6b..b42fc12 100644
--- a/fence/agents/lib/Makefile.am
+++ b/fence/agents/lib/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fencing.py fencing_snmp.py
-EXTRA_DIST = fencing.py.py fencing_snmp.py.py fence2man.xsl
+SRC = fencing.py.py fencing_snmp.py.py
+
+EXTRA_DIST = $(SRC) fence2man.xsl
fencelibdir = ${FENCEAGENTSLIBDIR}
diff --git a/fence/agents/lpar/Makefile.am b/fence/agents/lpar/Makefile.am
index 1f72461..2af387c 100644
--- a/fence/agents/lpar/Makefile.am
+++ b/fence/agents/lpar/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_lpar
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/mcdata/Makefile.am b/fence/agents/mcdata/Makefile.am
index e87f26d..f9953f5 100644
--- a/fence/agents/mcdata/Makefile.am
+++ b/fence/agents/mcdata/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_mcdata
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/rhevm/Makefile.am b/fence/agents/rhevm/Makefile.am
index cd6222f..9552181 100644
--- a/fence/agents/rhevm/Makefile.am
+++ b/fence/agents/rhevm/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_rhevm
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/rsa/Makefile.am b/fence/agents/rsa/Makefile.am
index 7280c45..4bf1f1f 100644
--- a/fence/agents/rsa/Makefile.am
+++ b/fence/agents/rsa/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_rsa
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/rsb/Makefile.am b/fence/agents/rsb/Makefile.am
index c52b8d4..e8193be 100644
--- a/fence/agents/rsb/Makefile.am
+++ b/fence/agents/rsb/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_rsb
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/sanbox2/Makefile.am b/fence/agents/sanbox2/Makefile.am
index 5399d9f..9564bc8 100644
--- a/fence/agents/sanbox2/Makefile.am
+++ b/fence/agents/sanbox2/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_sanbox2
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/scsi/Makefile.am b/fence/agents/scsi/Makefile.am
index ca87492..ea4d6c1 100644
--- a/fence/agents/scsi/Makefile.am
+++ b/fence/agents/scsi/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_scsi
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/virsh/Makefile.am b/fence/agents/virsh/Makefile.am
index 8d4327c..0f12744 100644
--- a/fence/agents/virsh/Makefile.am
+++ b/fence/agents/virsh/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_virsh
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/vixel/Makefile.am b/fence/agents/vixel/Makefile.am
index 91d7277..f3e1339 100644
--- a/fence/agents/vixel/Makefile.am
+++ b/fence/agents/vixel/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_vixel
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/vmware/Makefile.am b/fence/agents/vmware/Makefile.am
index c8c3ff8..9f41c0d 100644
--- a/fence/agents/vmware/Makefile.am
+++ b/fence/agents/vmware/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_vmware fence_vmware_helper
-EXTRA_DIST = fence_vmware.py fence_vmware_helper.pl
+SRC = fence_vmware.py fence_vmware_helper.pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/wti/Makefile.am b/fence/agents/wti/Makefile.am
index 60699c4..04f556c 100644
--- a/fence/agents/wti/Makefile.am
+++ b/fence/agents/wti/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_wti
-EXTRA_DIST = $(TARGET).py
+SRC = $(TARGET).py
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/xcat/Makefile.am b/fence/agents/xcat/Makefile.am
index 2f7f446..de54526 100644
--- a/fence/agents/xcat/Makefile.am
+++ b/fence/agents/xcat/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_xcat
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/fence/agents/zvm/Makefile.am b/fence/agents/zvm/Makefile.am
index dfbeb35..a75cf66 100644
--- a/fence/agents/zvm/Makefile.am
+++ b/fence/agents/zvm/Makefile.am
@@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_zvm
-EXTRA_DIST = $(TARGET).pl
+SRC = $(TARGET).pl
+
+EXTRA_DIST = $(SRC)
sbin_SCRIPTS = $(TARGET)
diff --git a/make/fencebuild.mk b/make/fencebuild.mk
index 5da3128..4a75366 100644
--- a/make/fencebuild.mk
+++ b/make/fencebuild.mk
@@ -1,4 +1,4 @@
-$(TARGET):
+$(TARGET): $(SRC)
bash $(top_srcdir)/scripts/fenceparse \
$(top_srcdir)/make/copyright.cf REDHAT_COPYRIGHT \
$(VERSION) \
13 years, 1 month
fence-agents: master - build: fence_ipmilan does not need PYTHONPATH to generate manpage
by Fabio M. Di Nitto
Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=com...
Commit: 375c5a7a4bfd5bc22152e2fe7de007997c63d0c9
Parent: b3bc050b5f80153363d6f765cd6fd17af527bdc0
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Mon Feb 28 21:51:38 2011 +0100
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Mon Feb 28 21:51:38 2011 +0100
build: fence_ipmilan does not need PYTHONPATH to generate manpage
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
fence/agents/ipmilan/Makefile.am | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fence/agents/ipmilan/Makefile.am b/fence/agents/ipmilan/Makefile.am
index e2785e2..4868dc6 100644
--- a/fence/agents/ipmilan/Makefile.am
+++ b/fence/agents/ipmilan/Makefile.am
@@ -10,7 +10,6 @@ man_MANS = fence_ipmilan.8
fence_ipmilan.8: fence_ipmilan $(top_srcdir)/fence/agents/lib/fence2man.xsl
set -e && \
- PYTHONPATH=$(top_srcdir)/fence/agents/lib:$(top_builddir)/fence/agents/lib \
./$^ -o metadata > .$@.tmp && \
xsltproc $(top_srcdir)/fence/agents/lib/fence2man.xsl .$@.tmp > $@
13 years, 1 month
fence-agents: master - build: make ready for watchdog integration script
by Fabio M. Di Nitto
Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=com...
Commit: b3bc050b5f80153363d6f765cd6fd17af527bdc0
Parent: 5bee71f95ec9f1c6a1486fe7f16ddeda32865b1d
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Mon Feb 28 21:51:08 2011 +0100
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Mon Feb 28 21:51:08 2011 +0100
build: make ready for watchdog integration script
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
configure.ac | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index f1ad0ef..9b13a98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -133,6 +133,7 @@ AC_ARG_WITH([default-config-file],
LOGDIR=${localstatedir}/log/cluster
CLUSTERVARRUN=${localstatedir}/run/cluster
+CLUSTERDATA=${datadir}/cluster
## do subst
@@ -152,6 +153,7 @@ AC_SUBST([CLUSTERVARRUN])
AC_DEFINE_UNQUOTED([CLUSTERVARRUN], "$(eval echo ${CLUSTERVARRUN})",
[Default cluster var/run directory])
+AC_SUBST([CLUSTERDATA])
AC_SUBST([FENCEAGENTSLIBDIR])
AC_SUBST([SNMPBIN])
13 years, 1 month
cluster: RHEL6 - config: stop leaking memory on config reload
by Fabio M. Di Nitto
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: 678661a05b1c5bb1ab81515ea97e3102d9e3f18c
Parent: 4eb20ad9f8e62d0739c7897d79bc1bccb94e5250
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Thu Feb 24 15:04:31 2011 +0100
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Mon Feb 28 12:49:31 2011 +0100
config: stop leaking memory on config reload
Resolves: rhbz#680155
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
config/plugins/xml/config.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/config/plugins/xml/config.c b/config/plugins/xml/config.c
index 1db23da..7dcf8ba 100644
--- a/config/plugins/xml/config.c
+++ b/config/plugins/xml/config.c
@@ -142,7 +142,5 @@ fail:
if (doc)
xmlFreeDoc(doc);
- xmlCleanupParser();
-
return err;
}
13 years, 1 month
cluster: RHEL57 - fence_wti: Unable to parse output when splitted into several screens
by Marek Grác
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: b1dc0488fadd12866edd79433e52be33e8b7fd80
Parent: f71c978b9e467b40abf4cf692a636956c827e60f
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Mon Feb 21 19:42:18 2011 +0100
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Fri Feb 25 10:13:02 2011 +0100
fence_wti: Unable to parse output when splitted into several screens
Parsing of listing that consists of several screens added.
Resolves: rhbz#679160
---
fence/agents/wti/fence_wti.py | 28 +++++++++++++++++++++++-----
1 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/fence/agents/wti/fence_wti.py b/fence/agents/wti/fence_wti.py
index 5749f76..b980d41 100755
--- a/fence/agents/wti/fence_wti.py
+++ b/fence/agents/wti/fence_wti.py
@@ -23,9 +23,26 @@ BUILD_DATE=""
#END_VERSION_GENERATION
def get_power_status(conn, options):
- try:
+ listing = ""
+
+ try:
+ conn.send("/S"+"\r\n")
+
+ if isinstance(options["-c"], list):
+ re_all = options["-c"]
+ else:
+ re_all = [options["-c"]]
+ re_next = re.compile("Enter: ", re.IGNORECASE)
+ re_all.append(re_next)
+
conn.send("/S"+"\r\n")
- conn.log_expect(options, options["-c"], int(options["-Y"]))
+ result = conn.log_expect(options, re_all, int(options["-Y"]))
+ listing = conn.before
+ if result == (len(re_all) - 1):
+ conn.send("\r\n")
+ conn.log_expect(options, options["-c"], int(options["-Y"]))
+ listing += conn.before
+
except pexpect.EOF:
fail(EC_CONNECTION_LOST)
except pexpect.TIMEOUT:
@@ -33,8 +50,8 @@ def get_power_status(conn, options):
plug_section = 0
outlets = {}
- for line in conn.before.splitlines():
- if (plug_section == 2) and line.find("|") >= 0:
+ for line in listing.splitlines():
+ if (plug_section == 2) and line.find("|") >= 0 and line.startswith("PLUG") == False:
plug_line = [x.strip().lower() for x in line.split("|")]
if len(plug_line) < len(plug_header):
plug_section = -1
@@ -43,7 +60,8 @@ def get_power_status(conn, options):
return plug_line[status_index]
else:
## We already believe that first column contains plug number
- outlets[plug_line[0]] = (plug_line[name_index], plug_line[status_index])
+ if len(plug_line[0]) != 0:
+ outlets[plug_line[0]] = (plug_line[name_index], plug_line[status_index])
elif (plug_section == 1):
plug_section = 2
pass
13 years, 2 months
cluster: RHEL57 - fence_ipmilan: Add "diag" option to support "ipmitool chassis power diag"
by Marek Grác
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: f71c978b9e467b40abf4cf692a636956c827e60f
Parent: 2d4b69c5caab8afe96d35506da9829a6f921cb94
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Thu Jan 13 14:07:50 2011 +0100
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Fri Feb 25 10:11:16 2011 +0100
fence_ipmilan: Add "diag" option to support "ipmitool chassis power diag"
Resolves: rhbz#678061
---
fence/agents/ipmilan/ipmilan.c | 31 +++++++++++++++++++++++++++----
1 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/fence/agents/ipmilan/ipmilan.c b/fence/agents/ipmilan/ipmilan.c
index 2f46078..4371143 100644
--- a/fence/agents/ipmilan/ipmilan.c
+++ b/fence/agents/ipmilan/ipmilan.c
@@ -52,6 +52,7 @@ do { \
#define ST_POWEROFF 2
#define ST_GENERIC_RESET 3
#define ST_CYCLE 4
+#define ST_DIAG 5
#define DEFAULT_TIMEOUT 20
#define DEFAULT_POWER_WAIT 2
@@ -198,7 +199,7 @@ struct xml_parameter_s xml_parameters[]={
{"passwd_script","-S",0,"string",NULL,"Script to retrieve password (if required)"},
{"lanplus","-P",0,"boolean",NULL,"Use Lanplus"},
{"login","-l",0,"string",NULL,"Username/Login (if required) to control power on IPMI device"},
- {"action","-o",0,"string","reboot","Operation to perform. Valid operations: on, off, reboot, status, list, monitor or metadata"},
+ {"action","-o",0,"string","reboot","Operation to perform. Valid operations: on, off, reboot, status, list, diag, monitor or metadata"},
{"timeout","-t",0,"string",NULL,"Timeout (sec) for IPMI operation"},
{"cipher","-C",0,"string",NULL,"Ciphersuite to use (same as ipmitool -C parameter)"},
{"method","-M",0,"string",DEFAULT_METHOD,"Method to fence (onoff or cycle)"},
@@ -337,6 +338,10 @@ build_cmd(char *command, size_t cmdlen, struct ipmi *ipmi, int op)
snprintf(arg, sizeof(arg),
"%s chassis power cycle", cmd);
break;
+ case ST_DIAG:
+ snprintf(arg, sizeof(arg),
+ "%s chassis power diag", cmd);
+ break;
}
strncpy(command, arg, cmdlen);
@@ -554,6 +559,16 @@ ipmi_cycle(struct ipmi *ipmi)
return ret;
}
+static int
+ipmi_diag(struct ipmi *ipmi)
+{
+ int ret;
+
+ ret = ipmi_op(ipmi, ST_DIAG, power_off_complete);
+
+ return ret;
+}
+
/**
Squash all our private data
@@ -1068,7 +1083,8 @@ printf(" -S <path> Script to retrieve password (if required)\n");
printf(" -l <login> Username/Login (if required) to control power\n"
" on IPMI device\n");
printf(" -o <op> Operation to perform.\n");
-printf(" Valid operations: on, off, reboot, status, list or monitor\n");
+printf(" Valid operations: on, off, reboot, status,\n");
+printf(" diag, list or monitor\n");
printf(" -t <timeout> Timeout (sec) for IPMI operation (default %d)\n",DEFAULT_TIMEOUT);
printf(" -T <timeout> Wait X seconds after on/off operation\n");
printf(" -f <timeout> Wait X seconds before fencing is started\n");
@@ -1136,6 +1152,7 @@ void print_xml_metadata(char *pname) {
printf("\t<action name=\"%s\" />\n", "off");
printf("\t<action name=\"%s\" />\n", "reboot");
printf("\t<action name=\"%s\" />\n", "status");
+ printf("\t<action name=\"%s\" />\n", "diag");
printf("\t<action name=\"%s\" />\n", "list");
printf("\t<action name=\"%s\" />\n", "monitor");
printf("\t<action name=\"%s\" />\n", "metadata");
@@ -1308,9 +1325,9 @@ main(int argc, char **argv)
if (strcasecmp(op, "off") && strcasecmp(op, "on") &&
strcasecmp(op, "status") && strcasecmp(op, "reboot") &&
strcasecmp(op, "monitor") && strcasecmp(op, "list") &&
- strcasecmp(op, "metadata")) {
+ strcasecmp(op, "metadata") && strcasecmp(op, "diag")) {
fail_exit("operation must be 'on', 'off', 'status', "
- "'reboot', 'list', 'monitor' or 'metadata'");
+ "'reboot', 'diag', 'list', 'monitor' or 'metadata'");
}
if (strlen(authtype) &&
@@ -1408,6 +1425,12 @@ main(int argc, char **argv)
ret=0;
translated_ret = ERR_OK;
print_final_status=0;
+ } else if (!strcasecmp(op, "diag")) {
+ printf("Pulsing diagnostic interrupt to machine @ IPMI:%s...", ip);
+ fflush(stdout);
+ ret = ipmi_diag(i);
+ translated_ret = (ret==0?ERR_ON_SUCCESSFUL:ERR_ON_FAIL);
+ ret = 0;
}
13 years, 2 months
cluster: RHEL57 - fence agents: add XSLT template
by Marek Grác
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: 2d4b69c5caab8afe96d35506da9829a6f921cb94
Parent: 53fce21aa1b568e3ae65393f1fbce826a3d5c7ef
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Wed Feb 16 18:18:31 2011 +0100
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Fri Feb 25 10:04:59 2011 +0100
fence agents: add XSLT template
---
fence/agents/lib/fence2man.xsl | 53 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/fence/agents/lib/fence2man.xsl b/fence/agents/lib/fence2man.xsl
new file mode 100644
index 0000000..563b3a4
--- /dev/null
+++ b/fence/agents/lib/fence2man.xsl
@@ -0,0 +1,53 @@
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method="text" indent="no"/>
+<xsl:template match="parameter">
+<xsl:param name="show" />
+.TP
+<xsl:if test="$show = 'getopt'">.B <xsl:value-of select="getopt/@mixed" /></xsl:if>
+<xsl:if test="$show = 'stdin'">.B <xsl:value-of select="@name"/></xsl:if>
+.
+<xsl:value-of select="normalize-space(shortdesc)"/>
+<xsl:if test="not(content/@default)"><xsl:if test="@required = 1"> This parameter is always required.</xsl:if></xsl:if>
+<xsl:if test="content/@default"> (Default Value: <xsl:value-of select="content/@default"/>)</xsl:if>
+</xsl:template>
+
+<xsl:template match="action">
+.TP
+\fB<xsl:value-of select="@name"/> \fP
+<xsl:choose>
+<xsl:when test="@name = 'on'">Power on machine.</xsl:when>
+<xsl:when test="@name = 'off'">Power off machine.</xsl:when>
+<xsl:when test="@name = 'reboot'">Reboot machine.</xsl:when>
+<xsl:when test="@name = 'monitor'">Check if fencing device is running. List available plugs/virtual machines or get status of machine (if it does not support more).</xsl:when>
+<xsl:when test="@name = 'meta-data'">Display the XML metadata describing this resource.</xsl:when>
+<xsl:when test="@name = 'list'">List available plugs with aliases/virtual machines if there is support for more then one device. Returns N/A otherwise.</xsl:when>
+<xsl:when test="@name = 'status'">This returns the status of the plug/virtual machine.</xsl:when>
+<!-- Ehhh -->
+<xsl:otherwise> The operational behavior of this is not known.</xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<xsl:template match="/resource-agent">
+.TH FENCE_AGENT 8 2009-10-20 "<xsl:value-of select="@name"/> (Fence Agent)"
+.SH NAME
+<xsl:value-of select="@name" /> - <xsl:value-of select="@shortdesc" />
+.SH DESCRIPTION
+.P
+<xsl:value-of select="longdesc"/>
+.P
+<xsl:value-of select="@name" /> accepts options on the command line as well
+as from stdin. Fenced sends parameters through stdin when it execs the
+agent. <xsl:value-of select="@name" /> can be run by itself with command
+line options. This is useful for testing and for turning outlets on or off
+from scripts.
+<xsl:if test="vendor-url">
+Vendor URL: <xsl:value-of select="vendor-url" />
+</xsl:if>
+.SH PARAMETERS
+<xsl:apply-templates select="parameters"><xsl:with-param name="show">getopt</xsl:with-param></xsl:apply-templates>
+.SH ACTIONS
+<xsl:apply-templates select="actions"/>
+.SH STDIN PARAMETERS
+<xsl:apply-templates select="parameters"><xsl:with-param name="show">stdin</xsl:with-param></xsl:apply-templates>
+</xsl:template>
+</xsl:stylesheet>
13 years, 2 months
cluster: RHEL57 - library: Metadata are not correct if agent does not support on/off
by Marek Grác
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: 53fce21aa1b568e3ae65393f1fbce826a3d5c7ef
Parent: ae7be075867909d08ec2bfbae8a7847a1a838580
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Mon Oct 25 16:57:00 2010 +0200
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Fri Feb 25 10:04:48 2011 +0100
library: Metadata are not correct if agent does not support on/off
Metadata actions are generated according to option io_fencing. Currently
only fence_sanbox is affected as fence_ifmib accepts both enable/disable
and on/off (so io_fencing is not used)
Resolves: rhbz#488959
---
fence/agents/lib/fencing.py.py | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index be2a44e..de8bd90 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -487,9 +487,14 @@ def metadata(avail_opt, options, docs):
print "\t</parameter>"
print "</parameters>"
print "<actions>"
- print "\t<action name=\"on\" />"
- print "\t<action name=\"off\" />"
- print "\t<action name=\"reboot\" />"
+ if avail_opt.count("io_fencing") == 0:
+ print "\t<action name=\"on\" />"
+ print "\t<action name=\"off\" />"
+ print "\t<action name=\"reboot\" />"
+ else:
+ print "\t<action name=\"enable\" />"
+ print "\t<action name=\"disable\" />"
+
print "\t<action name=\"status\" />"
print "\t<action name=\"list\" />"
print "\t<action name=\"monitor\" />"
13 years, 2 months
cluster: RHEL57 - fence-agents: Automatic generation of manual pages
by Marek Grác
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: ae7be075867909d08ec2bfbae8a7847a1a838580
Parent: 56b618c99947d457579c6bc9f0a1de4aae329595
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Wed Feb 16 17:04:51 2011 +0100
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Fri Feb 25 10:04:19 2011 +0100
fence-agents: Automatic generation of manual pages
Change build system to create manual pages directly from fence agents.
Resolves: rhbz#488959
---
fence/agents/apc/Makefile | 10 +-
fence/agents/apc_snmp/Makefile | 10 +-
fence/agents/bladecenter/Makefile | 10 +-
fence/agents/cisco_mds/Makefile | 10 +-
fence/agents/cisco_ucs/Makefile | 10 +-
fence/agents/drac/Makefile | 10 +-
fence/agents/eps/Makefile | 10 +-
fence/agents/ibmblade/Makefile | 18 ++-
fence/agents/ifmib/Makefile | 10 +-
fence/agents/ilo/Makefile | 10 +-
fence/agents/ilo_mp/Makefile | 10 +-
fence/agents/ipmilan/Makefile | 15 ++-
fence/agents/lpar/Makefile | 11 +-
fence/agents/rhevm/Makefile | 10 +-
fence/agents/rsa/Makefile | 10 +-
fence/agents/sanbox2/Makefile | 10 +-
fence/agents/virsh/Makefile | 10 +-
fence/agents/vmware/Makefile | 10 +-
fence/agents/wti/Makefile | 10 +-
fence/make/defines.mk.input | 7 +
fence/man/Makefile | 14 --
fence/man/fence_apc.8 | 99 -----------
fence/man/fence_bladecenter.8 | 96 -----------
fence/man/fence_cisco_mds.8 | 132 ---------------
fence/man/fence_cisco_ucs.8 | 251 ----------------------------
fence/man/fence_eps.8 | 106 ------------
fence/man/fence_ibmblade.8 | 68 --------
fence/man/fence_ifmib.8 | 323 -------------------------------------
fence/man/fence_ilo.8 | 95 -----------
fence/man/fence_ipmilan.8 | 111 -------------
fence/man/fence_lpar.8 | 116 -------------
fence/man/fence_rsa.8 | 69 --------
fence/man/fence_sanbox2.8 | 83 ----------
fence/man/fence_vmware.8 | 137 ----------------
fence/man/fence_wti.8 | 84 ----------
35 files changed, 168 insertions(+), 1827 deletions(-)
diff --git a/fence/agents/apc/Makefile b/fence/agents/apc/Makefile
index c33350a..a1f1570 100644
--- a/fence/agents/apc/Makefile
+++ b/fence/agents/apc/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_apc.py
TARGET= fence_apc
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_apc: fence_apc.py
: > $(TARGET)
@@ -34,5 +35,10 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/apc_snmp/Makefile b/fence/agents/apc_snmp/Makefile
index 29a0df7..b10a9ab 100644
--- a/fence/agents/apc_snmp/Makefile
+++ b/fence/agents/apc_snmp/Makefile
@@ -14,11 +14,12 @@
SOURCE= fence_apc_snmp.py
TARGET= fence_apc_snmp
RESOURCE= powernet369.mib
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_apc_snmp: fence_apc_snmp.py
: > $(TARGET)
@@ -40,5 +41,10 @@ install: all
fi
install -m755 ${RESOURCE} ${mibdir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/bladecenter/Makefile b/fence/agents/bladecenter/Makefile
index 34dd24d..55f0164 100644
--- a/fence/agents/bladecenter/Makefile
+++ b/fence/agents/bladecenter/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_bladecenter.py
TARGET= fence_bladecenter
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_bladecenter: fence_bladecenter.py
: > $(TARGET)
@@ -33,6 +34,11 @@ install: all
install -d ${sbindir}; \
fi
install -m755 ${TARGET} ${sbindir}
+
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/cisco_mds/Makefile b/fence/agents/cisco_mds/Makefile
index f61b83b..d53bbe4 100644
--- a/fence/agents/cisco_mds/Makefile
+++ b/fence/agents/cisco_mds/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_cisco_mds.py
TARGET= fence_cisco_mds
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_cisco_mds: fence_cisco_mds.py
: > $(TARGET)
@@ -34,5 +35,10 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/cisco_ucs/Makefile b/fence/agents/cisco_ucs/Makefile
index 5875ba0..016a009 100644
--- a/fence/agents/cisco_ucs/Makefile
+++ b/fence/agents/cisco_ucs/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_cisco_ucs.py
TARGET= fence_cisco_ucs
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_cisco_ucs: fence_cisco_ucs.py
: > $(TARGET)
@@ -34,5 +35,10 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/drac/Makefile b/fence/agents/drac/Makefile
index ce84f20..208748c 100644
--- a/fence/agents/drac/Makefile
+++ b/fence/agents/drac/Makefile
@@ -16,11 +16,12 @@ TARGET1= fence_drac
SOURCE2= fence_drac5.py
TARGET2= fence_drac5
+MANTARGET= $(TARGET2).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET1) $(TARGET2)
+all: $(TARGET1) $(TARGET2) $(MANTARGET)
fence_drac: fence_drac.pl
: > $(TARGET1)
@@ -46,5 +47,10 @@ install: all
fi
install -m755 ${TARGET1} ${TARGET2} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET1) $(TARGET2)
+ rm -f $(TARGET1) $(TARGET2) $(MANTARGET)
diff --git a/fence/agents/eps/Makefile b/fence/agents/eps/Makefile
index 3e086c9..244f24c 100644
--- a/fence/agents/eps/Makefile
+++ b/fence/agents/eps/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_eps.py
TARGET= fence_eps
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_eps: fence_eps.py
: > $(TARGET)
@@ -34,5 +35,10 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/ibmblade/Makefile b/fence/agents/ibmblade/Makefile
index ec8e62b..1f8b3de 100644
--- a/fence/agents/ibmblade/Makefile
+++ b/fence/agents/ibmblade/Makefile
@@ -13,18 +13,19 @@
SOURCE= fence_ibmblade.py
TARGET= fence_ibmblade
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
$(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)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
+ echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(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)
@@ -33,8 +34,11 @@ install: all
install -d ${sbindir}; \
fi
install -m755 ${TARGET} ${sbindir}
+
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
clean:
- rm -f $(TARGET)
-
-
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/ifmib/Makefile b/fence/agents/ifmib/Makefile
index e564689..7a6a643 100644
--- a/fence/agents/ifmib/Makefile
+++ b/fence/agents/ifmib/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_ifmib.py
TARGET= fence_ifmib
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_ifmib: $(SOURCE)
: > $(TARGET)
@@ -34,5 +35,10 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/ilo/Makefile b/fence/agents/ilo/Makefile
index 089266e..4e2f408 100644
--- a/fence/agents/ilo/Makefile
+++ b/fence/agents/ilo/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_ilo.py
TARGET= fence_ilo
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_ilo: $(SOURCE)
: > $(TARGET)
@@ -33,6 +34,11 @@ install: all
install -d ${sbindir}; \
fi
install -m755 ${TARGET} ${sbindir}
+
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/ilo_mp/Makefile b/fence/agents/ilo_mp/Makefile
index f6e1ddf..aadf954 100644
--- a/fence/agents/ilo_mp/Makefile
+++ b/fence/agents/ilo_mp/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_ilo_mp.py
TARGET= fence_ilo_mp
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_ilo_mp: $(SOURCE)
: > $(TARGET)
@@ -34,5 +35,10 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/ipmilan/Makefile b/fence/agents/ipmilan/Makefile
index 70b9f84..1c84ea3 100644
--- a/fence/agents/ipmilan/Makefile
+++ b/fence/agents/ipmilan/Makefile
@@ -12,6 +12,7 @@
###############################################################################
TARGET= fence_ipmilan
+MANTARGETX= $(TARGET).8
fence_ipmilan_SOURCE= expect.c ipmilan.c
@@ -25,16 +26,26 @@ include ${top_srcdir}/make/defines.mk
CFLAGS+= -DFENCE_RELEASE_NAME=\"${RELEASE}\" -DFENCE
-all: ${TARGET}
+all: ${TARGET} $(MANTARGETX)
fence_ipmilan: ${fence_ipmilan_SOURCE:.c=.o}
${CC} ${CFLAGS} ${LDFLAGS} ${fence_ipmilan_SOURCE:.c=.o} -o $@
+$(MANTARGETX): $(MANTARGETX:.8=) $(top_srcdir)/agents/lib/fence2man.xsl
+ set -e && \
+ ./fence_ipmilan -o metadata > .$@.tmp && \
+ xsltproc $(top_srcdir)/agents/lib/fence2man.xsl .$@.tmp > $@
+
install: all
if [ ! -d ${sbindir} ]; then \
install -d ${sbindir}; \
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGETX} ${mandir}/man8
+
clean:
- rm -f *.o ${TARGET}
+ rm -f *.o ${TARGET} $(MANTARGETX)
diff --git a/fence/agents/lpar/Makefile b/fence/agents/lpar/Makefile
index 142582a..059cb12 100644
--- a/fence/agents/lpar/Makefile
+++ b/fence/agents/lpar/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_lpar.py
TARGET= fence_lpar
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_lpar: fence_lpar.py
: > $(TARGET)
@@ -34,5 +35,11 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/rhevm/Makefile b/fence/agents/rhevm/Makefile
index 4315a91..d870c16 100644
--- a/fence/agents/rhevm/Makefile
+++ b/fence/agents/rhevm/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_rhevm.py
TARGET= fence_rhevm
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_rhevm: $(SOURCE)
: > $(TARGET)
@@ -34,5 +35,10 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/rsa/Makefile b/fence/agents/rsa/Makefile
index 0b948cc..2288891 100644
--- a/fence/agents/rsa/Makefile
+++ b/fence/agents/rsa/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_rsa.py
TARGET= fence_rsa
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_rsa: fence_rsa.py
: > $(TARGET)
@@ -34,5 +35,10 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/sanbox2/Makefile b/fence/agents/sanbox2/Makefile
index f6d84bb..cb5515f 100644
--- a/fence/agents/sanbox2/Makefile
+++ b/fence/agents/sanbox2/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_sanbox2.py
TARGET= fence_sanbox2
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
$(TARGET): $(SOURCE)
: > $(TARGET)
@@ -34,7 +35,12 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/virsh/Makefile b/fence/agents/virsh/Makefile
index 45ca6bf..9e972aa 100644
--- a/fence/agents/virsh/Makefile
+++ b/fence/agents/virsh/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_virsh.py
TARGET= fence_virsh
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
fence_virsh: fence_virsh.py
: > $(TARGET)
@@ -34,6 +35,11 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
+
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/agents/vmware/Makefile b/fence/agents/vmware/Makefile
index 1795e63..c893406 100644
--- a/fence/agents/vmware/Makefile
+++ b/fence/agents/vmware/Makefile
@@ -13,6 +13,7 @@
SOURCE= fence_vmware.py
TARGET= fence_vmware
+MANTARGET= $(TARGET).8
SOURCE2= fence_vmware_helper.pl
TARGET2= fence_vmware_helper
@@ -20,7 +21,7 @@ TARGET2= fence_vmware_helper
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET) $(TARGET2)
+all: $(TARGET) $(TARGET2) $(MANTARGET)
$(TARGET): $(SOURCE)
: > $(TARGET)
@@ -46,7 +47,12 @@ install: all
fi
install -m755 ${TARGET} ${sbindir}
install -m755 ${TARGET2} ${sbindir}
+
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
clean:
- rm -f $(TARGET) $(TARGET2)
+ rm -f $(TARGET) $(TARGET2) $(MANTARGET)
diff --git a/fence/agents/wti/Makefile b/fence/agents/wti/Makefile
index 73f42a4..ff8ca35 100644
--- a/fence/agents/wti/Makefile
+++ b/fence/agents/wti/Makefile
@@ -13,11 +13,12 @@
SOURCE= fence_wti.py
TARGET= fence_wti
+MANTARGET= $(TARGET).8
top_srcdir=../..
include ${top_srcdir}/make/defines.mk
-all: $(TARGET)
+all: $(TARGET) $(MANTARGET)
$(TARGET): $(SOURCE)
: > $(TARGET)
@@ -33,7 +34,12 @@ install: all
install -d ${sbindir}; \
fi
install -m755 ${TARGET} ${sbindir}
+
+ if [ ! -d ${mandir}/man8 ]; then \
+ install -d ${mandir}/man8; \
+ fi
+ install -m644 ${MANTARGET} ${mandir}/man8
clean:
- rm -f $(TARGET)
+ rm -f $(TARGET) $(MANTARGET)
diff --git a/fence/make/defines.mk.input b/fence/make/defines.mk.input
index b270dea..4c5b40f 100644
--- a/fence/make/defines.mk.input
+++ b/fence/make/defines.mk.input
@@ -40,3 +40,10 @@ RANLIB = ranlib
# Default CFLAGS
CFLAGS += -Wall ${INCLUDE}
+
+$(MANTARGET): $(MANTARGET:.8=) $(top_srcdir)/agents/lib/fence2man.xsl
+ set -e && \
+ PYTHONPATH=$(top_srcdir)/agents/lib \
+ python $^ -o metadata > .$@.tmp && \
+ xsltproc $(top_srcdir)/agents/lib/fence2man.xsl .$@.tmp > $@
+
diff --git a/fence/man/Makefile b/fence/man/Makefile
index ad64c0c..3ccc8e6 100644
--- a/fence/man/Makefile
+++ b/fence/man/Makefile
@@ -14,34 +14,20 @@
TARGET8= \
fence.8 \
fence_ack_manual.8 \
- fence_apc.8 \
- fence_rsa.8 \
- fence_bladecenter.8 \
fence_brocade.8 \
- fence_cisco_mds.8 \
fence_drac.8 \
fence_egenera.8 \
- fence_eps.8 \
- fence_ilo.8 \
- fence_lpar.8 \
fence_manual.8 \
fence_mcdata.8 \
fence_node.8 \
fence_rib.8 \
- fence_sanbox2.8 \
fence_scsi.8 \
fence_scsi_test.8 \
fence_tool.8 \
fence_vixel.8 \
- fence_wti.8 \
fence_bullpap.8 \
- fence_ipmilan.8 \
- fence_vmware.8 \
fence_xvm.8 \
fence_xvmd.8 \
- fence_cisco_ucs.8 \
- fence_ifmib.8 \
- fence_rhevm.8 \
fenced.8
UNINSTALL=${top_srcdir}/scripts/uninstall.pl
diff --git a/fence/man/fence_apc.8 b/fence/man/fence_apc.8
deleted file mode 100644
index 45825dc..0000000
--- a/fence/man/fence_apc.8
+++ /dev/null
@@ -1,99 +0,0 @@
-.\" Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
-.\" Copyright (C) 2004 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_apc 8
-
-.SH NAME
-fence_apc - I/O Fencing agent for APC MasterSwitch
-
-.SH SYNOPSIS
-.B
-fence_apc
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_apc is an I/O Fencing agent which can be used with the APC network
-power switch. It logs into device via telnet/ssh and reboots a specified
-outlet. Lengthy telnet/ssh connections should be avoided while a GFS
-cluster is running because the connection will block any necessary
-fencing actions.
-
-fence_apc accepts options on the command line as well as from stdin.
-Fenced sends parameters through stdin when it execs the agent. fence_apc
-can be run by itself with command line options. This is useful for testing
-and for turning outlets on or off from scripts.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fR
-IP address or hostname of the switch.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-l\fP \fIlogin\fR
-Login name.
-.TP
-\fB-n\fP \fI[<switch>:]outlet\fR
-The outlet number to act upon.
-.TP
-\fB-o\fP \fIaction\fR
-The action required. Reboot (default), Status, Off or On.
-.TP
-\fB-p\fP \fIpassword\fR
-Password for login or for passphrase.
-.TP
-\fB-S\fP \fIscript\fR
-Script to run to retrieve password.
-.TP
-\fB-x\fP
-Use secure connection over ssh (using version 1, cipher blowfish).
-.TP
-\fB-T\fP
-Test only. Answer NO to the confirmation prompt instead of YES.
-.TP
-\fB-v\fP
-Verbose. Record telnet session in /tmp/apclog.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_apc.
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of the switch.
-.TP
-\fIlogin = < param >\fR
-Login name.
-.TP
-\fIoption = < param >\fR
-The action required. Reboot (default), Off or On.
-.TP
-\fIpasswd = < param >\fR
-Password for login or for passphrase.
-\fIpasswd_script = < param >\fR
-Script to run to retrieve password.
-\fIsecure = < param >\fR
-Use secure connection over ssh.
-.TP
-\fIport = < param >\fR
-The outlet number to act upon.
-.TP
-\fIswitch = < param >\fR
-The switch to operate on. Defaults to "1" if not specified.
-.TP
-\fItest = < param >\fR
-Test only. Answer NO to the confirmation prompt instead of YES.
-.TP
-\fIverbose = < param >\fR
-Verbose. Record telnet session in /tmp/apclog.
-
-.SH SEE ALSO
-fence(8), fence_node(8)
diff --git a/fence/man/fence_bladecenter.8 b/fence/man/fence_bladecenter.8
deleted file mode 100644
index 70c0b00..0000000
--- a/fence/man/fence_bladecenter.8
+++ /dev/null
@@ -1,96 +0,0 @@
-.\" Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
-.\" Copyright (C) 2004 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_bladecenter 8
-
-.SH NAME
-fence_bladecenter - I/O Fencing agent for IBM Bladecenter
-
-.SH SYNOPSIS
-.B
-fence_bladecenter
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_bladecenter is an I/O Fencing agent which can be used with IBM
-Bladecenters with recent enough firmware that includes telnet support. It
-logs into a Brocade chasis via telnet or ssh and uses the command line
-interface to power on and off blades. fence_bladecenter accepts options on
-the command line or from stdin.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fP
-IP address of the Bladecenter.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-l\fP \fIlogin\fP
-Login name for the Bladecenter.
-.TP
-\fB-n\fP \fIblade\fP
-The blade to operate on.
-.TP
-\fB-o\fP \fIaction\fP
-The action required. Valid actions are on, off, reboot (default) and status.
-.TP
-\fB-p\fP \fIpassword\fP
-Password for login or for passphrase.
-.TP
-\fB-S\fP \fIscript\fR
-Script to run to retrieve password.
-.TP
-\fB-k\fP \fIidentity\fR
-Identity file (private key) for ssh connection.
-.TP
-\fB-x\fP
-Use secure connection over ssh.
-.TP
-\fB-q\fP
-Quiet mode: print only error messages.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-.TP
-\fB-v\fP \fIdebuglog\fP
-Log the telnet session to \fIdebuglog\fP for debugging purposes.
-
-.SH STDIN PARAMETERS
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_bladecenter.
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of the switch.
-.TP
-\fIlogin = < param >\fR
-Login name.
-.TP
-\fIoption = < param >\fR
-The action required. disable (default) or enable.
-.TP
-\fIpasswd = < param >\fR
-Password for login or for passphrase.
-.TP
-\fIpasswd_script = < param >\fR
-Script to run to retrieve password.
-.TP
-\fIidentity_file = < param > \fR
-Identity file (private key) for ssh.
-.TP
-\fIsecure = < param >\fR
-Use secure connection over ssh.
-.TP
-\fIblade = < param >\fR
-The blade to operate on.
-.TP
-\fIdebuglog = < param>\fR
-Optional parameter to send debug transcript of the telnet session to a log file
-
-.SH SEE ALSO
-fence(8), fence_node(8)
diff --git a/fence/man/fence_cisco_mds.8 b/fence/man/fence_cisco_mds.8
deleted file mode 100644
index 8c58d63..0000000
--- a/fence/man/fence_cisco_mds.8
+++ /dev/null
@@ -1,132 +0,0 @@
-.TH fence_cisco_mds 8
-
-.SH NAME
-fence_cisco_mds - I/O Fencing agent for Cisco MDS 9000 series SNMP devices
-
-.SH SYNOPSIS
-.B
-fence_cisco_mds
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_cisco_mds is an I/O Fencing agent which can be used with any Cisco MDS
-9000 series with SNMP enabled device. Agent internally uses snmpget, snmpset
-and snmpwalk command.
-
-fence_cisco_mds accepts options on the command line as well as from stdin.
-Fenced sends parameters through stdin when it execs the agent. fence_cisco_mds
-can be run by itself with command line options. This is useful for testing.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fR
-IP address or hostname of the Cisco device. Can be used any syntax supported by snmpget.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-c\fP \fIcommunity\fR
-The read/write community string to be used in the request.
-.TP
-\fB-n\fP \fIname\fR
-Name of port to fence (fc1/1)
-.TP
-\fB-p\fP \fIpassword\fR
-Password for login for SNMP v3 (authentication protocol pass phrase).
-.TP
-\fB-P\fP \fIpassword\fR
-Password for privacy for SNMP v3 (privacy protocol password).
-.TP
-\fB-S\fP \fIscript\fR
-Script to run to retrieve password for login for SNMP v3 (authentication protocol pass phrase).
-.TP
-\fB-R\fP \fIscript\fR
-Script to run to retrieve privacy for SNMP v3 (privacy protocol password).
-.TP
-\fB-l\fP \fIlogin\fR
-Login name for SNMP v3 (security name).
-.TP
-\fB-d\fP \fIversion\fR
-SNMP version (1,2c,3).
-.TP
-\fB-b\fP \fIauth_protocol\fR
-SNMP authentication protocol (MD5|SHA).
-.TP
-\fB-E\fP \fIsec_level\fR
-SNMP security level (noAuthNoPriv|authNoPriv|authPriv).
-.TP
-\fB-B\fP \fIpriv_protocol\fR
-SNMP privacy protocol (DES|AES).
-.TP
-\fB-u\fP \fIudp_port\fR
-UDP/TCP port to use.
-.TP
-\fB-o\fP \fIaction\fR
-The action required. off (default), on, status, list or monitor. Deprecated
-options (enable -> on and disable -> off) can be used too.
-.TP
-\fB-v\fP
-Verbose. Record session to stdout, or debug file if specified (see -D).
-.TP
-\fB-D\fP
-Specifies file, where will be written debug messages from session.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_cisco_mds.
-.TP
-\fIipaddr = < param >\fR
-IP address or hostname of the Cisco device. Can be used any syntax supported by snmpget.
-.TP
-\fIcommunity = < param >\fR
-The read/write community string to be used in the request.
-.TP
-\fIport = < param >\fR
-Name of port to fence (fc1/1)
-.TP
-\fIpasswd = < param >\fR
-Password for login for SNMP v3 (authentication protocol pass phrase).
-.TP
-\fIsnmp_priv_passwd\fR
-Password for privacy for SNMP v3 (privacy protocol password).
-.TP
-\fIpasswd_script = < param >\fR
-Script to run to retrieve password for login for SNMP v3 (authentication protocol pass phrase).
-.TP
-\fIsnmp_priv_passwd_script = < param>\fR
-Password for privacy for SNMP v3 (privacy protocol password).
-.TP
-\fIlogin = < param >\fR
-Login name for SNMP v3 (security name).
-.TP
-\fIsnmp_version = < param >\fR
-SNMP version (1,2c,3).
-.TP
-\fIsnmp_auth_prot = < param >\fR
-SNMP authentication protocol (MD5|SHA).
-.TP
-\fIsnmp_sec_level = < param >\fR
-SNMP security level (noAuthNoPriv|authNoPriv|authPriv).
-.TP
-\fIsnmp_priv_prot = < param >\fR
-SNMP privacy protocol (DES|AES).
-.TP
-\fIudpport = < param >\fR
-UDP/TCP port to use.
-.TP
-\fIaction = < param >\fR
-The action required. off (default), on, status, list or monitor. Deprecated
-options (enable -> on and disable -> off) can be used too.
-.TP
-\fIverbose = < param >\fR
-Verbose. Record session to stdout, or debug file if specified (see debug).
-.TP
-\fIdebug = < param >\fR
-Specifies file, where will be written debug messages from session.
-
-.SH SEE ALSO
-fence(8), fence_node(8)
diff --git a/fence/man/fence_cisco_ucs.8 b/fence/man/fence_cisco_ucs.8
deleted file mode 100644
index 6afa32b..0000000
--- a/fence/man/fence_cisco_ucs.8
+++ /dev/null
@@ -1,251 +0,0 @@
-
-.TH FENCE_AGENT 8 2009-10-20 "fence_cisco_ucs (Fence Agent)"
-.SH NAME
-fence_cisco_ucs - Fence agent for Cisco UCS
-.SH DESCRIPTION
-.P
-fence_cisco_ucs is an I/O Fencing agent which can be used with Cisco UCS to fence machines.
-.P
-fence_cisco_ucs accepts options on the command line as well
-as from stdin. Fenced sends parameters through stdin when it execs the
-agent. fence_cisco_ucs can be run by itself with command
-line options. This is useful for testing and for turning outlets on or off
-from scripts.
-
-Vendor URL: http://www.cisco.com
-.SH PARAMETERS
-
-
-.TP
-.B -o, --action=<action>
-.
-Fencing Action (Default Value: reboot)
-
-.TP
-.B -a, --ip=<ip>
-.
-IP Address or Hostname This parameter is always required.
-
-.TP
-.B -l, --username=<name>
-.
-Login Name This parameter is always required.
-
-.TP
-.B -p, --password=<password>
-.
-Login password or passphrase
-
-.TP
-.B -S, --password-script=<script>
-.
-Script to retrieve password
-
-.TP
-.B -z, --ssl
-.
-SSL connection
-
-.TP
-.B -4, --inet4-only
-.
-Forces agent to use IPv4 addresses only
-
-.TP
-.B -6, --inet6-only
-.
-Forces agent to use IPv6 addresses only
-
-.TP
-.B -u, --ipport=<port>
-.
-TCP port to use for connection with device
-
-.TP
-.B -n, --plug=<id>
-.
-Physical plug number or name of virtual machine This parameter is always required.
-
-.TP
-.B -v, --verbose
-.
-Verbose mode
-
-.TP
-.B -D, --debug-file=<debugfile>
-.
-Write debug information to given file
-
-.TP
-.B -V, --version
-.
-Display version information and exit
-
-.TP
-.B -h, --help
-.
-Display help and exit
-
-.TP
-.B -C, --separator=<char>
-.
-Separator for CSV created by operation list (Default Value: ,)
-
-.TP
-.B --power-wait
-.
-Wait X seconds after issuing ON/OFF (Default Value: 0)
-
-.TP
-.B --power-timeout
-.
-Test X seconds for status change after ON/OFF (Default Value: 20)
-
-.TP
-.B --shell-timeout
-.
-Wait X seconds for cmd prompt after issuing command (Default Value: 3)
-
-.TP
-.B --retry-on
-.
-Count of attempts to retry power on (Default Value: 1)
-
-.TP
-.B --delay
-.
-Wait X seconds before fencing is started (Default Value: 0)
-
-.SH ACTIONS
-
-
-.TP
-\fBon \fP
-Power on machine.
-
-.TP
-\fBoff \fP
-Power off machine.
-
-.TP
-\fBreboot \fP
-Reboot machine.
-
-.TP
-\fBstatus \fP
-This returns the status of the plug/virtual machine.
-
-.TP
-\fBlist \fP
-List available plugs with aliases/virtual machines if there is support for more then one device. Returns N/A otherwise.
-
-.TP
-\fBmonitor \fP
-Check if fencing device is running. List available plugs/virtual machines or get status of machine (if it does not support more).
-
-.TP
-\fBmetadata \fP
- The operational behavior of this is not known.
-
-.SH STDIN PARAMETERS
-
-
-.TP
-.B action
-.
-Fencing Action (Default Value: reboot)
-
-.TP
-.B ipaddr
-.
-IP Address or Hostname This parameter is always required.
-
-.TP
-.B login
-.
-Login Name This parameter is always required.
-
-.TP
-.B passwd
-.
-Login password or passphrase
-
-.TP
-.B passwd_script
-.
-Script to retrieve password
-
-.TP
-.B ssl
-.
-SSL connection
-
-.TP
-.B inet4_only
-.
-Forces agent to use IPv4 addresses only
-
-.TP
-.B inet6_only
-.
-Forces agent to use IPv6 addresses only
-
-.TP
-.B ipport
-.
-TCP port to use for connection with device
-
-.TP
-.B port
-.
-Physical plug number or name of virtual machine This parameter is always required.
-
-.TP
-.B verbose
-.
-Verbose mode
-
-.TP
-.B debug
-.
-Write debug information to given file
-
-.TP
-.B version
-.
-Display version information and exit
-
-.TP
-.B help
-.
-Display help and exit
-
-.TP
-.B separator
-.
-Separator for CSV created by operation list (Default Value: ,)
-
-.TP
-.B power_wait
-.
-Wait X seconds after issuing ON/OFF (Default Value: 0)
-
-.TP
-.B power_timeout
-.
-Test X seconds for status change after ON/OFF (Default Value: 20)
-
-.TP
-.B shell_timeout
-.
-Wait X seconds for cmd prompt after issuing command (Default Value: 3)
-
-.TP
-.B retry_on
-.
-Count of attempts to retry power on (Default Value: 1)
-
-.TP
-.B delay
-.
-Wait X seconds before fencing is started (Default Value: 0)
diff --git a/fence/man/fence_eps.8 b/fence/man/fence_eps.8
deleted file mode 100644
index 3685837..0000000
--- a/fence/man/fence_eps.8
+++ /dev/null
@@ -1,106 +0,0 @@
-.TH fence_eps 8
-
-.SH NAME
-fence_eps - I/O Fencing agent for ePowerSwitch 8M+ power switch
-
-.SH SYNOPSIS
-.B
-fence_eps
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_eps is an I/O Fencing agent which can be used with the ePowerSwitch 8M+ power
-switch to fence connected machines. Fence agent works (in 2008/10/21) ONLY on 8M+
-device, because this is only one, which has support for hidden page feature.
-
-Agent basically works by connecting to hidden page and pass appropriate arguments
-to GET request. This means, that hidden page feature must be enabled and properly
-configured.
-
-fence_eps accepts options on the command line as well as from stdin.
-Fenced sends parameters through stdin when it execs the agent. fence_eps
-can be run by itself with command line options. This is useful for testin
-and for turning outlets on or off from scripts.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fR
-IP address or hostname of ePowerSwitch 8M+ device. If device is configured
-to listen on nonstandard port (other than 80), it's possible to use :port syntax
-(ex. psip:8080).
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-l\fP \fIlogin\fR
-Login name.
-.TP
-\fB-o\fP \fIaction\fR
-The action required. This can be reboot (default), status, off or on.
-.TP
-\fB-p\fP \fIpassword\fR
-Password for login.
-.TP
-\fB-S\fP \fIscript\fR
-Script to run to retrieve password.
-.TP
-\fB-n\fP \fIname\fR
-Physical plug number. Entered without P and with preceding zero (where is needed).
-.TP
-\fB-c\fP \fIname\fR
-Name of hidden page. Default is (hidden.htm)
-.TP
-\fB-T\fP
-Test only. Answer NO to the confirmation prompt instead of YES.
-.TP
-\fB-q\fP
-Quiet mode.
-.TP
-\fB-v\fP
-Verbose. Record session to stdout, or debug file if specified (see -D).
-.TP
-\fB-D\fP
-Specifies file, where will be written debug messages from session.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_eps.
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of ePowerSwitch 8M+ device. If device is configured
-to listen on nonstandard port (other than 80), it's possible to use :port syntax
-(ex. psip:8080).
-.TP
-\fIlogin = < param >\fR
-Login name.
-.TP
-\fIoption = < param >\fR
-The action required. This can be reboot (default), status, off or on.
-.TP
-\fIpasswd = < param >\fR
-Password for login.
-.TP
-\fIpasswd_script = < param >\fR
-Script to run to retrieve password.
-.TP
-\fIport = < param >\fR
-Physical plug number. Entered without P and with preceding zero (where is needed)
-.TP
-\fIhidden_page = < param >\fR
-Name of hidden page. Default is (hidden.htm)
-.TP
-\fItest = < param >\fR
-Test only. Answer NO to the confirmation prompt instead of YES.
-.TP
-\fIverbose = < param >\fR
-Verbose. Record session to stdout, or debug file if specified (see debug).
-.TP
-\fIdebug = < param >\fR
-Specifies file, where will be written debug messages from session.
-
-.SH SEE ALSO
-fence(8), fence_node(8)
diff --git a/fence/man/fence_ibmblade.8 b/fence/man/fence_ibmblade.8
deleted file mode 100644
index 5d1b1ba..0000000
--- a/fence/man/fence_ibmblade.8
+++ /dev/null
@@ -1,68 +0,0 @@
-.\" Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
-.\" Copyright (C) 2004 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_ibmblade 8
-
-.SH NAME
-fence_ibmblade - I/O Fencing agent for IBM BladeCenter
-
-.SH SYNOPSIS
-.B
-fence_ibmblade
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_ibmblade is an I/O Fencing agent which can be used with IBM BladeCenter
-chassis. It issues SNMP Set request to BladeCenter chassins, rebooting, powering
-up or down the specified Blade Server.
-
-fence_ibmblade accepts options on the command line as well as from stdin.
-fenced sends parameters through stdin when it execs the agent. fence_ibmblade
-can be run by itself with command line options which is useful for testing.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fP
-IP address of the BladeCenter chassis.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-c\fP \fIcommunity\fP
-SNMP community string to use.
-.TP
-\fB-n\fP \fIport\fP
-The Blade port number to disable.
-.TP
-\fB-o\fP \fIaction\fP
-The action required. Reboot (default), On or off.
-.TP
-\fB-q\fP
-Quiet mode: print only error messages.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_ibmblade.
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of the switch.
-.TP
-\fIcommunity = < param >\fR
-SNMP community.
-.TP
-\fIoption = < param >\fR
-The action required. reboot (default), on or off.
-.TP
-\fIport = < param >\fR
-The Blade port number to disable.
-
-.SH SEE ALSO
-fence(8), fence_node(8)
diff --git a/fence/man/fence_ifmib.8 b/fence/man/fence_ifmib.8
deleted file mode 100644
index 914d43a..0000000
--- a/fence/man/fence_ifmib.8
+++ /dev/null
@@ -1,323 +0,0 @@
-
-.TH FENCE_AGENT 8 2009-10-20 "fence_ifmib (Fence Agent)"
-.SH NAME
-fence_ifmib - Fence agent for IF MIB
-.SH DESCRIPTION
-.P
-fence_ifmib is an I/O Fencing agent which can be used with any SNMP IF-MIB capable device.
-.P
-It was written with managed ethernet switches in mind, in order to fence iSCSI SAN connections. However, there are many devices that support the IF-MIB interface. The agent uses IF-MIB::ifAdminStatus to control the state of an interface.
-.P
-fence_ifmib accepts options on the command line as well
-as from stdin. Fenced sends parameters through stdin when it execs the
-agent. fence_ifmib can be run by itself with command
-line options. This is useful for testing and for turning outlets on or off
-from scripts.
-
-Vendor URL: http://www.ietf.org/wg/concluded/ifmib.html
-.SH PARAMETERS
-
-
-.TP
-.B -o, --action=<action>
-.
-Fencing Action (Default Value: reboot)
-
-.TP
-.B -a, --ip=<ip>
-.
-IP Address or Hostname This parameter is always required.
-
-.TP
-.B -l, --username=<name>
-.
-Login Name
-
-.TP
-.B -p, --password=<password>
-.
-Login password or passphrase
-
-.TP
-.B -S, --password-script=<script>
-.
-Script to retrieve password
-
-.TP
-.B -n, --plug=<id>
-.
-Physical plug number or name of virtual machine This parameter is always required.
-
-.TP
-.B -d, --snmp-version=<ver>
-.
-Specifies SNMP version to use (1,2c,3)
-
-.TP
-.B -c, --community=<community>
-.
-Set the community string
-
-.TP
-.B -b, --snmp-auth-prot=<prot>
-.
-Set authentication protocol (MD5|SHA)
-
-.TP
-.B -E, --snmp-sec-level=<level>
-.
-Set security level (noAuthNoPriv|authNoPriv|authPriv)
-
-.TP
-.B -B, --snmp-priv-prot=<prot>
-.
-Set privacy protocol (DES|AES)
-
-.TP
-.B -P, --snmp-priv-passwd=<pass>
-.
-Set privacy protocol password
-
-.TP
-.B -R, --snmp-priv-passwd-script
-.
-Script to run to retrieve privacy password
-
-.TP
-.B -u, --udpport
-.
-UDP/TCP port to use for connection with device (Default Value: 161)
-
-.TP
-.B -4, --inet4-only
-.
-Forces agent to use IPv4 addresses only
-
-.TP
-.B -6, --inet6-only
-.
-Forces agent to use IPv6 addresses only
-
-.TP
-.B -v, --verbose
-.
-Verbose mode
-
-.TP
-.B -D, --debug-file=<debugfile>
-.
-Write debug information to given file
-
-.TP
-.B -V, --version
-.
-Display version information and exit
-
-.TP
-.B -h, --help
-.
-Display help and exit
-
-.TP
-.B -C, --separator=<char>
-.
-Separator for CSV created by operation list (Default Value: ,)
-
-.TP
-.B --power-timeout
-.
-Test X seconds for status change after ON/OFF (Default Value: 20)
-
-.TP
-.B --shell-timeout
-.
-Wait X seconds for cmd prompt after issuing command (Default Value: 3)
-
-.TP
-.B --login-timeout
-.
-Wait X seconds for cmd prompt after login (Default Value: 5)
-
-.TP
-.B --power-wait
-.
-Wait X seconds after issuing ON/OFF (Default Value: 0)
-
-.TP
-.B --retry-on
-.
-Count of attempts to retry power on (Default Value: 1)
-
-.TP
-.B --delay
-.
-Wait X seconds before fencing is started (Default Value: 0)
-
-.SH ACTIONS
-
-
-.TP
-\fBon \fP
-Power on machine.
-
-.TP
-\fBoff \fP
-Power off machine.
-
-.TP
-\fBreboot \fP
-Reboot machine.
-
-.TP
-\fBstatus \fP
-This returns the status of the plug/virtual machine.
-
-.TP
-\fBlist \fP
-List available plugs with aliases/virtual machines if there is support for more then one device. Returns N/A otherwise.
-
-.TP
-\fBmonitor \fP
-Check if fencing device is running. List available plugs/virtual machines or get status of machine (if it does not support more).
-
-.TP
-\fBmetadata \fP
- The operational behavior of this is not known.
-
-.SH STDIN PARAMETERS
-
-
-.TP
-.B action
-.
-Fencing Action (Default Value: reboot)
-
-.TP
-.B ipaddr
-.
-IP Address or Hostname This parameter is always required.
-
-.TP
-.B login
-.
-Login Name
-
-.TP
-.B passwd
-.
-Login password or passphrase
-
-.TP
-.B passwd_script
-.
-Script to retrieve password
-
-.TP
-.B port
-.
-Physical plug number or name of virtual machine This parameter is always required.
-
-.TP
-.B snmp_version
-.
-Specifies SNMP version to use (1,2c,3)
-
-.TP
-.B community
-.
-Set the community string
-
-.TP
-.B snmp_auth_prot
-.
-Set authentication protocol (MD5|SHA)
-
-.TP
-.B snmp_sec_level
-.
-Set security level (noAuthNoPriv|authNoPriv|authPriv)
-
-.TP
-.B snmp_priv_prot
-.
-Set privacy protocol (DES|AES)
-
-.TP
-.B snmp_priv_passwd
-.
-Set privacy protocol password
-
-.TP
-.B snmp_priv_passwd_script
-.
-Script to run to retrieve privacy password
-
-.TP
-.B udpport
-.
-UDP/TCP port to use for connection with device (Default Value: 161)
-
-.TP
-.B inet4_only
-.
-Forces agent to use IPv4 addresses only
-
-.TP
-.B inet6_only
-.
-Forces agent to use IPv6 addresses only
-
-.TP
-.B verbose
-.
-Verbose mode
-
-.TP
-.B debug
-.
-Write debug information to given file
-
-.TP
-.B version
-.
-Display version information and exit
-
-.TP
-.B help
-.
-Display help and exit
-
-.TP
-.B separator
-.
-Separator for CSV created by operation list (Default Value: ,)
-
-.TP
-.B power_timeout
-.
-Test X seconds for status change after ON/OFF (Default Value: 20)
-
-.TP
-.B shell_timeout
-.
-Wait X seconds for cmd prompt after issuing command (Default Value: 3)
-
-.TP
-.B login_timeout
-.
-Wait X seconds for cmd prompt after login (Default Value: 5)
-
-.TP
-.B power_wait
-.
-Wait X seconds after issuing ON/OFF (Default Value: 0)
-
-.TP
-.B retry_on
-.
-Count of attempts to retry power on (Default Value: 1)
-
-.TP
-.B delay
-.
-Wait X seconds before fencing is started (Default Value: 0)
diff --git a/fence/man/fence_ilo.8 b/fence/man/fence_ilo.8
deleted file mode 100644
index a2dd038..0000000
--- a/fence/man/fence_ilo.8
+++ /dev/null
@@ -1,95 +0,0 @@
-.\" Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
-.\" Copyright (C) 2004 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_ilo 8
-
-.SH NAME
-fence_ilo - I/O Fencing agent for HP Integrated Lights Out card
-
-.SH SYNOPSIS
-.B
-fence_ilo
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_ilo is an I/O Fencing agent used for HP servers with the Integrated Light
-Out (iLO) PCI card. The agent opens an SSL connection to the iLO card. Once the
-SSL connection is established, the agent is able to communicate with the iLO
-card through an XML stream.
-
-fence_ilo depends on the pyOpenSSL available in your distribution or
-downloadable from http://pyopenssl.sourceforge.net
-
-NOTE: fence_ilo deprecates fence_rib.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress[:port]\fR
-IP address or hostname of the iLO card. If the SSL server of the card is
-not running on the default SSL port, 443, then [:port] will also need to be
-specified.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-l\fP \fIlogin\fR
-Login name.
-.TP
-\fB-o\fP \fIaction\fR
-The action required. reboot (default), off, on or status.
-.TP
-\fB-p\fP \fIpassword\fR
-Password for login or for passphrase.
-.TP
-\fB-S\fP \fIscript\fR
-Script to run to retrieve password.
-\fB-z\fP
-Use secure connection over SSL (default).
-.TP
-\fB-r\fP \fIprotocol\fR
-RIBCL protocol to use. Default is to autodetect.
-.TP
-\fB-v\fP
-Verbose.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIaction = < param >\fR
-The action required. reboot (default), off, on or status.
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_ilo.
-.TP
-\fIhostname = < hostname | ip >\fR
-IP address or hostname of the iLO card.
-.TP
-\fIlogin = < param >\fR
-Login name.
-.TP
-\fIpasswd = < param >\fR
-Password for login or for passphrase.
-.TP
-\fIpasswd_script = < param >\fR
-Script to run to retrieve password.
-.TP
-\fIssl = < param >\fR
-Use secure connection over SSL.
-.TP
-\fIpasswd = < param >\fR
-Password for login.
-.TP
-\fIribcl = < param >\fR
-RIBCL protocol to use. Default is to autodetect.
-.TP
-\fIverbose = < param >\fR
-Verbose mode.
-
-.SH SEE ALSO
-fence(8), fence_node(8), fence_rib(8)
diff --git a/fence/man/fence_ipmilan.8 b/fence/man/fence_ipmilan.8
deleted file mode 100644
index 9b10198..0000000
--- a/fence/man/fence_ipmilan.8
+++ /dev/null
@@ -1,111 +0,0 @@
-.\" Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
-.\" Copyright (C) 2004 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_ipmilan 8
-
-.SH NAME
-fence_ipmilan - I/O Fencing agent for machines controlled by IPMI over
-LAN.
-
-.SH SYNOPSIS
-.B
-fence_ipmilan
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_ipmilan is an I/O Fencing agent which can be used with
-machines controlled by IPMI. This agent calls support software
-using ipmitool (http://ipmitool.sf.net/).
-
-fence_ipmilan accepts options on the command line as well as from stdin.
-fenced sends the options through stdin when it execs the agent. fence_ipmilan
-can be run by itself with command line options which is useful for testing.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fP
-IP address or hostname of the IPMI controller.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-l\fP \fIlogin\fP
-Login (if required) with administrative privileges.
-.TP
-\fB-o\fP \fIoption\fP
-Action to perform (on, off, reboot).
-.TP
-\fB-p\fP \fIpassword\fP
-Password (if required) for login.
-.TP
-\fB-P\fP
-Use the lanplus option if this is a lanplus capable interface (for example iLo2)
-.TP
-\fB-A\fP \fIAuthentication Type\fP
-Can be set to none, password, md2, or md5.
-.TP
-\fB-C\fP \fICiphersuite Type\fP
-If you are using lanplus, this option avails you to define type of ciphersuite to
-use. Standard is 3 (defined if you just use lanplus). For more information please
-refer ipmitool man page (option -C).
-.TP
-\fB-M\fP \fImethod\fP
-Method to fence (onoff or cycle). Default is onoff. Use cycle in case your management
-card will power off with default method so there will be no chance to power machine
-on by IPMI.
-.TP
-\fB-t\fP \fItimeout\fP
-Timeout in seconds for IPMI operation. Default is 10, but in some cases it
-must be set to higher value (anything above 30 is not recommended and may
-cause strange problems).
-.TP
-\fB-q\fP
-Quiet operation. Only print out error messages.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-.TP
-\fB-v\fP
-Verbose mode.
-
-.SH STDIN PARAMETERS
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of the IPMI controller.
-.TP
-\fIlogin= < param >\fR
-Login (if required) with administrative privileges.
-.TP
-\fIoption = < param >\fR
-Action to perform (on, off, reboot).
-.TP
-\fIpasswd = < param >\fR
-Password (if required) for login.
-.TP
-\fIauth = < param >\fR
-Authentication type (none, password, md2, md5).
-.TP
-\fItimeout = < param >\fR
-Timeout in seconds for IPMI operation. Default is 10, but in some cases it
-must be set to higher value (anything above 30 is not recommended and may
-cause strange problems).
-.TP
-\fIcipher = < param >\fR
-If you are using lanplus, this option avails you to define type of ciphersuite to
-use. Standard is 3 (defined if you just use lanplus). For more information please
-refer ipmitool man page (option -C).
-.TP
-\fImethod = < param >\fR
-Method to fence (onoff or cycle). Default is onoff. Use cycle in case your management
-card will power off with default method so there will be no chance to power machine
-on by IPMI.
-.TP
-\fIlanplus\fR
-If we are using the lanplus option for ipmitool
-
-.SH SEE ALSO
-fence(8), fence_node(8), ipmitool(1)
diff --git a/fence/man/fence_lpar.8 b/fence/man/fence_lpar.8
deleted file mode 100644
index b4de871..0000000
--- a/fence/man/fence_lpar.8
+++ /dev/null
@@ -1,116 +0,0 @@
-.\" Copyright (C) 2009 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_lpar 8
-
-.SH NAME
-fence_lpar - I/O Fencing agent for IBM Power Systems
-
-.SH SYNOPSIS
-.B
-fence_lpar
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_lpar is an I/O Fencing agent which can be used with IBM Power Systems.
-It logs into the HMC via ssh and uses the command line interface to operate
-LPARs.
-
-fence_lpar accepts options on the command line as well as from stdin. Fenced
-sends parameters through stdin when it execs the agent. fence_lpar can be run
-by itself with command line options. This is useful for testing and for
-stopping and starting LPARs from scripts.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fR
-IP address or hostname of the HMC.
-.TP
-\fB-c\fP \fIprompt\fR
-Select command prompt. Default: :~>, ]
-.TP
-\fB-D\fP \fIdebugfile\fR
-Write debug information to given file.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-H\fP \fIversion\fR
-Select an HMC version to use: 3 or 4 (default).
-.TP
-\fB-l\fP \fIlogin\fR
-Login name.
-.TP
-\fB-n\fP \fIname\fR
-Partition name.
-.TP
-\fB-o\fP \fIaction\fR
-The action required. Reboot (default), Status, Off or On.
-.TP
-\fB-p\fP \fIpassword\fR
-Password for login.
-.TP
-\fB-s\fP \fIname\fR
-Managed system name.
-.TP
-\fB-S\fP \fIscript\fR
-Script to run to retrieve password.
-.TP
-\fB-x\fP
-Use secure connection over ssh.
-.TP
-\fB-v\fP
-Verbose mode.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIaction = < param >\fR
-The fencing action requested: reboot (default), on, off or status.
-.TP
-\fIcmd_prompt = < param >\fR
-Force command prompt. Default: :~>, ]
-.TP
-\fIdebug = < param >\fR
-Write debug information to given file.
-.TP
-\fIhelp = < param >\fR
-Display help and exit.
-.TP
-\fIhmc_version = < param >\fR
-HMC version to use: 3 or 4 (default).
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of the HMC.
-.TP
-\fIlogin = < param >\fR
-Login name.
-.TP
-\fImanaged = < param >\fR
-Managed system name.
-.TP
-\fIpartition = < param >\fR
-Partition name.
-.TP
-\fIpasswd = < param >\fR
-Password for login.
-.TP
-\fIpasswd_script = < param >\fR
-Script to run to retrieve password.
-.TP
-\fIsecure\fR
-Use secure connection over ssh.
-.TP
-\fIverbose\fR
-Verbose mode.
-.TP
-\fIversion\fR
-Display version information and exit.
-
-.SH SEE ALSO
-fence(8), fence_node(8)
diff --git a/fence/man/fence_rsa.8 b/fence/man/fence_rsa.8
deleted file mode 100644
index 0ba1744..0000000
--- a/fence/man/fence_rsa.8
+++ /dev/null
@@ -1,69 +0,0 @@
-.\" Copyright (C) 2006 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_rsa 8
-
-.SH NAME
-fence_rsa - I/O Fencing agent for IBM RSA II
-
-.SH SYNOPSIS
-.B
-fence_rsa
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_rsa is an I/O Fencing agent which can be used with the IBM RSA II
-management interface. It logs into an RSA II device via telnet and reboots
-the associated machine. Lengthy telnet connections to the RSA II device
-should be avoided while a GFS cluster is running because the connection
-will block any necessary fencing actions.
-
-fence_rsa accepts options on the command line as well as from stdin.
-Fenced sends parameters through stdin when it execs the agent. fence_rsa
-can be run by itself with command line options. This is useful for testing.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fR
-IP address or hostname of the RSA II device.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-l\fP \fIlogin\fR
-Login name.
-.TP
-\fB-o\fP \fIaction\fR
-The action required. Reboot (default), Off, On, or Status.
-.TP
-\fB-p\fP \fIpassword\fR
-Password for login.
-.TP
-\fB-v\fP
-Verbose. Print informational messages to standard out.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_rsa.
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of the device.
-.TP
-\fIlogin = < param >\fR
-Login name.
-.TP
-\fIoption = < param >\fR
-The action required. Reboot (default), Off, On or Status.
-.TP
-\fIpasswd = < param >\fR
-Password for login.
-
-.SH SEE ALSO
-fence(8), fence_node(8)
diff --git a/fence/man/fence_sanbox2.8 b/fence/man/fence_sanbox2.8
deleted file mode 100644
index 46209f8..0000000
--- a/fence/man/fence_sanbox2.8
+++ /dev/null
@@ -1,83 +0,0 @@
-.\" Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
-.\" Copyright (C) 2004 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_sanbox2 8
-
-.SH NAME
-fence_sanbox2 - I/O Fencing agent for QLogic SANBox2 FC switches
-
-.SH SYNOPSIS
-.B
-fence_sanbox2
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_sanbox2 is an I/O Fencing agent which can be used with QLogic SANBox2 FC
-switches. It logs into a SANBox2 switch via telnet and disables a specified
-port. Disabling the port which a machine is connected to effectively fences
-that machine. Lengthy telnet connections to the switch should be avoided
-while a GFS cluster is running because the connection will block any necessary
-fencing actions.
-
-fence_sanbox2 accepts options on the command line as well as from stdin.
-fenced sends parameters through stdin when it execs the agent. fence_sanbox2
-can be run by itself with command line options which is useful for testing.
-
-After a fence operation has taken place the fenced machine can no longer connect
-to the switch. When the fenced machine is ready to be brought back
-into the GFS cluster (after reboot) the port on the FC switch needs to
-be enabled. This can be done by running fence_sanbox2 and specifying the
-enable action.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fP
-IP address of the switch.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-l\fP \fIlogin\fP
-Login name for the switch.
-.TP
-\fB-n\fP \fIport\fP
-The port number to disable on the switch.
-.TP
-\fB-o\fP \fIaction\fP
-The action required. disable (default) or enable.
-.TP
-\fB-p\fP \fIpassword\fP
-Password for login.
-.TP
-\fB-q\fP
-Quiet mode: print only error messages.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_sanbox2.
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of the switch.
-.TP
-\fIlogin = < param >\fR
-Login name.
-.TP
-\fIoption = < param >\fR
-The action required. disable (default) or enable.
-.TP
-\fIpasswd = < param >\fR
-Password for login.
-.TP
-\fIport = < param >\fR
-The port number to disable on the switch.
-
-.SH SEE ALSO
-fence(8), fence_node(8)
diff --git a/fence/man/fence_vmware.8 b/fence/man/fence_vmware.8
deleted file mode 100644
index 31ea5f8..0000000
--- a/fence/man/fence_vmware.8
+++ /dev/null
@@ -1,137 +0,0 @@
-.\" Copyright (C) 2008 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_vmware 8
-
-.SH NAME
-fence_vmware - I/O Fencing agent for VMware virtual machines
-
-.SH SYNOPSIS
-.B
-fence_vmware
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_vmware is an I/O Fencing agent which can be used with the VMware ESX or
-VMware Server to fence virtual machines. It logs via ssh to a VMware ESX (or Server)
-physical machine and there run vmware-cmd, which does all work.
-
-By default, VMware ESX has disabled root account so you must create annother user
-account with limited permissions on VMWare ESX machine.
-
-Better idea is install right version of vmware-cmd (with same API) to any other machine
-in network and use it for fencing.
-
-fence_vmware accepts options on the command line as well as from stdin.
-Fenced sends parameters through stdin when it execs the agent. fence_vmware
-can be run by itself with command line options. This is useful for testing
-and for turning outlets on or off from scripts.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fR
-IP address or hostname of machine where is vmware-cmd.
-.TP
-\fB-A\fP \fIIPAdress\fR
-IP adress or hostname of machine where is runing vmware. Default is localhost.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-l\fP \fIlogin\fR
-Login name of machine with vmware-cmd.
-.TP
-\fB-L\fP \fIlogin\fR
-Login name to VMware administration interface.
-.TP
-\fB-o\fP \fIaction\fR
-The action required. Reboot (default), Status, Off or On.
-.TP
-\fB-p\fP \fIpassword\fR
-Password for login or for passphrase for machine with vmware-cmd.
-.TP
-\fB-P\fP \fIpassword\fR
-Password for login to VMware administration interface.
-.TP
-\fB-B\fP \fIscript\fR
-Script to run to retrieve password for machine with vmware-cmd.
-.TP
-\fB-R\fP \fIscript\fR
-Script to run to retrieve password for VMware administration interface.
-.TP
-\fB-n\fP \fIname\fR
-Name of virtual machine to fence (ie. /vmfs/volumes/48bfcbd1-4624461c-8250-0015c5f3ef0f/Rhel/Rhel.vmx)
-.TP
-\fB-x\fP
-Use secure connection over ssh (this is default, and can't be disabled)
-.TP
-\fB-k\fP \fIfilename\fR
-Identity file (private key) for ssh
-.TP
-\fB-T\fP
-Test only. Answer NO to the confirmation prompt instead of YES.
-.TP
-\fB-v\fP
-Verbose. Record session to stdout, or debug file if specified (see -D).
-.TP
-\fB-D\fP
-Specifies file, where will be written debug messages from session.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_vmware.
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of machine where is vmware-cmd.
-.TP
-\fIvmipaddr = < hostname | ip >\fR
-IP adress or hostname of machine where is runing vmware. Default is localhost.
-.TP
-\fIlogin = < param >\fR
-Login name of machine with vmware-cmd.
-.TP
-\fIvmlogin = < param >\fR
-Login name to VMware administration interface.
-.TP
-\fIoption = < param >\fR
-The action required. Reboot (default), Off or On.
-.TP
-\fIpasswd = < param >\fR
-Password for login or for passphrase for machine with vmware-cmd.
-.TP
-\fIvmpasswd = < param >\fR
-Password for login to VMware administration interface.
-.TP
-\fIpasswd_script = < param >\fR
-Script to run to retrieve password for machine with vmware-cmd.
-.TP
-\fIvmpasswd_script = < param >\fR
-Script to run to retrieve password for VMware administration interface.
-.TP
-\fIport = < param >\fR
-Name of virtual machine to fence (ie. /vmfs/volumes/48bfcbd1-4624461c-8250-0015c5f3ef0f/Rhel/Rhel.vmx)
-.TP
-\fIsecure = < param >\fR
-Use secure connection over ssh (this is default, and can't be disabled)
-.TP
-\fIidentity_file = < param >\fR
-Identity file (private key) for ssh
-.TP
-\fItest = < param >\fR
-Test only. Answer NO to the confirmation prompt instead of YES.
-.TP
-\fIverbose = < param >\fR
-Verbose. Record session to stdout, or debug file if specified (see debug).
-.TP
-\fIdebug = < param >\fR
-Specifies file, where will be written debug messages from session.
-
-.SH SEE ALSO
-fence(8), fence_node(8)
diff --git a/fence/man/fence_wti.8 b/fence/man/fence_wti.8
deleted file mode 100644
index 1b1d231..0000000
--- a/fence/man/fence_wti.8
+++ /dev/null
@@ -1,84 +0,0 @@
-.\" Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
-.\" Copyright (C) 2004 Red Hat, Inc. All rights reserved.
-.\"
-.\" This copyrighted material is made available to anyone wishing to use,
-.\" modify, copy, or redistribute it subject to the terms and conditions
-.\" of the GNU General Public License v.2.
-
-.TH fence_wti 8
-
-.SH NAME
-fence_wti - I/O Fencing agent for WTI Network Power Switch
-
-.SH SYNOPSIS
-.B
-fence_wti
-[\fIOPTION\fR]...
-
-.SH DESCRIPTION
-fence_wti is an I/O Fencing agent which can be used with the WTI Network
-Power Switch (NPS). It logs into an NPS via telnet or ssh and boots a specified plug.
-Lengthy telnet connections to the NPS should be avoided while a GFS cluster is
-running because the connection will block any necessary fencing actions.
-
-fence_wti accepts options on the command line as well as from stdin.
-fenced sends the options through stdin when it execs the agent. fence_wti
-can be run by itself with command line options which is useful for testing.
-
-.SH OPTIONS
-.TP
-\fB-a\fP \fIIPaddress\fP
-IP address of the switch.
-.TP
-\fB-h\fP
-Print out a help message describing available options, then exit.
-.TP
-\fB-n\fP \fIplug\fP
-The plug number to power cycle.
-.TP
-\fB-p\fP \fIpassword\fP
-Password for login or for passphrase.
-.TP
-\fB-S\fP \fIscript\fR
-Script to run to retrieve password.
-.TP
-\fB-x\fP
-Use secure connection over ssh.
-.TP
-\fB-T\fP
-Test only. Do not power cycle. Reports state of the plug.
-.TP
-\fB-q\fP
-Quiet operation. Only print out error messages.
-.TP
-\fB-V\fP
-Print out a version message, then exit.
-
-.SH STDIN PARAMETERS
-.TP
-\fIagent = < param >\fR
-This option is used by fence_node(8) and is ignored by fence_wti.
-.TP
-\fIipaddr = < hostname | ip >\fR
-IP address or hostname of the switch.
-.TP
-\fIpasswd = < param >\fR
-Password for login or for passphrase.
-.TP
-\fIpasswd_script = < param >\fR
-Script to run to retrieve password.
-.TP
-\fIidentity_file = < param > \fR
-Identity file (private key) for ssh.
-.TP
-\fIsecure = < param >\fR
-Use secure connection over ssh.
-.TP
-\fIport = < param >\fR
-The outlet number to act upon.
-.TP
-\fItest = < param >\fR
-Test only. Answer NO to the confirmation prompt instead of YES.
-
-.SH SEE ALSO
-fence(8), fence_node(8)
13 years, 2 months
fence-agents: master - fence_eaton_snmp: fix port number handling
by Fabio M. Di Nitto
Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=com...
Commit: 5bee71f95ec9f1c6a1486fe7f16ddeda32865b1d
Parent: 693d93c73fb6cd4a7978a507f0fce33c85feda6f
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Fri Feb 25 09:46:34 2011 +0100
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Fri Feb 25 09:46:34 2011 +0100
fence_eaton_snmp: fix port number handling
snmp port enumration starts at 0 while all other interfaces start at 1.
Make the numbering consistent between configuration, devices and UIs.
Signed-off-by: Arnaud Quette <aquette.dev(a)gmail.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
fence/agents/eaton_snmp/fence_eaton_snmp.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/fence/agents/eaton_snmp/fence_eaton_snmp.py b/fence/agents/eaton_snmp/fence_eaton_snmp.py
index b02cfd1..18df1cb 100644
--- a/fence/agents/eaton_snmp/fence_eaton_snmp.py
+++ b/fence/agents/eaton_snmp/fence_eaton_snmp.py
@@ -160,6 +160,11 @@ def main():
if (not (options.has_key("-s"))):
options["-s"]="1"
+ # Plug indexing start from zero, so we substract '1' from the
+ # user's given plug number
+ if ((options.has_key("-n")) and (options["-n"].isdigit())):
+ options["-n"] = str(int(options["-n"]) - 1)
+
docs = { }
docs["shortdesc"] = "Fence agent for Eaton over SNMP"
docs["longdesc"] = "fence_eaton_snmp is an I/O Fencing agent \
13 years, 2 months