Discussion:
[rancid] Suppress changes in VLAN-membership
Ole Hansen - Netic A/S
2007-07-03 08:09:39 UTC
Permalink
Hi,

We are using MAC-based VLANS (vmps) and switch ports often change vlan
membership. This is discovered by rancid, and I am sent a diff..

Is there any way to suppress this VLAN-information? It means that I get
a lot of config diffs every day - and not only the ones that I would
actually want to see..

Thanks in advance,
Ole Hansen
Michael Stefaniuc
2007-07-03 09:45:53 UTC
Permalink
Post by Ole Hansen - Netic A/S
We are using MAC-based VLANS (vmps) and switch ports often change vlan
membership. This is discovered by rancid, and I am sent a diff..
Is there any way to suppress this VLAN-information? It means that I get
a lot of config diffs every day - and not only the ones that I would
actually want to see..
Search the archives for "diff". Somebody posted a patch that uses gnu
diff's "--ignore-matching-lines" option.

bye
michael
--
Michael Stefaniuc Tel.: +49-711-96437-199
Sr. Network Engineer Fax.: +49-711-96437-111
Red Hat GmbH Email: ***@redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
Erik Wenzel
2007-07-05 08:11:25 UTC
Permalink
On Tue, 2007-07-03 at 11:45 +0200, Michael Stefaniuc wrote:
[...]
Post by Michael Stefaniuc
Post by Ole Hansen - Netic A/S
Is there any way to suppress this VLAN-information? It means that I get
a lot of config diffs every day - and not only the ones that I would
actually want to see..
Search the archives for "diff". Somebody posted a patch that uses gnu
diff's "--ignore-matching-lines" option.
Yes, but that was not working as expected. We ( a buddy and me ) rewrote
that patch. I am preparing a patch for current stable version.
--
Erik Wenzel <***@code.de>
Michael Stefaniuc
2007-07-05 09:07:41 UTC
Permalink
Post by Erik Wenzel
[...]
Post by Michael Stefaniuc
Post by Ole Hansen - Netic A/S
Is there any way to suppress this VLAN-information? It means that I get
a lot of config diffs every day - and not only the ones that I would
actually want to see..
Search the archives for "diff". Somebody posted a patch that uses gnu
diff's "--ignore-matching-lines" option.
that patch. I am preparing a patch for current stable version.
Would you mind posting it to this email list when done? I guess there
are a couple of people interested.

thanks
bye
michael
--
Michael Stefaniuc Tel.: +49-711-96437-199
Sr. Network Engineer Fax.: +49-711-96437-111
Red Hat GmbH Email: ***@redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
Erik Wenzel
2007-07-09 15:25:42 UTC
Permalink
Post by Michael Stefaniuc
Post by Erik Wenzel
[...]
Post by Michael Stefaniuc
Post by Ole Hansen - Netic A/S
Is there any way to suppress this VLAN-information? It means that I get
a lot of config diffs every day - and not only the ones that I would
actually want to see..
Search the archives for "diff". Somebody posted a patch that uses gnu
diff's "--ignore-matching-lines" option.
that patch. I am preparing a patch for current stable version.
Would you mind posting it to this email list when done? I guess there
are a couple of people interested.
The patch is available
http://gpl.code.de/rancid/diff-suppress-2.3.1-7.patch . Thanks to Chris
Seitz, who fixed the code. It is tested with gnu diff, only.

Loading...