[rancid] Patch for Brocade Stacking Switches

Matthias Cramer matthias.cramer at iway.ch
Fri Jul 30 05:45:48 UTC 2010


Hi

Here is a patch which removes the system uptime in the output of newer 
stacking switches from Brocade (FLS, FWS, etc).

-------------------------------------------------------------
--- francid-old 2010-07-15 19:21:00.681658978 +0200
+++ francid     2010-07-15 19:56:23.089908460 +0200
@@ -183,6 +183,8 @@
         s/^\s*(HW|SW)/$1/;
         s/^\s*(Compiled on)/SW: $1/;
         s/^\s*(\(\d+ bytes\) from )/SW: $1/;
+       # remove uptime on newer switches
+       s/(STACKID \d+)\s+system uptime is.*$/$1/;

         #s/^(HW.*)/$1\n/;
         if (/^SL (\d+)/) {
-------------------------------------------------------------

Would be nice if that could be incorporated into the next release.

Regards

   Matthias

-- 
Matthias Cramer / mc322-ripe   Senior Network & Security Engineer
iway AG	                       Phone +41 43 500 1111
Josefstrasse 225               Fax   +41 44 271 3535
CH-8005 Zürich                 http://www.iway.ch/
GnuPG 1024D/2D208250 = DBC6 65B6 7083 1029 781E  3959 B62F DF1C 2D20 8250



More information about the Rancid-discuss mailing list