using expect to log into devices

Scott Weeks surfer at mauigateway.com
Wed Jul 25 02:53:46 UTC 2018


Was out.  Late reply...

--- niels=nanog at bakker.net wrote:
From: Niels Bakker <niels=nanog at bakker.net>
* surfer at mauigateway.com (Scott Weeks) [Sat 21 Jul 2018, 22:38 CEST]:

>I had already done this in PERL, but, even though we have PERL, we 
>are not allowed to download modules here. So, I'm redoing it in 
>Expect.  I thought someone would say a "oh just <blah, blah> and 
>you're done" type of response.

Well, what you're doing right here is reimplementing rancid.  Which is 
wholly unnecessary because we already have rancid, and a more modern 
alternative named oxidized.  And you've gotten that response already.

Fine as a personal exercise, of course.  The inability to download 
modules seems sadistic to me, though.
--------------------------------------------------


It IS sadistic and I don't have a choice.  Can't use rancid, either.
Thus my comment of $next-job and personal exercise in prep for that.  
But, while I'm here I want something non-GUI I can use without losing 
my mind.

scott



More information about the NANOG mailing list