From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek 'marx' Grac Date: Mon, 7 Apr 2014 18:09:18 +0200 Subject: [Cluster-devel] [PATCH] testing: Add regression tests for XML metadata of python fence agents Message-ID: <1396886958-22310-1-git-send-email-mgrac@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Previously, it was possible that XML metadata were changed unintentionally. This patch provides infrastructure and data from current release. --- fence/agents/alom/Makefile.am | 1 + fence/agents/amt/Makefile.am | 1 + fence/agents/apc/Makefile.am | 1 + fence/agents/apc_snmp/Makefile.am | 1 + fence/agents/bladecenter/Makefile.am | 1 + fence/agents/brocade/Makefile.am | 1 + fence/agents/cisco_mds/Makefile.am | 1 + fence/agents/cisco_ucs/Makefile.am | 1 + fence/agents/drac/Makefile.am | 1 + fence/agents/drac5/Makefile.am | 1 + fence/agents/dummy/Makefile.am | 1 + fence/agents/eaton_snmp/Makefile.am | 1 + fence/agents/eps/Makefile.am | 1 + fence/agents/hds_cb/Makefile.am | 1 + fence/agents/hpblade/Makefile.am | 1 + fence/agents/ibmblade/Makefile.am | 1 + fence/agents/ifmib/Makefile.am | 1 + fence/agents/ilo/Makefile.am | 1 + fence/agents/ilo_mp/Makefile.am | 1 + fence/agents/intelmodular/Makefile.am | 1 + fence/agents/ipdu/Makefile.am | 1 + fence/agents/ipmilan/Makefile.am | 1 + fence/agents/ldom/Makefile.am | 1 + fence/agents/lpar/Makefile.am | 1 + fence/agents/netio/Makefile.am | 1 + fence/agents/ovh/Makefile.am | 1 + fence/agents/raritan/Makefile.am | 1 + fence/agents/rhevm/Makefile.am | 1 + fence/agents/rsa/Makefile.am | 1 + fence/agents/rsb/Makefile.am | 1 + fence/agents/sanbox2/Makefile.am | 1 + fence/agents/virsh/Makefile.am | 1 + fence/agents/vmware_soap/Makefile.am | 1 + fence/agents/wti/Makefile.am | 1 + fence/agents/xenapi/Makefile.am | 1 + make/agentpycheck.mk | 15 +++ tests/data/metadata/fence_alom.xml | 126 ++++++++++++++++++++++ tests/data/metadata/fence_amt.xml | 130 ++++++++++++++++++++++ tests/data/metadata/fence_apc.xml | 142 ++++++++++++++++++++++++ tests/data/metadata/fence_apc_snmp.xml | 165 ++++++++++++++++++++++++++++ tests/data/metadata/fence_bladecenter.xml | 142 ++++++++++++++++++++++++ tests/data/metadata/fence_brocade.xml | 136 +++++++++++++++++++++++ tests/data/metadata/fence_cisco_mds.xml | 164 ++++++++++++++++++++++++++++ tests/data/metadata/fence_cisco_ucs.xml | 132 +++++++++++++++++++++++ tests/data/metadata/fence_drac.xml | 111 +++++++++++++++++++ tests/data/metadata/fence_drac5.xml | 146 +++++++++++++++++++++++++ tests/data/metadata/fence_dummy.xml | 91 ++++++++++++++++ tests/data/metadata/fence_eaton_snmp.xml | 165 ++++++++++++++++++++++++++++ tests/data/metadata/fence_eps.xml | 123 +++++++++++++++++++++ tests/data/metadata/fence_hds_cb.xml | 142 ++++++++++++++++++++++++ tests/data/metadata/fence_hpblade.xml | 142 ++++++++++++++++++++++++ tests/data/metadata/fence_ibmblade.xml | 165 ++++++++++++++++++++++++++++ tests/data/metadata/fence_idrac.xml | 157 +++++++++++++++++++++++++++ tests/data/metadata/fence_ifmib.xml | 166 ++++++++++++++++++++++++++++ tests/data/metadata/fence_ilo.xml | 122 +++++++++++++++++++++ tests/data/metadata/fence_ilo2.xml | 122 +++++++++++++++++++++ tests/data/metadata/fence_ilo3.xml | 157 +++++++++++++++++++++++++++ tests/data/metadata/fence_ilo4.xml | 157 +++++++++++++++++++++++++++ tests/data/metadata/fence_ilo_mp.xml | 127 ++++++++++++++++++++++ tests/data/metadata/fence_imm.xml | 157 +++++++++++++++++++++++++++ tests/data/metadata/fence_intelmodular.xml | 167 +++++++++++++++++++++++++++++ tests/data/metadata/fence_ipdu.xml | 165 ++++++++++++++++++++++++++++ tests/data/metadata/fence_ipmilan.xml | 157 +++++++++++++++++++++++++++ tests/data/metadata/fence_ldom.xml | 138 ++++++++++++++++++++++++ tests/data/metadata/fence_lpar.xml | 149 +++++++++++++++++++++++++ tests/data/metadata/fence_netio.xml | 116 ++++++++++++++++++++ tests/data/metadata/fence_ovh.xml | 101 +++++++++++++++++ tests/data/metadata/fence_raritan.xml | 116 ++++++++++++++++++++ tests/data/metadata/fence_rhevm.xml | 127 ++++++++++++++++++++++ tests/data/metadata/fence_rsa.xml | 127 ++++++++++++++++++++++ tests/data/metadata/fence_rsb.xml | 126 ++++++++++++++++++++++ tests/data/metadata/fence_sanbox2.xml | 120 +++++++++++++++++++++ tests/data/metadata/fence_virsh.xml | 143 ++++++++++++++++++++++++ tests/data/metadata/fence_vmware_soap.xml | 129 ++++++++++++++++++++++ tests/data/metadata/fence_wti.xml | 137 +++++++++++++++++++++++ tests/data/metadata/fence_xenapi.xml | 101 +++++++++++++++++ 76 files changed, 5556 insertions(+) create mode 100644 make/agentpycheck.mk create mode 100644 tests/data/metadata/fence_alom.xml create mode 100644 tests/data/metadata/fence_amt.xml create mode 100644 tests/data/metadata/fence_apc.xml create mode 100644 tests/data/metadata/fence_apc_snmp.xml create mode 100644 tests/data/metadata/fence_bladecenter.xml create mode 100644 tests/data/metadata/fence_brocade.xml create mode 100644 tests/data/metadata/fence_cisco_mds.xml create mode 100644 tests/data/metadata/fence_cisco_ucs.xml create mode 100644 tests/data/metadata/fence_drac.xml create mode 100644 tests/data/metadata/fence_drac5.xml create mode 100644 tests/data/metadata/fence_dummy.xml create mode 100644 tests/data/metadata/fence_eaton_snmp.xml create mode 100644 tests/data/metadata/fence_eps.xml create mode 100644 tests/data/metadata/fence_hds_cb.xml create mode 100644 tests/data/metadata/fence_hpblade.xml create mode 100644 tests/data/metadata/fence_ibmblade.xml create mode 100644 tests/data/metadata/fence_idrac.xml create mode 100644 tests/data/metadata/fence_ifmib.xml create mode 100644 tests/data/metadata/fence_ilo.xml create mode 100644 tests/data/metadata/fence_ilo2.xml create mode 100644 tests/data/metadata/fence_ilo3.xml create mode 100644 tests/data/metadata/fence_ilo4.xml create mode 100644 tests/data/metadata/fence_ilo_mp.xml create mode 100644 tests/data/metadata/fence_imm.xml create mode 100644 tests/data/metadata/fence_intelmodular.xml create mode 100644 tests/data/metadata/fence_ipdu.xml create mode 100644 tests/data/metadata/fence_ipmilan.xml create mode 100644 tests/data/metadata/fence_ldom.xml create mode 100644 tests/data/metadata/fence_lpar.xml create mode 100644 tests/data/metadata/fence_netio.xml create mode 100644 tests/data/metadata/fence_ovh.xml create mode 100644 tests/data/metadata/fence_raritan.xml create mode 100644 tests/data/metadata/fence_rhevm.xml create mode 100644 tests/data/metadata/fence_rsa.xml create mode 100644 tests/data/metadata/fence_rsb.xml create mode 100644 tests/data/metadata/fence_sanbox2.xml create mode 100644 tests/data/metadata/fence_virsh.xml create mode 100644 tests/data/metadata/fence_vmware_soap.xml create mode 100644 tests/data/metadata/fence_wti.xml create mode 100644 tests/data/metadata/fence_xenapi.xml diff --git a/fence/agents/alom/Makefile.am b/fence/agents/alom/Makefile.am index 972f8a9..94a910f 100644 --- a/fence/agents/alom/Makefile.am +++ b/fence/agents/alom/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/amt/Makefile.am b/fence/agents/amt/Makefile.am index 9902731..cb2dea4 100644 --- a/fence/agents/amt/Makefile.am +++ b/fence/agents/amt/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/apc/Makefile.am b/fence/agents/apc/Makefile.am index 355c873..5e76a1a 100644 --- a/fence/agents/apc/Makefile.am +++ b/fence/agents/apc/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/apc_snmp/Makefile.am b/fence/agents/apc_snmp/Makefile.am index 65c24fd..f6072e3 100644 --- a/fence/agents/apc_snmp/Makefile.am +++ b/fence/agents/apc_snmp/Makefile.am @@ -14,6 +14,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/bladecenter/Makefile.am b/fence/agents/bladecenter/Makefile.am index d910196..0358228 100644 --- a/fence/agents/bladecenter/Makefile.am +++ b/fence/agents/bladecenter/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/brocade/Makefile.am b/fence/agents/brocade/Makefile.am index 171425f..f83cfb1 100644 --- a/fence/agents/brocade/Makefile.am +++ b/fence/agents/brocade/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/cisco_mds/Makefile.am b/fence/agents/cisco_mds/Makefile.am index 3d262f6..b1be365 100644 --- a/fence/agents/cisco_mds/Makefile.am +++ b/fence/agents/cisco_mds/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/cisco_ucs/Makefile.am b/fence/agents/cisco_ucs/Makefile.am index c12e5ef..95f6d61 100644 --- a/fence/agents/cisco_ucs/Makefile.am +++ b/fence/agents/cisco_ucs/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/drac/Makefile.am b/fence/agents/drac/Makefile.am index 0616c57..be0f2b2 100644 --- a/fence/agents/drac/Makefile.am +++ b/fence/agents/drac/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/drac5/Makefile.am b/fence/agents/drac5/Makefile.am index 2654360..8c288b2 100644 --- a/fence/agents/drac5/Makefile.am +++ b/fence/agents/drac5/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/dummy/Makefile.am b/fence/agents/dummy/Makefile.am index 11405eb..c04bbf5 100644 --- a/fence/agents/dummy/Makefile.am +++ b/fence/agents/dummy/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/eaton_snmp/Makefile.am b/fence/agents/eaton_snmp/Makefile.am index 0390800..135d153 100644 --- a/fence/agents/eaton_snmp/Makefile.am +++ b/fence/agents/eaton_snmp/Makefile.am @@ -13,6 +13,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/eps/Makefile.am b/fence/agents/eps/Makefile.am index 59fdd07..73c4064 100644 --- a/fence/agents/eps/Makefile.am +++ b/fence/agents/eps/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/hds_cb/Makefile.am b/fence/agents/hds_cb/Makefile.am index 0763d5a..c999477 100644 --- a/fence/agents/hds_cb/Makefile.am +++ b/fence/agents/hds_cb/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/hpblade/Makefile.am b/fence/agents/hpblade/Makefile.am index e8ae6ff..e5e0cc2 100644 --- a/fence/agents/hpblade/Makefile.am +++ b/fence/agents/hpblade/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/ibmblade/Makefile.am b/fence/agents/ibmblade/Makefile.am index f1c94de..87d6a95 100644 --- a/fence/agents/ibmblade/Makefile.am +++ b/fence/agents/ibmblade/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/ifmib/Makefile.am b/fence/agents/ifmib/Makefile.am index a07f264..a90fd2d 100644 --- a/fence/agents/ifmib/Makefile.am +++ b/fence/agents/ifmib/Makefile.am @@ -13,6 +13,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/ilo/Makefile.am b/fence/agents/ilo/Makefile.am index 8df9a39..0682bb7 100644 --- a/fence/agents/ilo/Makefile.am +++ b/fence/agents/ilo/Makefile.am @@ -18,6 +18,7 @@ $(SYMTARGET): $(TARGET) include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) $(SYMTARGET) diff --git a/fence/agents/ilo_mp/Makefile.am b/fence/agents/ilo_mp/Makefile.am index 4e8b18e..6e0f40c 100644 --- a/fence/agents/ilo_mp/Makefile.am +++ b/fence/agents/ilo_mp/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/intelmodular/Makefile.am b/fence/agents/intelmodular/Makefile.am index f1e4690..ed04439 100644 --- a/fence/agents/intelmodular/Makefile.am +++ b/fence/agents/intelmodular/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/ipdu/Makefile.am b/fence/agents/ipdu/Makefile.am index fb02cc8..a52ccfe 100644 --- a/fence/agents/ipdu/Makefile.am +++ b/fence/agents/ipdu/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/ipmilan/Makefile.am b/fence/agents/ipmilan/Makefile.am index be3509e..f9398ba 100644 --- a/fence/agents/ipmilan/Makefile.am +++ b/fence/agents/ipmilan/Makefile.am @@ -17,6 +17,7 @@ $(SYMTARGET): $(TARGET) include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) $(SYMTARGET) diff --git a/fence/agents/ldom/Makefile.am b/fence/agents/ldom/Makefile.am index a229934..203ceb5 100644 --- a/fence/agents/ldom/Makefile.am +++ b/fence/agents/ldom/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/lpar/Makefile.am b/fence/agents/lpar/Makefile.am index 2af387c..1c0fcdc 100644 --- a/fence/agents/lpar/Makefile.am +++ b/fence/agents/lpar/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/netio/Makefile.am b/fence/agents/netio/Makefile.am index 3e1a1d9..e442051 100644 --- a/fence/agents/netio/Makefile.am +++ b/fence/agents/netio/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/ovh/Makefile.am b/fence/agents/ovh/Makefile.am index c6d7d01..ff884a4 100644 --- a/fence/agents/ovh/Makefile.am +++ b/fence/agents/ovh/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/raritan/Makefile.am b/fence/agents/raritan/Makefile.am index f41ba56..462945b 100644 --- a/fence/agents/raritan/Makefile.am +++ b/fence/agents/raritan/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/rhevm/Makefile.am b/fence/agents/rhevm/Makefile.am index 9552181..da1a475 100644 --- a/fence/agents/rhevm/Makefile.am +++ b/fence/agents/rhevm/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/rsa/Makefile.am b/fence/agents/rsa/Makefile.am index 4bf1f1f..f660c18 100644 --- a/fence/agents/rsa/Makefile.am +++ b/fence/agents/rsa/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/rsb/Makefile.am b/fence/agents/rsb/Makefile.am index 939db98..6a3b23e 100644 --- a/fence/agents/rsb/Makefile.am +++ b/fence/agents/rsb/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/sanbox2/Makefile.am b/fence/agents/sanbox2/Makefile.am index 9564bc8..0609330 100644 --- a/fence/agents/sanbox2/Makefile.am +++ b/fence/agents/sanbox2/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/virsh/Makefile.am b/fence/agents/virsh/Makefile.am index 0f12744..e467fa1 100644 --- a/fence/agents/virsh/Makefile.am +++ b/fence/agents/virsh/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/vmware_soap/Makefile.am b/fence/agents/vmware_soap/Makefile.am index 8e4e061..0fb0d53 100644 --- a/fence/agents/vmware_soap/Makefile.am +++ b/fence/agents/vmware_soap/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/wti/Makefile.am b/fence/agents/wti/Makefile.am index 04f556c..2d8c51d 100644 --- a/fence/agents/wti/Makefile.am +++ b/fence/agents/wti/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/fence/agents/xenapi/Makefile.am b/fence/agents/xenapi/Makefile.am index 781975e..29c388f 100644 --- a/fence/agents/xenapi/Makefile.am +++ b/fence/agents/xenapi/Makefile.am @@ -12,6 +12,7 @@ man_MANS = $(TARGET).8 include $(top_srcdir)/make/fencebuild.mk include $(top_srcdir)/make/fenceman.mk +include $(top_srcdir)/make/agentpycheck.mk clean-local: clean-man rm -f $(TARGET) diff --git a/make/agentpycheck.mk b/make/agentpycheck.mk new file mode 100644 index 0000000..68f8aac --- /dev/null +++ b/make/agentpycheck.mk @@ -0,0 +1,15 @@ +TEMPFILE:=$(shell mktemp) +DATADIR:=../../../tests/data/metadata + +check: $(TARGET:%=xml-check.%) $(SYMTARGET:%=xml-check.%) + +xml-check.%: % + $(eval INPUT=$(subst xml-check.,,$@)) + PYTHONPATH=$(abs_srcdir)/../lib:$(abs_builddir)/../lib python ./$(INPUT) -o metadata > $(TEMPFILE) + diff $(TEMPFILE) $(DATADIR)/$(INPUT).xml + rm $(TEMPFILE) + +xml-upload.%: % + $(eval INPUT=$(subst xml-upload.,,$@)) + PYTHONPATH=$(abs_srcdir)/../lib:$(abs_builddir)/../lib python ./$(INPUT) -o metadata > $(DATADIR)/$(INPUT).xml + diff --git a/tests/data/metadata/fence_alom.xml b/tests/data/metadata/fence_alom.xml new file mode 100644 index 0000000..6bdefb7 --- /dev/null +++ b/tests/data/metadata/fence_alom.xml @@ -0,0 +1,126 @@ + + +fence_alom is an I/O Fencing agent which can be used with ALOM connected machines. +http://www.sun.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_amt.xml b/tests/data/metadata/fence_amt.xml new file mode 100644 index 0000000..b967b68 --- /dev/null +++ b/tests/data/metadata/fence_amt.xml @@ -0,0 +1,130 @@ + + +fence_amt is an I/O Fencing agent which can be used with Intel AMT. This agent calls support software amttool(http://www.kraxel.org/cgit/amtterm/). +http://www.intel.com/ + + + + + TCP/UDP port to use for connection with device + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Forces agent to use IPv4 addresses only + + + + + + Method to fence (onoff|cycle) + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + + Change the default boot behavior of the machine. + + + + + Fencing Action + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Path to amttool binary + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party sotfware. + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_apc.xml b/tests/data/metadata/fence_apc.xml new file mode 100644 index 0000000..0e6b265 --- /dev/null +++ b/tests/data/metadata/fence_apc.xml @@ -0,0 +1,142 @@ + + +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. +http://www.apc.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + Physical plug number, name of virtual machine or UUID + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Physical switch number on device + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_apc_snmp.xml b/tests/data/metadata/fence_apc_snmp.xml new file mode 100644 index 0000000..886f1b0 --- /dev/null +++ b/tests/data/metadata/fence_apc_snmp.xml @@ -0,0 +1,165 @@ + + +fence_apc_snmp is an I/O Fencing agent which can be used with the APC network power switch or Tripplite PDU devices.It logs into a device via SNMP and reboots a specified outlet. It supports SNMP v1, v2c, v3 with all combinations of authenticity/privacy settings. +http://www.apc.com + + + + + TCP/UDP port to use for connection with device + + + + + + Specifies SNMP version to use (1,2c,3) + + + + + Set the community string + + + + + + Set privacy protocol (DES|AES) + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set authentication protocol (MD5|SHA) + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + + Set security level (noAuthNoPriv|authNoPriv|authPriv) + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_bladecenter.xml b/tests/data/metadata/fence_bladecenter.xml new file mode 100644 index 0000000..8ab7939 --- /dev/null +++ b/tests/data/metadata/fence_bladecenter.xml @@ -0,0 +1,142 @@ + + +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. +http://www.ibm.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + Physical plug number, name of virtual machine or UUID + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Missing port returns OFF instead of failure + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_brocade.xml b/tests/data/metadata/fence_brocade.xml new file mode 100644 index 0000000..4670da8 --- /dev/null +++ b/tests/data/metadata/fence_brocade.xml @@ -0,0 +1,136 @@ + + +fence_brocade is an I/O Fencing agent which can be used with Brocade FC switches. It logs into a Brocade 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. After a fence operation has taken place the fenced machine can no longer connect to the Brocade FC switch. When the fenced machine is ready to be brought back into the GFS cluster (after reboot) the port on the Brocade FC switch needs to be enabled. This can be done by running fence_brocade and specifying the enable action +http://www.brocade.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + Physical plug number, name of virtual machine or UUID + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + diff --git a/tests/data/metadata/fence_cisco_mds.xml b/tests/data/metadata/fence_cisco_mds.xml new file mode 100644 index 0000000..add75f3 --- /dev/null +++ b/tests/data/metadata/fence_cisco_mds.xml @@ -0,0 +1,164 @@ + + +fence_cisco_mds is an I/O Fencing agent which can be used with any Cisco MDS 9000 series with SNMP enabled device. +http://www.cisco.com + + + + + TCP/UDP port to use for connection with device + + + + + + Specifies SNMP version to use (1,2c,3) + + + + + Set the community string + + + + + + Set privacy protocol (DES|AES) + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set authentication protocol (MD5|SHA) + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + + Set security level (noAuthNoPriv|authNoPriv|authPriv) + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + diff --git a/tests/data/metadata/fence_cisco_ucs.xml b/tests/data/metadata/fence_cisco_ucs.xml new file mode 100644 index 0000000..c5b6b37 --- /dev/null +++ b/tests/data/metadata/fence_cisco_ucs.xml @@ -0,0 +1,132 @@ + + +fence_cisco_ucs is an I/O Fencing agent which can be used with Cisco UCS to fence machines. +http://www.cisco.com + + + + + TCP/UDP port to use for connection with device + + + + + Disable TLS negotiation + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSL connection + + + + + Additional path needed to access suborganization + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_drac.xml b/tests/data/metadata/fence_drac.xml new file mode 100644 index 0000000..d2871c5 --- /dev/null +++ b/tests/data/metadata/fence_drac.xml @@ -0,0 +1,111 @@ + + +fence_drac is an I/O Fencing agent which can be used with the Dell Remote Access Card (DRAC). This card provides remote access to controlling power to a server. It logs into the DRAC through the telnet interface of the card. By default, the telnet interface is not enabled. To enable the interface, you will need to use the racadm command in the racser-devel rpm available from Dell. To enable telnet on the DRAC: [root]# racadm config -g cfgSerial -o cfgSerialTelnetEnable 1 [root]# racadm racreset +http://www.dell.com + + + + + TCP/UDP port to use for connection with device + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Login password or passphrase + + + + + IP Address or Hostname + + + + + Fencing Action + + + + + Forces agent to use IPv4 addresses only + + + + + Login Name + + + + + Script to retrieve password + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after login + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_drac5.xml b/tests/data/metadata/fence_drac5.xml new file mode 100644 index 0000000..a461cb6 --- /dev/null +++ b/tests/data/metadata/fence_drac5.xml @@ -0,0 +1,146 @@ + + +fence_drac5 is an I/O Fencing agent which can be used with the Dell Remote Access Card v5 or CMC (DRAC). This device provides remote access to controlling power to a server. It logs into the DRAC through the telnet/ssh interface of the card. By default, the telnet interface is not enabled. +http://www.dell.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + Physical plug number, name of virtual machine or UUID + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + + Force DRAC version to use (DRAC 5, DRAC CMC, DRAC MC) + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_dummy.xml b/tests/data/metadata/fence_dummy.xml new file mode 100644 index 0000000..61c964e --- /dev/null +++ b/tests/data/metadata/fence_dummy.xml @@ -0,0 +1,91 @@ + + +fence_dummy +http://www.example.com + + + + + File with status + + + + + Issue a sleep between 1 and X seconds. Used for testing. + + + + + Type of the dummy fence agent + + + + + Fencing Action + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Wait X seconds after issuing ON/OFF + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after login + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_eaton_snmp.xml b/tests/data/metadata/fence_eaton_snmp.xml new file mode 100644 index 0000000..1cf0436 --- /dev/null +++ b/tests/data/metadata/fence_eaton_snmp.xml @@ -0,0 +1,165 @@ + + +fence_eaton_snmp is an I/O Fencing agent which can be used with the Eaton network power switch. It logs into a device via SNMP and reboots a specified outlet. It supports SNMP v1 and v3 with all combinations of authenticity/privacy settings. +http://powerquality.eaton.com + + + + + TCP/UDP port to use for connection with device + + + + + + Specifies SNMP version to use (1,2c,3) + + + + + Set the community string + + + + + + Set privacy protocol (DES|AES) + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set authentication protocol (MD5|SHA) + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + + Set security level (noAuthNoPriv|authNoPriv|authPriv) + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_eps.xml b/tests/data/metadata/fence_eps.xml new file mode 100644 index 0000000..a64ce8e --- /dev/null +++ b/tests/data/metadata/fence_eps.xml @@ -0,0 +1,123 @@ + + +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 ONLY on 8M+ device, because this is only one, which has support for hidden page feature. +.TP +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. +http://www.epowerswitch.com + + + + + TCP/UDP port to use for connection with device + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Forces agent to use IPv4 addresses only + + + + + Name of hidden page + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_hds_cb.xml b/tests/data/metadata/fence_hds_cb.xml new file mode 100644 index 0000000..c1bb5b9 --- /dev/null +++ b/tests/data/metadata/fence_hds_cb.xml @@ -0,0 +1,142 @@ + + +fence_hds_cb is an I/O Fencing agent which can be used with Hitachi Compute Blades with recent enough firmware that includes telnet support. +http://www.hds.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + Physical plug number, name of virtual machine or UUID + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Missing port returns OFF instead of failure + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_hpblade.xml b/tests/data/metadata/fence_hpblade.xml new file mode 100644 index 0000000..255f7f3 --- /dev/null +++ b/tests/data/metadata/fence_hpblade.xml @@ -0,0 +1,142 @@ + + +fence_hpblade is an I/O Fencing agent which can be used with HP BladeSystem. It logs into an enclosure via telnet or ssh and uses the command line interface to power on and off blades. +http://www.hp.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + Physical plug number, name of virtual machine or UUID + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Missing port returns OFF instead of failure + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ibmblade.xml b/tests/data/metadata/fence_ibmblade.xml new file mode 100644 index 0000000..4731e5e --- /dev/null +++ b/tests/data/metadata/fence_ibmblade.xml @@ -0,0 +1,165 @@ + + +fence_ibmblade is an I/O Fencing agent which can be used with IBM BladeCenter chassis. It issues SNMP Set request to BladeCenter chassis, rebooting, powering up or down the specified Blade Server. +http://www.ibm.com + + + + + TCP/UDP port to use for connection with device + + + + + + Specifies SNMP version to use (1,2c,3) + + + + + Set the community string + + + + + + Set privacy protocol (DES|AES) + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set authentication protocol (MD5|SHA) + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + + Set security level (noAuthNoPriv|authNoPriv|authPriv) + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_idrac.xml b/tests/data/metadata/fence_idrac.xml new file mode 100644 index 0000000..26a2758 --- /dev/null +++ b/tests/data/metadata/fence_idrac.xml @@ -0,0 +1,157 @@ + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). + + + + + + TCP/UDP port to use for connection with device + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Script to retrieve password + + + + + + Method to fence (onoff|cycle) + + + + + Forces agent to use IPv4 addresses only + + + + + Login password or passphrase + + + + + Use Lanplus to improve security of connection + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + + Privilege level on IPMI device + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party sotfware. + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ifmib.xml b/tests/data/metadata/fence_ifmib.xml new file mode 100644 index 0000000..7faf2ab --- /dev/null +++ b/tests/data/metadata/fence_ifmib.xml @@ -0,0 +1,166 @@ + + +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. +http://www.ietf.org/wg/concluded/ifmib.html + + + + + TCP/UDP port to use for connection with device + + + + + + Specifies SNMP version to use (1,2c,3) + + + + + Set the community string + + + + + + Set privacy protocol (DES|AES) + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set authentication protocol (MD5|SHA) + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + + Set security level (noAuthNoPriv|authNoPriv|authPriv) + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo.xml b/tests/data/metadata/fence_ilo.xml new file mode 100644 index 0000000..eb8951c --- /dev/null +++ b/tests/data/metadata/fence_ilo.xml @@ -0,0 +1,122 @@ + + + +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. +http://www.hp.com + + + + + TCP/UDP port to use for connection with device + + + + + Disable TLS negotiation + + + + + Force ribcl version to use + + + + + Fencing Action + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSL connection + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo2.xml b/tests/data/metadata/fence_ilo2.xml new file mode 100644 index 0000000..4d65808 --- /dev/null +++ b/tests/data/metadata/fence_ilo2.xml @@ -0,0 +1,122 @@ + + + +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. +http://www.hp.com + + + + + TCP/UDP port to use for connection with device + + + + + Disable TLS negotiation + + + + + Force ribcl version to use + + + + + Fencing Action + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSL connection + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo3.xml b/tests/data/metadata/fence_ilo3.xml new file mode 100644 index 0000000..c1e01ae --- /dev/null +++ b/tests/data/metadata/fence_ilo3.xml @@ -0,0 +1,157 @@ + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). + + + + + + TCP/UDP port to use for connection with device + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Script to retrieve password + + + + + + Method to fence (onoff|cycle) + + + + + Forces agent to use IPv4 addresses only + + + + + Login password or passphrase + + + + + Use Lanplus to improve security of connection + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + + Privilege level on IPMI device + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party sotfware. + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo4.xml b/tests/data/metadata/fence_ilo4.xml new file mode 100644 index 0000000..bbba9a0 --- /dev/null +++ b/tests/data/metadata/fence_ilo4.xml @@ -0,0 +1,157 @@ + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). + + + + + + TCP/UDP port to use for connection with device + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Script to retrieve password + + + + + + Method to fence (onoff|cycle) + + + + + Forces agent to use IPv4 addresses only + + + + + Login password or passphrase + + + + + Use Lanplus to improve security of connection + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + + Privilege level on IPMI device + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party sotfware. + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ilo_mp.xml b/tests/data/metadata/fence_ilo_mp.xml new file mode 100644 index 0000000..8960349 --- /dev/null +++ b/tests/data/metadata/fence_ilo_mp.xml @@ -0,0 +1,127 @@ + + + +http://www.hp.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_imm.xml b/tests/data/metadata/fence_imm.xml new file mode 100644 index 0000000..addfcd4 --- /dev/null +++ b/tests/data/metadata/fence_imm.xml @@ -0,0 +1,157 @@ + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). + + + + + + TCP/UDP port to use for connection with device + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Script to retrieve password + + + + + + Method to fence (onoff|cycle) + + + + + Forces agent to use IPv4 addresses only + + + + + Login password or passphrase + + + + + Use Lanplus to improve security of connection + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + + Privilege level on IPMI device + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party sotfware. + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_intelmodular.xml b/tests/data/metadata/fence_intelmodular.xml new file mode 100644 index 0000000..707b37a --- /dev/null +++ b/tests/data/metadata/fence_intelmodular.xml @@ -0,0 +1,167 @@ + + +fence_intelmodular is an I/O Fencing agent which can be used with Intel Modular device (tested on Intel MFSYS25, should work with MFSYS35 as well). +.P +Note: Since firmware update version 2.7, SNMP v2 write support is removed, and replaced by SNMP v3 support. So agent now has default SNMP version 3. If you are using older firmware, please supply -d for command line and snmp_version option for your cluster.conf. +http://www.intel.com + + + + + TCP/UDP port to use for connection with device + + + + + + Specifies SNMP version to use (1,2c,3) + + + + + Set the community string + + + + + + Set privacy protocol (DES|AES) + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set authentication protocol (MD5|SHA) + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + + Set security level (noAuthNoPriv|authNoPriv|authPriv) + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ipdu.xml b/tests/data/metadata/fence_ipdu.xml new file mode 100644 index 0000000..66fa768 --- /dev/null +++ b/tests/data/metadata/fence_ipdu.xml @@ -0,0 +1,165 @@ + + +fence_ipdu is an I/O Fencing agent which can be used with the IBM iPDU network power switch. It logs into a device via SNMP and reboots a specified outlet. It supports SNMP v3 with all combinations of authenticity/privacy settings. +http://www.ibm.com + + + + + TCP/UDP port to use for connection with device + + + + + + Specifies SNMP version to use (1,2c,3) + + + + + Set the community string + + + + + + Set privacy protocol (DES|AES) + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Set privacy protocol password + + + + + Script to run to retrieve privacy password + + + + + + Set authentication protocol (MD5|SHA) + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + + Set security level (noAuthNoPriv|authNoPriv|authPriv) + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ipmilan.xml b/tests/data/metadata/fence_ipmilan.xml new file mode 100644 index 0000000..d15e352 --- /dev/null +++ b/tests/data/metadata/fence_ipmilan.xml @@ -0,0 +1,157 @@ + + + + + + +fence_ipmilan is an I/O Fencing agentwhich can be used with machines controlled by IPMI.This agent calls support software ipmitool (http://ipmitool.sf.net/). + + + + + + TCP/UDP port to use for connection with device + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Script to retrieve password + + + + + + Method to fence (onoff|cycle) + + + + + Forces agent to use IPv4 addresses only + + + + + Login password or passphrase + + + + + Use Lanplus to improve security of connection + + + + + + IPMI Lan Auth type. + + + + + Ciphersuite to use (same as ipmitool -C parameter) + + + + + + Privilege level on IPMI device + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Path to ipmitool binary + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party sotfware. + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ldom.xml b/tests/data/metadata/fence_ldom.xml new file mode 100644 index 0000000..082fd82 --- /dev/null +++ b/tests/data/metadata/fence_ldom.xml @@ -0,0 +1,138 @@ + + +fence_ldom is an I/O Fencing agent which can be used with LDoms virtual machines. This agent works so, that run ldm command on host machine. So ldm must be directly runnable. +.P +Very useful parameter is -c (or cmd_prompt in stdin mode). This must be set to something, what is displayed after successful login to host machine. Default string is space on end of string (default for root in bash). But (for example) csh use ], so in that case you must use parameter -c with argument ]. Very similar situation is, if you use bash and login to host machine with other user than root. Than prompt is $, so again, you must use parameter -c. +http://www.sun.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + Physical plug number, name of virtual machine or UUID + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_lpar.xml b/tests/data/metadata/fence_lpar.xml new file mode 100644 index 0000000..9b6d62d --- /dev/null +++ b/tests/data/metadata/fence_lpar.xml @@ -0,0 +1,149 @@ + + + +http://www.ibm.com + + + + + TCP/UDP port to use for connection with device + + + + + Managed system name + + + + + SSH connection + + + + + Physical plug number, name of virtual machine or UUID + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Identity file for ssh + + + + + + Force HMC version to use (3 or 4) + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_netio.xml b/tests/data/metadata/fence_netio.xml new file mode 100644 index 0000000..f47238c --- /dev/null +++ b/tests/data/metadata/fence_netio.xml @@ -0,0 +1,116 @@ + + +fence_netio is an I/O Fencing agent which can be used with the Koukaam NETIO-230B Power Distribution Unit. It logs into device via telnet and reboots a specified outlet. Lengthy telnet connections should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.koukaam.se/ + + + + + TCP/UDP port to use for connection with device + + + + + Forces agent to use IPv6 addresses only + + + + + Login password or passphrase + + + + + IP Address or Hostname + + + + + Fencing Action + + + + + Forces agent to use IPv4 addresses only + + + + + Login Name + + + + + Physical plug number, name of virtual machine or UUID + + + + + Script to retrieve password + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after login + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_ovh.xml b/tests/data/metadata/fence_ovh.xml new file mode 100644 index 0000000..2c08dcb --- /dev/null +++ b/tests/data/metadata/fence_ovh.xml @@ -0,0 +1,101 @@ + + +fence_ovh is an Power Fencing agent which can be used within OVH datecentre. Poweroff is simulated with a reboot into rescue-pro mode. +http://www.ovh.net + + + + + Login password or passphrase + + + + + Reboot email + + + + + Fencing Action + + + + + Script to retrieve password + + + + + Login Name + + + + + Physical plug number, name of virtual machine or UUID + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Wait X seconds after issuing ON/OFF + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after login + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_raritan.xml b/tests/data/metadata/fence_raritan.xml new file mode 100644 index 0000000..e970b99 --- /dev/null +++ b/tests/data/metadata/fence_raritan.xml @@ -0,0 +1,116 @@ + + +fence_raritan is an I/O Fencing agent which can be used with the Raritan DPXS12-20 Power Distribution Unit. It logs into device via telnet and reboots a specified outlet. Lengthy telnet connections should be avoided while a GFS cluster is running because the connection will block any necessary fencing actions. +http://www.raritan.com/ + + + + + TCP/UDP port to use for connection with device + + + + + Forces agent to use IPv6 addresses only + + + + + Login password or passphrase + + + + + IP Address or Hostname + + + + + Fencing Action + + + + + Forces agent to use IPv4 addresses only + + + + + Login Name + + + + + Physical plug number, name of virtual machine or UUID + + + + + Script to retrieve password + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after login + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_rhevm.xml b/tests/data/metadata/fence_rhevm.xml new file mode 100644 index 0000000..1324839 --- /dev/null +++ b/tests/data/metadata/fence_rhevm.xml @@ -0,0 +1,127 @@ + + +fence_rhevm is an I/O Fencing agent which can be used with RHEV-M REST API to fence virtual machines. +http://www.redhat.com + + + + + TCP/UDP port to use for connection with device + + + + + Disable TLS negotiation + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSL connection + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_rsa.xml b/tests/data/metadata/fence_rsa.xml new file mode 100644 index 0000000..ee0421a --- /dev/null +++ b/tests/data/metadata/fence_rsa.xml @@ -0,0 +1,127 @@ + + +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. +http://www.ibm.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_rsb.xml b/tests/data/metadata/fence_rsb.xml new file mode 100644 index 0000000..56421fc --- /dev/null +++ b/tests/data/metadata/fence_rsb.xml @@ -0,0 +1,126 @@ + + +fence_rsb is an I/O Fencing agent which can be used with the Fujitsu-Siemens RSB management interface. 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. +http://www.fujitsu.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_sanbox2.xml b/tests/data/metadata/fence_sanbox2.xml new file mode 100644 index 0000000..06826b6 --- /dev/null +++ b/tests/data/metadata/fence_sanbox2.xml @@ -0,0 +1,120 @@ + + +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. +http://www.qlogic.com + + + + + TCP/UDP port to use for connection with device + + + + + Physical plug number, name of virtual machine or UUID + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + diff --git a/tests/data/metadata/fence_virsh.xml b/tests/data/metadata/fence_virsh.xml new file mode 100644 index 0000000..5febd77 --- /dev/null +++ b/tests/data/metadata/fence_virsh.xml @@ -0,0 +1,143 @@ + + +fence_virsh is an I/O Fencing agent which can be used with the virtual machines managed by libvirt. It logs via ssh to a dom0 and there run virsh command, which does all work. +.P +By default, virsh needs root account to do properly work. So you must allow ssh login in your sshd_config. +http://libvirt.org + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + Physical plug number, name of virtual machine or UUID + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + Use sudo (without password) when calling 3rd party sotfware. + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_vmware_soap.xml b/tests/data/metadata/fence_vmware_soap.xml new file mode 100644 index 0000000..52dedfa --- /dev/null +++ b/tests/data/metadata/fence_vmware_soap.xml @@ -0,0 +1,129 @@ + + +fence_vmware_soap is an I/O Fencing agent which can be used with the virtual machines managed by VMWare products that have SOAP API v4.1+. +.P +Name of virtual machine (-n / port) has to be used in inventory path format (e.g. /datacenter/vm/Discovered virtual machine/myMachine). In the cases when name of yours VM is unique you can use it instead. Alternatively you can always use UUID to access virtual machine. +http://www.vmware.com + + + + + TCP/UDP port to use for connection with device + + + + + Disable TLS negotiation + + + + + Physical plug number, name of virtual machine or UUID + + + + + Forces agent to use IPv6 addresses only + + + + + IP Address or Hostname + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSL connection + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_wti.xml b/tests/data/metadata/fence_wti.xml new file mode 100644 index 0000000..0c05620 --- /dev/null +++ b/tests/data/metadata/fence_wti.xml @@ -0,0 +1,137 @@ + + +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. +http://www.wti.com + + + + + TCP/UDP port to use for connection with device + + + + + IP Address or Hostname + + + + + Physical plug number, name of virtual machine or UUID + + + + + SSH connection + + + + + Force Python regex for command prompt + + + + + Forces agent to use IPv6 addresses only + + + + + Identity file for ssh + + + + + Forces agent to use IPv4 addresses only + + + + + Script to retrieve password + + + + + Login password or passphrase + + + + + SSH options to use + + + + + Fencing Action + + + + + Login Name + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Count of attempts to retry power on + + + + + + + + + + + + diff --git a/tests/data/metadata/fence_xenapi.xml b/tests/data/metadata/fence_xenapi.xml new file mode 100644 index 0000000..0dd0a78 --- /dev/null +++ b/tests/data/metadata/fence_xenapi.xml @@ -0,0 +1,101 @@ + + +fence_cxs is an I/O Fencing agent used on Citrix XenServer hosts. It uses the XenAPI, supplied by Citrix, to establish an XML-RPC sesssion to a XenServer host. Once the session is established, further XML-RPC commands are issued in order to switch on, switch off, restart and query the status of virtual machines running on the host. +http://www.xenproject.org + + + + + Login password or passphrase + + + + + The URL of the XenServer host. + + + + + Fencing Action + + + + + Login Name + + + + + Physical plug number, name of virtual machine or UUID + + + + + Script to retrieve password + + + + + Verbose mode + + + + + Write debug information to given file + + + + + Display version information and exit + + + + + Display help and exit + + + + + Separator for CSV created by operation list + + + + + Wait X seconds for cmd prompt after issuing command + + + + + Wait X seconds for cmd prompt after login + + + + + Test X seconds for status change after ON/OFF + + + + + Wait X seconds after issuing ON/OFF + + + + + Wait X seconds before fencing is started + + + + + Count of attempts to retry power on + + + + + + + + + + + + -- 1.9.0