fence-agents: master - fencing: Add vendor URL to man pages
Fabio M. Di Nitto
fabbione at fedoraproject.org
Tue Apr 20 13:24:52 UTC 2010
Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=bee80d8e340f90e620eec3cc8571c3226c350f04
Commit: bee80d8e340f90e620eec3cc8571c3226c350f04
Parent: 40e5f51eec5e12e6bf25beeacdcef82aa567a4b5
Author: Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate: Mon Jan 18 20:01:33 2010 +0100
Committer: Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Tue Apr 20 14:48:21 2010 +0200
fencing: Add vendor URL to man pages
---
fence/agents/alom/fence_alom.py | 1 +
fence/agents/apc/fence_apc.py | 1 +
fence/agents/apc_snmp/fence_apc_snmp.py | 1 +
fence/agents/baytech/fence_baytech.8 | 2 ++
fence/agents/bladecenter/fence_bladecenter.py | 1 +
fence/agents/brocade/fence_brocade.8 | 2 ++
fence/agents/bullpap/fence_bullpap.8 | 2 ++
fence/agents/cisco_mds/fence_cisco_mds.py | 1 +
fence/agents/cpint/fence_cpint.8 | 2 ++
fence/agents/drac/fence_drac.8 | 2 ++
fence/agents/drac5/fence_drac5.py | 1 +
fence/agents/egenera/fence_egenera.8 | 2 ++
fence/agents/eps/fence_eps.py | 1 +
fence/agents/ibmblade/fence_ibmblade.py | 1 +
fence/agents/ifmib/fence_ifmib.py | 1 +
fence/agents/ilo/fence_ilo.py | 1 +
fence/agents/ilo_mp/fence_ilo_mp.py | 1 +
fence/agents/intelmodular/fence_intelmodular.py | 1 +
fence/agents/ldom/fence_ldom.py | 1 +
fence/agents/lib/fencing.py.py | 2 ++
fence/agents/mcdata/fence_mcdata.8 | 2 ++
fence/agents/rackswitch/fence_rackswitch.8 | 2 ++
fence/agents/rsa/fence_rsa.py | 1 +
fence/agents/sanbox2/fence_sanbox2.py | 1 +
fence/agents/vixel/fence_vixel.8 | 2 ++
fence/agents/vmware/fence_vmware.py | 1 +
fence/agents/wti/fence_wti.py | 1 +
fence/agents/xcat/fence_xcat.8 | 2 ++
fence/agents/zvm/fence_zvm.8 | 2 ++
29 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/fence/agents/alom/fence_alom.py b/fence/agents/alom/fence_alom.py
index 5dfe9e0..6223608 100644
--- a/fence/agents/alom/fence_alom.py
+++ b/fence/agents/alom/fence_alom.py
@@ -64,6 +64,7 @@ def main():
docs["shortdesc"] = "Fence agent for Sun ALOM"
docs["longdesc"] = "fence_alom is an I/O Fencing \
agent which can be used with ALOM connected machines."
+ docs["vendorurl"] = "http://www.sun.com"
show_docs(options, docs)
# Operate the fencing device
diff --git a/fence/agents/apc/fence_apc.py b/fence/agents/apc/fence_apc.py
index b70b220..12ddf2a 100755
--- a/fence/agents/apc/fence_apc.py
+++ b/fence/agents/apc/fence_apc.py
@@ -207,6 +207,7 @@ 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."
+ docs["vendorurl"] = "http://www.apc.com"
show_docs(options, docs)
## Support for -n [switch]:[plug] notation that was used before
diff --git a/fence/agents/apc_snmp/fence_apc_snmp.py b/fence/agents/apc_snmp/fence_apc_snmp.py
index ea3a89f..71e978e 100644
--- a/fence/agents/apc_snmp/fence_apc_snmp.py
+++ b/fence/agents/apc_snmp/fence_apc_snmp.py
@@ -195,6 +195,7 @@ def main():
which can be used with the APC 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."
+ docs["vendorurl"] = "http://www.apc.com"
show_docs(options, docs)
# Operate the fencing device
diff --git a/fence/agents/baytech/fence_baytech.8 b/fence/agents/baytech/fence_baytech.8
index e60175d..aa17955 100644
--- a/fence/agents/baytech/fence_baytech.8
+++ b/fence/agents/baytech/fence_baytech.8
@@ -25,6 +25,8 @@ fence_baytech accepts options on the command line as well as from stdin.
fenced sends parameters through stdin when it execs the agent. fence_baytech
can be run by itself with command line options which is useful for testing.
+Vendor URL: http://www.baytech.net
+
.SH OPTIONS
.TP
\fB-a\fP \fIhost\fP
diff --git a/fence/agents/bladecenter/fence_bladecenter.py b/fence/agents/bladecenter/fence_bladecenter.py
index 708fc84..8b890e4 100644
--- a/fence/agents/bladecenter/fence_bladecenter.py
+++ b/fence/agents/bladecenter/fence_bladecenter.py
@@ -110,6 +110,7 @@ def main():
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."
+ docs["vendorurl"] = "http://www.ibm.com"
show_docs(options, docs)
##
diff --git a/fence/agents/brocade/fence_brocade.8 b/fence/agents/brocade/fence_brocade.8
index 36fde82..812a3f9 100644
--- a/fence/agents/brocade/fence_brocade.8
+++ b/fence/agents/brocade/fence_brocade.8
@@ -26,6 +26,8 @@ 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.
+Vendor URL: http://www.brocade.com
+
.SH OPTIONS
.TP
\fB-a\fP \fIIPaddress\fP
diff --git a/fence/agents/bullpap/fence_bullpap.8 b/fence/agents/bullpap/fence_bullpap.8
index 876b406..1404c75 100644
--- a/fence/agents/bullpap/fence_bullpap.8
+++ b/fence/agents/bullpap/fence_bullpap.8
@@ -18,6 +18,8 @@ fence_bullpap accepts options on the command line as well as from stdin.
fenced sends the options through stdin when it execs the agent. fence_bullpap
can be run by itself with command line options which is useful for testing.
+Vendor URL: http://www.bull.com
+
.SH OPTIONS
.TP
\fB-a\fP \fIIPaddress\fP
diff --git a/fence/agents/cisco_mds/fence_cisco_mds.py b/fence/agents/cisco_mds/fence_cisco_mds.py
index c345c2e..d20efe4 100644
--- a/fence/agents/cisco_mds/fence_cisco_mds.py
+++ b/fence/agents/cisco_mds/fence_cisco_mds.py
@@ -111,6 +111,7 @@ def main():
docs["shortdesc"] = "Fence agent for Cisco MDS"
docs["longdesc"] = "fence_cisco_mds is an I/O Fencing agent \
which can be used with any Cisco MDS 9000 series with SNMP enabled device."
+ docs["vendorurl"] = "http://www.cisco.com"
show_docs(options, docs)
if (not (options["-o"] in ["list","monitor"])):
diff --git a/fence/agents/cpint/fence_cpint.8 b/fence/agents/cpint/fence_cpint.8
index efbaa7e..e9f1c5d 100644
--- a/fence/agents/cpint/fence_cpint.8
+++ b/fence/agents/cpint/fence_cpint.8
@@ -26,6 +26,8 @@ fence_node sends the options through stdin when it execs the agent.
fence_cpint can be run by itself with command line options which is useful for
testing.
+Vendor URL: http://www.ibm.com
+
.SH OPTIONS
.TP
\fB-h\fP
diff --git a/fence/agents/drac/fence_drac.8 b/fence/agents/drac/fence_drac.8
index 8dda184..3e302d9 100644
--- a/fence/agents/drac/fence_drac.8
+++ b/fence/agents/drac/fence_drac.8
@@ -25,6 +25,8 @@ Fenced sends parameters through stdin when it execs the agent. fence_drac
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.dell.com
+
.SH OPTIONS
.TP
\fB-a\fP \fIIPaddress\fR
diff --git a/fence/agents/drac5/fence_drac5.py b/fence/agents/drac5/fence_drac5.py
index 900b547..256158a 100644
--- a/fence/agents/drac5/fence_drac5.py
+++ b/fence/agents/drac5/fence_drac5.py
@@ -104,6 +104,7 @@ 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."
+ docs["vendorurl"] = "http://www.dell.com"
show_docs(options, docs)
##
diff --git a/fence/agents/egenera/fence_egenera.8 b/fence/agents/egenera/fence_egenera.8
index cfa839e..7e907cd 100644
--- a/fence/agents/egenera/fence_egenera.8
+++ b/fence/agents/egenera/fence_egenera.8
@@ -21,6 +21,8 @@ fence_egenera accepts options on the command line as well as from stdin.
Fenced sends parameters through stdin when it execs the agent. fence_egenera
can also be run by itself with command line options.
+Vendor URL: http://www.egenera.com
+
.SH OPTIONS
.TP
\fB-c\fP \fIcserver\fR
diff --git a/fence/agents/eps/fence_eps.py b/fence/agents/eps/fence_eps.py
index ffcb69b..049c01c 100644
--- a/fence/agents/eps/fence_eps.py
+++ b/fence/agents/eps/fence_eps.py
@@ -117,6 +117,7 @@ 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."
+ docs["vendorurl"] = "http://www.epowerswitch.com"
show_docs(options, docs)
#Run fence action. Conn is None, beacause we always need open new http connection
diff --git a/fence/agents/ibmblade/fence_ibmblade.py b/fence/agents/ibmblade/fence_ibmblade.py
index 3ad6acc..323a4ad 100644
--- a/fence/agents/ibmblade/fence_ibmblade.py
+++ b/fence/agents/ibmblade/fence_ibmblade.py
@@ -77,6 +77,7 @@ def main():
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."
+ docs["vendorurl"] = "http://www.ibm.com"
show_docs(options, docs)
# Operate the fencing device
diff --git a/fence/agents/ifmib/fence_ifmib.py b/fence/agents/ifmib/fence_ifmib.py
index 9f388d0..2914301 100644
--- a/fence/agents/ifmib/fence_ifmib.py
+++ b/fence/agents/ifmib/fence_ifmib.py
@@ -137,6 +137,7 @@ 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."
+ docs["vendorurl"] = "http://www.ietf.org/wg/concluded/ifmib.html"
show_docs(options, docs)
# Operate the fencing device
diff --git a/fence/agents/ilo/fence_ilo.py b/fence/agents/ilo/fence_ilo.py
index 10d888c..b68f4e4 100755
--- a/fence/agents/ilo/fence_ilo.py
+++ b/fence/agents/ilo/fence_ilo.py
@@ -76,6 +76,7 @@ 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."
+ docs["vendorurl"] = "http://www.hp.com"
show_docs(options, docs)
##
diff --git a/fence/agents/ilo_mp/fence_ilo_mp.py b/fence/agents/ilo_mp/fence_ilo_mp.py
index e679192..fed9f36 100644
--- a/fence/agents/ilo_mp/fence_ilo_mp.py
+++ b/fence/agents/ilo_mp/fence_ilo_mp.py
@@ -60,6 +60,7 @@ def main():
docs = { }
docs["shortdesc"] = "Fence agent for HP iLO MP"
docs["longdesc"] = ""
+ docs["vendorurl"] = "http://www.hp.com"
show_docs(options, docs)
conn = fence_login(options)
diff --git a/fence/agents/intelmodular/fence_intelmodular.py b/fence/agents/intelmodular/fence_intelmodular.py
index 1a313ae..11ff9bc 100644
--- a/fence/agents/intelmodular/fence_intelmodular.py
+++ b/fence/agents/intelmodular/fence_intelmodular.py
@@ -87,6 +87,7 @@ 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."
+ docs["vendorurl"] = "http://www.intel.com"
show_docs(options, docs)
# Operate the fencing device
diff --git a/fence/agents/ldom/fence_ldom.py b/fence/agents/ldom/fence_ldom.py
index d520fca..507a97a 100644
--- a/fence/agents/ldom/fence_ldom.py
+++ b/fence/agents/ldom/fence_ldom.py
@@ -113,6 +113,7 @@ 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."
+ docs["vendorurl"] = "http://www.sun.com"
show_docs(options, docs)
##
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index 2617492..831cdb1 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -421,6 +421,8 @@ def metadata(avail_opt, options, docs):
print "<?xml version=\"1.0\" ?>"
print "<resource-agent name=\"" + os.path.basename(sys.argv[0]) + "\" shortdesc=\"" + docs["shortdesc"] + "\" >"
print "<longdesc>" + docs["longdesc"] + "</longdesc>"
+ if docs.has_key("vendorurl"):
+ print "<vendor-url>" + docs["vendorurl"] + "</vendor-url>"
print "<parameters>"
for option, value in sorted_list:
if all_opt[option].has_key("shortdesc"):
diff --git a/fence/agents/mcdata/fence_mcdata.8 b/fence/agents/mcdata/fence_mcdata.8
index 2230a66..c52ffd6 100644
--- a/fence/agents/mcdata/fence_mcdata.8
+++ b/fence/agents/mcdata/fence_mcdata.8
@@ -26,6 +26,8 @@ into the GFS cluster (after reboot) the port on the McData FC switch needs to
be enabled. This can be done by running fence_mcdata and specifying the
enable action.
+Vendor URL: http://www.brocade.com
+
.SH OPTIONS
.TP
\fB-a\fP \fIIPaddress\fP
diff --git a/fence/agents/rackswitch/fence_rackswitch.8 b/fence/agents/rackswitch/fence_rackswitch.8
index 4f662c7..fc64a79 100644
--- a/fence/agents/rackswitch/fence_rackswitch.8
+++ b/fence/agents/rackswitch/fence_rackswitch.8
@@ -18,6 +18,8 @@ fence_rackswitch accepts options on the command line as well as from stdin.
fenced sends the options through stdin when it execs the agent. fence_rackswitch
can be run by itself with command line options which is useful for testing.
+Vendor URL: http://www.bladenetwork.net
+
.SH OPTIONS
.TP
\fB-a\fP \fIIPaddress\fP
diff --git a/fence/agents/rsa/fence_rsa.py b/fence/agents/rsa/fence_rsa.py
index 459dfbb..888063b 100644
--- a/fence/agents/rsa/fence_rsa.py
+++ b/fence/agents/rsa/fence_rsa.py
@@ -65,6 +65,7 @@ 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."
+ docs["vendorurl"] = "http://www.ibm.com"
show_docs(options, docs)
##
diff --git a/fence/agents/sanbox2/fence_sanbox2.py b/fence/agents/sanbox2/fence_sanbox2.py
index 086fe32..47f3bc8 100644
--- a/fence/agents/sanbox2/fence_sanbox2.py
+++ b/fence/agents/sanbox2/fence_sanbox2.py
@@ -130,6 +130,7 @@ QLogic SANBox2 FC switches. It logs into a SANBox2 switch via telnet and disabl
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."
+ docs["vendorurl"] = "http://www.qlogic.com"
show_docs(options, docs)
##
diff --git a/fence/agents/vixel/fence_vixel.8 b/fence/agents/vixel/fence_vixel.8
index dc285c5..83db14f 100644
--- a/fence/agents/vixel/fence_vixel.8
+++ b/fence/agents/vixel/fence_vixel.8
@@ -29,6 +29,8 @@ Then apply
Consult the Vixel manual for details
+Vendor URL: http://www.emulex.com
+
.SH OPTIONS
.TP
\fB-a\fP \fIIPaddress\fP
diff --git a/fence/agents/vmware/fence_vmware.py b/fence/agents/vmware/fence_vmware.py
index ad51687..99e5ca9 100644
--- a/fence/agents/vmware/fence_vmware.py
+++ b/fence/agents/vmware/fence_vmware.py
@@ -322,6 +322,7 @@ command is used.\
After you have successfully installed VI Perl Toolkit or VIX API, you should \
be able to run fence_vmware_helper (part of this agent) or vmrun command. \
This agent supports only vmrun from version 2.0.0 (VIX API 1.6.0)."
+ docs["vendorurl"] = "http://www.vmware.com"
show_docs(options, docs)
# Check vmware type and set path
diff --git a/fence/agents/wti/fence_wti.py b/fence/agents/wti/fence_wti.py
index 120fa81..bc25f26 100644
--- a/fence/agents/wti/fence_wti.py
+++ b/fence/agents/wti/fence_wti.py
@@ -96,6 +96,7 @@ 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."
+ docs["vendorurl"] = "http://www.wti.com"
show_docs(options, docs)
##
diff --git a/fence/agents/xcat/fence_xcat.8 b/fence/agents/xcat/fence_xcat.8
index 7da35d5..719f896 100644
--- a/fence/agents/xcat/fence_xcat.8
+++ b/fence/agents/xcat/fence_xcat.8
@@ -23,6 +23,8 @@ NOTE: It is recommended that fence_bladecenter(8) is used instead of fence_xcat
the bladecenter firmware supports telnet. This interface is much cleaner and
easier to setup.
+Vendor URL: http://www.xcat.org
+
.SH OPTIONS
.TP
\fB-h\fP
diff --git a/fence/agents/zvm/fence_zvm.8 b/fence/agents/zvm/fence_zvm.8
index b22f8e1..c58d8ae 100644
--- a/fence/agents/zvm/fence_zvm.8
+++ b/fence/agents/zvm/fence_zvm.8
@@ -18,6 +18,8 @@ fence_node sends the options through stdin when it execs the agent.
fence_zvm can be run by itself with command line options which is useful
for testing.
+Vendor URL: http://www.ibm.com
+
.SH OPTIONS
.TP
\fB-a\fP \fIIPaddress\fP
More information about the cluster-commits
mailing list