[rancid] Arista Spurious Diffs
heasley
heas at shrubbery.net
Sat Jan 21 00:51:07 UTC 2023
Fri, Jan 20, 2023 at 02:16:21PM -1000, Steve O'Brien:
> I have just started to deploy Arista switches in my mostly Cisco network.
> My first one that I added to Rancid is sending diffs every run:
>
> Index: configs/switch
> ===================================================================
> retrieving revision 1.8
> diff -u -4 -r1.8 switch
> @@ -65,9 +65,9 @@
> !Flash: -rw- 568 Nov 2 2021 SsuRestore.log
> !Flash: -rw- 568 Nov 2 2021
> SsuRestoreLegacy.log
> !Flash: drwx 4096 Sep 15 2021 aboot
> !Flash: -rw- 18 Jan 10 2022 boot-config
> - !Flash: drwx 4096 Jan 19 16:01 debug
> + !Flash: drwx 4096 Jan 19 17:01 debug
>
> Any help would be greatly appreciated!
Does this filter it successfully?
diff --git a/lib/aeos.pm.in b/lib/aeos.pm.in
index d1722e55..684280a7 100644
--- a/lib/aeos.pm.in
+++ b/lib/aeos.pm.in
@@ -260,6 +260,8 @@ sub ShowFlash {
# persist changes constantly if you're running ntp, so
# skip its updates.
/\spersist$/ && next;
+ # frequent timestamp changes
+ /\sdebug$/ && next;
# Scheduled commands can cause free space to constantly
# change. Even the trick of summarizing the free space
More information about the Rancid-discuss
mailing list