Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62264

Re: seeking a framework to automate router configurations

References <BAY176-W28FCEC569DDE62E02C8CC4DADA0@phx.gbl> <CAPTjJmrfFoOZ_Z55WFA-tYwz_xyzgnKX974ysfz7zT7nWb+HtQ@mail.gmail.com> <BAY176-W446676E51D006F6A34AA98DADA0@phx.gbl>
Date 2013-12-18 14:47 +1100
Subject Re: seeking a framework to automate router configurations
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4328.1387338435.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Dec 18, 2013 at 2:13 PM, Frank Cui <ycui@outlook.com> wrote:
> Thanks for the advice!
>
> I'm aware of this module, the problem is that this is quite a low level
> module and I would have quite a lot to re-invent specific to telneting to a
> cisco router.

Do you know what it is you'd have to be reinventing? TELNET itself is
just a TCP socket with some special handling of byte 0xFF, which quite
possibly won't even come up in what you're doing here. For the rest,
it's just a matter of sending and receiving text; is there something
complicated in the authentication system that you'd be needing to
recreate? Otherwise I think you'll find that it's simpler than you
expect.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: seeking a framework to automate router configurations Chris Angelico <rosuav@gmail.com> - 2013-12-18 14:47 +1100

csiph-web