Browse files

FOUNDRY / BROCADE: Ignore Switch Fabric Uptime.

We already ignore the uptime for the management modules and the LPs so
it makes sense to also ignore the switch fabric which is now reported in
the latest code releases. There's no point in reporting this in RANCID.

This code idea was taken from the rancid-discuss list at:

http://www.shrubbery.net/pipermail/rancid-discuss/2012-August/006460.html
  • Loading branch information...
1 parent 2f49dd2 commit ff9f6d4420390d4c900269bbe8fbe2cb95a438f1 @dotwaffle committed Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/francid.in
View
2 bin/francid.in
@@ -178,7 +178,7 @@ sub ShowVersion {
last if (/^$prompt/);
next if (/^(The system |Crash time)/);
- next if (/^(System|(Active|Standby) Management|LP Slot \d+) uptime is/);
+ next if (/^(System|(Active|Standby) Management|LP Slot \d+|Switch Fabric Module \d+) (uptime|Up Time) is/);
# remove uptime on newer switches
s/(STACKID \d+)\s+system uptime is.*$/$1/;

0 comments on commit ff9f6d4

Please sign in to comment.