<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
Try: <a href="https://github.com/jrbinks/rancid-arubaos">https://github.com/jrbinks/rancid-arubaos</a> (forked from <a href="https://github.com/miken32/rancid-aruba">https://github.com/miken32/rancid-aruba</a>).</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I've never used it on Instant, but I think the OS when running in Instant mode is much the same?</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<span style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">Jethro.</span><br>
</div>
<div class="elementToProof">
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<p>.<span style=""> </span>.<span style=""> </span>.<span style=""> </span>.<span style="">
</span>.<span style=""> </span>.<span style=""> </span>.<span style=""> </span>
.<span style=""> </span>.<span style=""> </span>.<span style=""> </span>.<span style="">
</span>.<span style=""> </span>.<span style=""> </span>.<span style=""> </span>
.<span style=""> </span>.<span style=""> </span>.<span style=""> </span>.<span style="">
</span>.<span style=""> </span>.<span style=""> </span>.<span style=""> </span>
.<span style=""> </span>.<span style=""> </span>.<span style=""> </span>. </p>
<p>J<span style="font-family: "segoe ui", "helvetica neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">ethro R Binks, Network Manager,</span><span style="font-family: "segoe ui", "helvetica neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> </span></p>
<p><span style="font-family: "segoe ui", "helvetica neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">Information Services Directorate, University Of Strathclyde, Glasgow, UK</span></p>
<p><span style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><br>
</span></p>
<p><span style="font-family: "segoe ui", "helvetica neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">The University of Strathclyde is a charitable body, registered in</span><span style="font-family: "segoe ui", "helvetica neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"> </span><span style="font-family: "segoe ui", "helvetica neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">Scotland,
number SC015263.</span></p>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Rancid-discuss <rancid-discuss-bounces@www.shrubbery.net> on behalf of heasley <heas@shrubbery.net><br>
<b>Sent:</b> 16 October 2023 19:17<br>
<b>To:</b> Elliot Wilen <elliot.wilen@aechelon.com><br>
<b>Cc:</b> rancid-discuss@www.shrubbery.net <rancid-discuss@www.shrubbery.net><br>
<b>Subject:</b> Re: [rancid] Aruba instant OS -- dealing with lack of "end" in show configuration</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Mon, Oct 16, 2023 at 05:31:40PM +0000, Elliot Wilen:<br>
> HI, all,<br>
> <br>
> 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.<br>
> <br>
> 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.<br>
<br>
Those options seem like things that could easily break w/ new kernels.<br>
<br>
The reason for this check is to ensure that device actually produces a<br>
config. Some devices produce their human-readable config from non-homan<br>
readable sources. when they have issues such as memory starvation that<br>
prevent that from being produced, they will sometimes silently.<br>
<br>
So, find a method to determine that it has produced the full config, then<br>
set found_end if that check passes. Some just check that no errors were<br>
returned and greater than 5 lines of config were received.<br>
<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
Rancid-discuss@www.shrubbery.net<br>
<a href="https://www.shrubbery.net/mailman/listinfo/rancid-discuss">https://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
</div>
</span></font></div>
</body>
</html>