[rancid] "Stuttering" and line-ending mangling on ASR9000?
Dan Anderson
dan.w.anderson at gmail.com
Thu Jun 15 12:06:42 UTC 2017
Do you have multiple entries in your router.db file for the same device (one as type cisco and another as type cisco-xr)?
--
Dan
On Jun 15, 2017, 7:33 AM -0400, Howard Jones <howie at thingy.com>, wrote:
> We have an ASR9001 that registers a change a few times a day that looks
> like this:
>
>
> --- bgp1 (revision 17595)
> +++ bgp1 (revision 17596)
> @@ -1,6 +1,4 @@
> -!RANCID-CONTENT-TYPE: cisco
> -!
> -!Ch!Chassis type: ASR-9001 - a ASR9K Series router
> +!RANCID-CONTENT-TYPE: cisco-xr!Ch!Chassis type: ASR-9001 - a ASR9K
> Series router
> !CPU: P4040
> !
> !Memory: main 8388608K
>
>
> Or back the other way. That is, the line endings of the internally
> generated RANCID content seem to be changing. Also, there is a stutter
> in there (!Ch!Chassis) in both variations. Also, the content-type
> switches between cisco and cisco-xr (or is truncated perhaps).
>
> Any ideas on where this might be coming from? It would have to be
> between bin/rancid and lib/rancid/rancid.pm, wouldn't it?
>
> This is with rancid 3.6.2, plus a few local patches, but nothing to do
> with output processing (file naming only). Same install has a couple
> hundred other devices (no other IOS XR though, I don't think) all
> working happily.
>
> Thanks in advance,
>
> Howard
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170615/3561a2c1/attachment.html>
More information about the Rancid-discuss
mailing list