nanog mailing list archives
Re: using expect to log into devices
From: Niels Bakker <niels=nanog () bakker net>
Date: Sun, 22 Jul 2018 00:43:35 +0200
* surfer () 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.
-- Niels.
Current thread:
- using expect to log into devices Scott Weeks (Jul 20)
- Re: using expect to log into devices James Bensley (Jul 21)
- Re: using expect to log into devices Lee (Jul 21)
- <Possible follow-ups>
- Re: using expect to log into devices Scott Weeks (Jul 21)
- Re: using expect to log into devices Scott Weeks (Jul 21)
- Re: using expect to log into devices Niels Bakker (Jul 21)
- Re: using expect to log into devices valdis . kletnieks (Jul 21)
- Re: using expect to log into devices J Crowe (Jul 21)
- Re: using expect to log into devices valdis . kletnieks (Jul 22)
- Re: using expect to log into devices Niels Bakker (Jul 21)
- Re: using expect to log into devices Jimmy Hess (Jul 24)
- RE: Re: using expect to log into devices Jamie Bowden (Jul 25)