Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62264
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.051 |
| X-Spam-Evidence | '*H*': 0.90; '*S*': 0.00; 'rest,': 0.07; 'socket': 0.07; 'subject:skip:c 10': 0.09; 'cc:addr:python-list': 0.11; 'cui': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'tcp': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'module': 0.19; 'cc:addr:python.org': 0.22; 'byte': 0.24; 'module,': 0.24; 'simpler': 0.24; 'cc:2**0': 0.24; 'handling': 0.26; 'possibly': 0.26; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'quite': 0.32; 'problem': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'doing': 0.36; 'thanks': 0.36; 'level': 0.37; 'pm,': 0.38; 'itself': 0.39; 'even': 0.60; 'matter': 0.61; "you're": 0.61; "you'll": 0.62; 'needing': 0.65; 'cisco': 0.68; 'frank': 0.68; 'special': 0.74; 'low': 0.83; 'to:none': 0.92; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=0Ut8dtG8WTx9U76nccDmkCJqe+2xbQhNVHA+CHzClUw=; b=Teh1hRcobxnrJZ7AjzeEiwx2eMA5nsrXK/6LbtI4y5spPFLYGJX4BfATjivTrLMUo+ 5ByGuVFrBOLOWctuw9DtfCSGc6kDTrmg9YWnHLHet3XyrAKgMIi7lUpDkUi95qUbmpyL 8OLdiC7Sp0mE2QK9YgA0jVpChKEyUlx0dePZRjOuTcf85jC0ZaX3BiuWsVfmnUVhxGQn FbXpWgq8my9POGv1pbGrDGXvG8GIW534kpq028BaVQ263V1LjmRHNo4pQyklozQ61QXO dvduN6pujvHLt92vNBtEDGUiWlHGmD+C9MpPpqYr5xWxqvZ/FJSS1SZlqqRr7Y7MMOh0 DFfw== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.160.2 with SMTP id xg2mr31031163pab.23.1387338431642; Tue, 17 Dec 2013 19:47:11 -0800 (PST) |
| In-Reply-To | <BAY176-W446676E51D006F6A34AA98DADA0@phx.gbl> |
| References | <BAY176-W28FCEC569DDE62E02C8CC4DADA0@phx.gbl> <CAPTjJmrfFoOZ_Z55WFA-tYwz_xyzgnKX974ysfz7zT7nWb+HtQ@mail.gmail.com> <BAY176-W446676E51D006F6A34AA98DADA0@phx.gbl> |
| Date | Wed, 18 Dec 2013 14:47:11 +1100 |
| Subject | Re: seeking a framework to automate router configurations |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4328.1387338435.18130.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1387338435 news.xs4all.nl 2871 [2001:888:2000:d::a6]:39742 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:62264 |
Show key headers only | 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
Re: seeking a framework to automate router configurations Chris Angelico <rosuav@gmail.com> - 2013-12-18 14:47 +1100
csiph-web