[rancid] Pinning Moving Config Lines

Michael Stefaniuc mstefani at redhat.com
Tue Jan 27 10:18:14 UTC 2009


Hello guys,

is there an easy way to assign a fixed position to config lines that
move around during two invocations of "write term"?

In the Cisco SAN-OS devices the "callhome" config line moves between the
front and end of the "fcalias name" sections producing bogus change reports.

The solutions I see on a quick glance (none satisfactory):
- The absolute easiest way would be to just drop the line but for this
  config line it doesn't seem like a wise idea.
- In the WriteTerm function create a separate ProcessHistory
  "fcalias name" section with sorting and add "callhome" to that section
  too. Drawback is that I would have to parse the "fcalias name"
  sections correctly too.

Does anybody know a nicer way to pin the moving config line down?

thanks
bye
	michael
-- 
Michael Stefaniuc                           Tel.: +49-711-96437-199
Consulting Communications Engineer          Fax.: +49-711-96437-111
--------------------------------------------------------------------
Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach bei Muenchen
Handelsregister: Amtsgericht Muenchen HRB 153243
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,
                 Werner Knoblich


More information about the Rancid-discuss mailing list