Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.077 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'messages.': 0.05; 'automate': 0.07; 'wednesday,': 0.07; 'input,': 0.09; 'subject:skip:c 10': 0.09; '(other': 0.16; 'cui': 0.16; 'non- default': 0.16; 'slight': 0.16; 'task.': 0.16; 'task:': 0.16; 'modification': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'reset': 0.22; 'to:name:python-list@python.org': 0.22; 'guys': 0.24; 'initial': 0.24; '>': 0.26; 'handling': 0.26; 'push': 0.26; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'know.': 0.32; 'url:python': 0.33; 'framework': 0.33; 'plain': 0.33; 'date:': 0.34; 'maybe': 0.34; 'december': 0.35; 'tool': 0.35; 'url:listinfo': 0.36; 'similar': 0.36; 'url:org': 0.36; 'two': 0.37; 'email addr:python.org': 0.37; 'level': 0.37; 'thank': 0.38; 'problems': 0.38; 'to:addr:python- list': 0.38; 'received:65.54': 0.38; 'received:65.54.190': 0.38; 'received:bay0.hotmail.com': 0.38; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'easy': 0.60; 'most': 0.60; 'customized': 0.61; 'back': 0.62; 'email addr:gmail.com': 0.63; 're:': 0.63; 'such': 0.63; 'organization': 0.63; 'email name:python-list': 0.65; 'details': 0.65; 'dont': 0.67; 'cisco': 0.68; 'frank': 0.68; 'hints': 0.68; 'low': 0.83; 'url:latest': 0.91; 'banner': 0.93; '2013': 0.98 X-TMN: [gu3CBOHHY2ZnGm5OXeECa1rJXpIokx2D] X-Originating-Email: [ycui@outlook.com] Content-Type: multipart/alternative; boundary="_ca258e0d-d2f1-4411-a146-8865cba168bd_" From: Frank Cui To: "python-list@python.org" Subject: RE: seeking a framework to automate router configurations Date: Wed, 18 Dec 2013 00:59:51 -0300 Importance: Normal In-Reply-To: <92bbb9ee-6092-45e6-aca1-1baeef727b24@googlegroups.com> References: , <92bbb9ee-6092-45e6-aca1-1baeef727b24@googlegroups.com> MIME-Version: 1.0 X-OriginalArrivalTime: 18 Dec 2013 04:29:52.0036 (UTC) FILETIME=[CB5EDE40:01CEFBA9] X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 90 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387341061 news.xs4all.nl 2843 [2001:888:2000:d::a6]:35135 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62272 --_ca258e0d-d2f1-4411-a146-8865cba168bd_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you guys for the input=2C I have determined to go with the plain old = "expect" as it seems most easy to go with for this task. Frank > Date: Tue=2C 17 Dec 2013 19:59:31 -0800 > Subject: Re: seeking a framework to automate router configurations > From: rustompmody@gmail.com > To: python-list@python.org >=20 > On Wednesday=2C December 18=2C 2013 8:10:20 AM UTC+5:30=2C Frank Cui wrot= e: > > Hi Pythoners=2C > > I'm looking for a tool or framework in which I can do a slight modifica= tion to > > achieve the following task: > > "Asynchronously reset a large number of cisco routers back to their ori= ginal > > configurations and push prepared initial configurations to them" > > I did find some similar existing work such as exscript and trigger=2C h= owever > > 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 ?=20 >=20 > For the low level details (exscript/trigger) I dont know. > However for the higher level organization issues you may want to look at >=20 > 1. cuisine > http://stackful-dev.com/cuisine-the-lightweight-chefpuppet-alternative >=20 > which uses >=20 > 2. fabric http://docs.fabfile.org/en/1.8/ >=20 > And maybe > 3. tox http://tox.readthedocs.org/en/latest/ > --=20 > https://mail.python.org/mailman/listinfo/python-list = --_ca258e0d-d2f1-4411-a146-8865cba168bd_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you guys for the input=2C = I have determined to go with the plain old "expect" as it seems most easy t= o go with for this task.

Frank

>=3B Date: = Tue=2C 17 Dec 2013 19:59:31 -0800
>=3B Subject: Re: seeking a framewor= k to automate router configurations
>=3B From: rustompmody@gmail.com>=3B To: python-list@python.org
>=3B
>=3B On Wednesday=2C De= cember 18=2C 2013 8:10:20 AM UTC+5:30=2C Frank Cui wrote:
>=3B >=3B = Hi Pythoners=2C
>=3B >=3B I'm looking for a tool or framework in whi= ch I can do a slight modification to
>=3B >=3B achieve the following= task:
>=3B >=3B "Asynchronously reset a large number of cisco route= rs back to their original
>=3B >=3B configurations and push prepared= initial configurations to them"
>=3B >=3B I did find some similar e= xisting work such as exscript and trigger=2C however
>=3B >=3B I was= stuck in the following two problems :
>=3B >=3B 1. telneting to a n= on-default port number (other than 23)
>=3B >=3B 2. handling of cust= omized banner messages.
>=3B >=3B can you give some hints on this ? =
>=3B
>=3B For the low level details (exscript/trigger) I dont k= now.
>=3B However for the higher level organization issues you may wan= t to look at
>=3B
>=3B 1. cuisine
>=3B http://stackful-dev.= com/cuisine-the-lightweight-chefpuppet-alternative
>=3B
>=3B whi= ch uses
>=3B
>=3B 2. fabric http://docs.fabfile.org/en/1.8/
&= gt=3B
>=3B And maybe
>=3B 3. tox http://tox.readthedocs.org/en/l= atest/
>=3B --
>=3B https://mail.python.org/mailman/listinfo/pyt= hon-list
= --_ca258e0d-d2f1-4411-a146-8865cba168bd_--