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


Groups > comp.lang.python > #62299

Re: seeking a framework to automate router configurations

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <prvs=057eee947=jeanmichel@sequans.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.045
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'messages.': 0.05; 'advance': 0.07; 'subject:skip:c 10': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '(other': 0.16; 'non-default': 0.16; 'reconfigure': 0.16; 'slight': 0.16; 'ssh': 0.16; 'stuff.': 0.16; 'task:': 0.16; 'modification': 0.16; 'module': 0.19; 'reset': 0.22; 'shell': 0.22; 'cc:addr:python.org': 0.22; 'initial': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'handling': 0.26; 'push': 0.26; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'url:mailman': 0.30; 'figure': 0.32; 'url:python': 0.33; '-----': 0.33; 'framework': 0.33; 'tool': 0.35; 'url:listinfo': 0.36; 'thanks': 0.36; 'hi,': 0.36; 'similar': 0.36; 'url:org': 0.36; 'two': 0.37; 'thank': 0.38; 'problems': 0.38; 'url:mail': 0.40; 'how': 0.40; 'customized': 0.61; 'you.': 0.62; 'back': 0.62; 'information': 0.63; 'such': 0.63; 'received:194': 0.64; 'notice:': 0.67; 'cisco': 0.68; 'frank': 0.68; 'hints': 0.68; 'person,': 0.68; 'privileged.': 0.69; 'disclose': 0.74; 'medium.': 0.91; 'banner': 0.93
X-IronPort-AV E=Sophos;i="4.95,507,1384297200"; d="scan'208,217";a="2255664"
X-Virus-Scanned amavisd-new at zimbra.sequans.com
Date Wed, 18 Dec 2013 13:48:04 +0100 (CET)
From Jean-Michel Pichavant <jeanmichel@sequans.com>
To Frank Cui <ycui@outlook.com>
In-Reply-To <BAY176-W28FCEC569DDE62E02C8CC4DADA0@phx.gbl>
Subject Re: seeking a framework to automate router configurations
MIME-Version 1.0
Content-Type multipart/alternative; boundary="----=_Part_1651574_320222048.1387370884220"
X-Mailer Zimbra 7.2.4_GA_2900 (ZimbraWebClient - GC31 (Win)/7.2.4_GA_2900)
Cc python-list@python.org
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.4352.1387370885.18130.python-list@python.org> (permalink)
Lines 71
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1387370885 news.xs4all.nl 2943 [2001:888:2000:d::a6]:49050
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:62299

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

----- Original Message -----

> Hi Pythoners,

> I'm looking for a tool or framework in which I can do a slight
> modification to achieve the following task:

> "Asynchronously reset a large number of cisco routers back to their
> original configurations and push prepared initial configurations to
> them"

> I did find some similar existing work such as exscript and trigger,
> however I was stuck in the following two problems :

> 1. telneting to a non-default port number (other than 23)
> 2. handling of customized banner messages.

> can you give some hints on this ? Thanks in advance for your input.

> Frank

> --
> https://mail.python.org/mailman/listinfo/python-list

Hi, 

If you can ssh on your routers, you may want to look at fabric, a python module that do ssh stuff. You only need to figure out how to reset and reconfigure the router from the shell prompt. 

JM 


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

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


Thread

Re: seeking a framework to automate router configurations Jean-Michel Pichavant <jeanmichel@sequans.com> - 2013-12-18 13:48 +0100

csiph-web