[rancid] Dell Force10 module change

Florin Vlad Olariu vv.corto at gmail.com
Fri Jul 26 08:55:24 UTC 2019


The Force10s that my company uses seem to produce the following lines when
running "show run":

! Version 9.7(0.0)

! Last configuration change at Wed Oct 10 10:13:32
<http://airmail.calendar/2019-10-10%2010:13:32%20IST> 2018 by <user>

! Startup-config last updated at Fri Jul 26 03:00:20
<http://airmail.calendar/2019-07-26%2003:00:20%20IST> 2019 by <user>


The change I made simply filters these lines:


[rancid at tvvsmtarist001 ~]$ diff -u ran-bin/usr/libexec/rancid/f10rancid
/usr/local/rancid/bin/f10rancid

--- ran-bin/usr/libexec/rancid/f10rancid        2019-07-26
<http://airmail.calendar/2019-07-26%2012:00:00%20IST> 08:45:09.956957727
+0000

+++ /usr/local/rancid/bin/f10rancid     2019-07-26
<http://airmail.calendar/2019-07-26%2012:00:00%20IST> 08:33:03.536463469
+0000

@@ -443,6 +443,9 @@

        # skip crap

        /^Current Configuration/ && next;


+        # CUSTOM: killing more variable stuff

+        /^! (Version|Last configuration|Startup-config last)/ && next;

+

It would be nice if a variant of this change could end up in the main
force10 module.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20190726/ad39070f/attachment.html>


More information about the Rancid-discuss mailing list