[rancid] Aruba instant OS -- dealing with lack of "end" in show configuration
Elliot Wilen
elliot.wilen at aechelon.com
Mon Oct 16 17:31:40 UTC 2023
HI, all,
I've been working on a .pm file for our Aruba Instant AP setup (which I'm defining as arubaos in the types file), using foundry.pm as a starting point, but whenever I run rancid -d -t arubaos <device>, I get "End of run not found", "clean_run is false", and "found_end is false. Eventually after messing with the .raw file I realized the problem was that "show configuration" doesn't put "end" at the end. I realize I could hack this by changing the .pm to always set $found_end to 1, but I wonder if there's a better way.
I'll note that for whatever reason, show configuration does end with 6 blank lines, so I might be able to use that. Or, a bit more kludgy, I could look for the last line that actually does print-only problem is, it is something that could theoretically change, although we would never change it in practice.
--
Elliot Wilen
Enterprise IT Architect
Aechelon Technology, Inc.
E-Mail: elliot.wilen at aechelon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20231016/6319b568/attachment.htm>
More information about the Rancid-discuss
mailing list