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


Groups > comp.lang.python > #62256 > unrolled thread

seeking a framework to automate router configurations

Started byFrank Cui <ycui@outlook.com>
First post2013-12-17 23:40 -0300
Last post2013-12-18 00:59 -0300
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  seeking a framework to automate router configurations Frank Cui <ycui@outlook.com> - 2013-12-17 23:40 -0300
    Re: seeking a framework to automate router configurations rusi <rustompmody@gmail.com> - 2013-12-17 19:59 -0800
      RE: seeking a framework to automate router configurations Frank Cui <ycui@outlook.com> - 2013-12-18 00:59 -0300

#62256 — seeking a framework to automate router configurations

FromFrank Cui <ycui@outlook.com>
Date2013-12-17 23:40 -0300
Subjectseeking a framework to automate router configurations
Message-ID<mailman.4321.1387336289.18130.python-list@python.org>

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

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

 		 	   		  

[toc] | [next] | [standalone]


#62269

Fromrusi <rustompmody@gmail.com>
Date2013-12-17 19:59 -0800
Message-ID<92bbb9ee-6092-45e6-aca1-1baeef727b24@googlegroups.com>
In reply to#62256
On Wednesday, December 18, 2013 8:10:20 AM UTC+5:30, Frank Cui wrote:
> 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 ? 

For the low level details (exscript/trigger) I dont know.
However for the higher level organization issues you may want to look at

1. cuisine
http://stackful-dev.com/cuisine-the-lightweight-chefpuppet-alternative

which uses

2. fabric http://docs.fabfile.org/en/1.8/

And maybe
3. tox http://tox.readthedocs.org/en/latest/

[toc] | [prev] | [next] | [standalone]


#62272

FromFrank Cui <ycui@outlook.com>
Date2013-12-18 00:59 -0300
Message-ID<mailman.4333.1387341061.18130.python-list@python.org>
In reply to#62269

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

Thank you guys for the input, I have determined to go with the plain old "expect" as it seems most easy to go with for this task.
Frank

> Date: Tue, 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
> 
> On Wednesday, December 18, 2013 8:10:20 AM UTC+5:30, Frank Cui wrote:
> > 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 ? 
> 
> For the low level details (exscript/trigger) I dont know.
> However for the higher level organization issues you may want to look at
> 
> 1. cuisine
> http://stackful-dev.com/cuisine-the-lightweight-chefpuppet-alternative
> 
> which uses
> 
> 2. fabric http://docs.fabfile.org/en/1.8/
> 
> And maybe
> 3. tox http://tox.readthedocs.org/en/latest/
> -- 
> https://mail.python.org/mailman/listinfo/python-list
 		 	   		  

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web