<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It's not the same as the Dell NOS, but I recall hearing that it shares some lineage in the distant, dusty past.  (Well, as dusty as something that's only existed for <10yrs can be, anyway.)  So it makes sense it would be quite similar.  I've installed them
 for customers, but don't have any here to test with.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
NOTE: different FS.com switch product lines use different OSes.  Not sure how different, but definitely not a unified software for all products.  (Again, this makes sense, it's all just vendor reference designs with the FS.com logo slapped onto it.)
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-Adam<br>
</div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<b style="text-align:start; background-color:rgb(255,255,255)"><span style="margin:0px; font-size:10pt; color:rgb(68,84,106)">Adam Thompson</span></b><span style="margin:0px; font-size:9pt; color:rgb(68,84,106); text-align:start; background-color:rgb(255,255,255)"><br>
Consultant, Infrastructure Services<br>
<img class="EmojiInsert" alt="1593169877849" style="margin:0px; max-width:100%; height:auto" data-outlook-trace="F:2|T:2" src="cid:d1509a2c-9b92-47ca-982a-652a0e4384fd"><br>
100 - 135 Innovation Drive<br>
Winnipeg, MB, R3T 6A8<br>
(204) 977-6824 or 1-800-430-6404 (MB only)<br>
<a href="mailto:athompson@merlin.mb.ca" target="_blank" rel="noopener noreferrer" style="margin:0px"><span style="margin:0px">athompson@merlin.mb.ca</span></a><br>
<a href="http://www.merlin.mb.ca/" target="_blank" rel="noopener noreferrer" style="margin:0px"><span style="margin:0px">www.merlin.mb.ca</span></a></span><br>
</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> August 11, 2021 10:03<br>
<b>To:</b> Bjørn Skobba <bjorn@basis-consulting.com><br>
<b>Cc:</b> Troy Beisigl <troy@i2bnetworks.com>; rancid-discuss@shrubbery.net <rancid-discuss@shrubbery.net><br>
<b>Subject:</b> Re: [rancid] FS switches</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Wed, Aug 11, 2021 at 01:48:06PM +0200, Bjørn Skobba:<br>
> On Sun, Aug 8, 2021 at 5:45 PM heasley <heas@shrubbery.net> wrote:<br>
> ><br>
> > Sun, Aug 08, 2021 at 02:11:22PM +0200, Bjørn Skobba:<br>
> > > On Thu, May 7, 2020 at 10:54 PM Troy Beisigl <troy@i2bnetworks.com> wrote:<br>
> > > ><br>
> > > > I was trying to do a google search for anyone using rancid with FS switches. It basically came up with nothing. So I thought I would post here. We are looking to add some FS S5500 switches to rancid. Has anyone written a plugin for these switches?<br>
> > ><br>
> > > Hi,<br>
> > > replying to an old message, but just chipping in to see if you got any<br>
> > > further with FS switches and rancid? We just got in a bunch of FS<br>
> > > S3900-48T4S and are looking to add them to rancid.<br>
> ><br>
> > In general, if it smells like an already supported device, that rancid<br>
> > device type might work or at the least be a good starting point.  Try<br>
> > it; if it does not work, lmk and I'll help.<br>
> <br>
> Thanks! :) I tested a few device types and it seems like I can use<br>
> dnos9. I added this to rancid.types.conf:<br>
> dnos9fs;script;rancid -t dnos9fs<br>
> dnos9fs;login;clogin<br>
> dnos9fs;module;dnos9<br>
> dnos9fs;inloop;dnos9::inloop<br>
> dnos9fs;command;dnos9::ShowVersion;show version<br>
> dnos9fs;command;dnos9::ShowBoot;show boot<br>
> dnos9bc;command;dnos9::DirSlotN;dir<br>
       ^^ typo?  that will not be included in the collect, obviously.<br>
> dnos9fs;command;dnos9::ShowChassis;show system<br>
> dnos9fs;command;dnos9::ShowVLAN;show vlan all<br>
> dnos9fs;command;dnos9::WriteTerm;show running-config<br>
<br>
Does their O/S have a name?<br>
<br>
> Seems to give me what I need. The output is quite "airy"(as in lots of<br>
> empty lines ), but so is the output from show running-config on the<br>
> actual switch.<br>
> <br>
> /bjørn<br>
<br>
This would trim all the blank lines in the config.  dell nos does not appear<br>
to output blank lines.<br>
<br>
diff --git a/lib/dnos9.pm.in b/lib/dnos9.pm.in<br>
index 1bb52dde..b6950202 100644<br>
--- a/lib/dnos9.pm.in<br>
+++ b/lib/dnos9.pm.in<br>
@@ -363,7 +363,8 @@ sub WriteTerm {<br>
         # skip crap<br>
         /^Current Configuration/ && next;<br>
         /^! (version|last configuration|startup-config last)/i && next;<br>
-<br>
+       # skip empty lines at the beginning<br>
+       next if (/^\s*$/);<br>
 <br>
         # Dog gone Cool matches to process the rest of the config<br>
         /^tftp-server flash /   && next; # kill any tftp remains<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>