From: jparsons@sourceware.org <jparsons@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/fence/agents/drac fence_drac.pl
Date: 6 Sep 2006 15:34:03 -0000 [thread overview]
Message-ID: <20060906153403.30344.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: jparsons at sourceware.org 2006-09-06 15:34:03
Modified files:
fence/agents/drac: fence_drac.pl
Log message:
Support for DRAC ERA
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/drac/fence_drac.pl.diff?cvsroot=cluster&r1=1.7&r2=1.8
--- cluster/fence/agents/drac/fence_drac.pl 2006/08/16 19:16:01 1.7
+++ cluster/fence/agents/drac/fence_drac.pl 2006/09/06 15:34:03 1.8
@@ -17,6 +17,8 @@
# Model DRAC Version Firmware
# ------------------- -------------- ----------------------
# PowerEdge 750 DRAC III/XT 3.20 (Build 10.25)
+# Dell Remote Access Controller - ERA and DRAC III/XT, v.3.20, A00
+#
# PowerEdge 1855 DRAC/MC 1.1 (Build 03.03)
# PowerEdge 1855 DRAC/MC 1.2 (Build 03.03)
# PowerEdge 1850 DRAC 4/I 1.35 (Build 09.27)
@@ -130,6 +132,10 @@
fail "failed: telnet failed: ". $t->errmsg."\n" ;
# Determine DRAC version
+ if (/Dell Embedded Remote Access Controller \(ERA\)\nFirmware Version/m)
+ {
+ $drac_version = $DRAC_VERSION_III_XT;
+ } else {
if (/.*\((DRAC[^)]*)\)/m)
{
print "detected drac version '$1'\n" if $verbose;
@@ -144,6 +150,7 @@
print "WARNING: unable to detect DRAC version '$_'\n";
$drac_version = $DRAC_VERSION_UNKNOWN;
}
+ }
# Setup prompt
if ($drac_version =~ /$DRAC_VERSION_III_XT/)
@@ -508,7 +515,11 @@
{
$cmd_prompt = $val;
}
- # Excess name/vals won't fail
+ # Excess name/vals will fail
+ else
+ {
+ fail "parse error: unknown option \"$opt\"";
+ }
}
}
next reply other threads:[~2006-09-06 15:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 15:34 jparsons [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-11-27 16:47 [Cluster-devel] cluster/fence/agents/drac fence_drac.pl rmccabe
2006-11-27 16:45 rmccabe
2006-11-27 16:40 rmccabe
2006-10-20 16:21 jparsons
2006-09-06 15:32 jparsons
2006-08-16 19:16 jparsons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060906153403.30344.qmail@sourceware.org \
--to=jparsons@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).