nanog mailing list archives
Re: accessing multiple devices via a script
From: chip <chip.gwyn () gmail com>
Date: Wed, 18 Jan 2012 11:48:02 -0500
Like many others on here, I utilize rancid's set of scripts to handle all the different platform's quirks for access. I then wrap that inside a perl script that can do things in parallel. I'm no developer by any stretch of the imagination but I can poke around in perl badly enough to write some tools. One perl module I've come across is Parallel::Fork::BossWorkerAsync. Using this module makes it incredibly easily to run many instances in parallel while each instance is just a bit different and then can gather data back from each session. Using some form of parallelization can significantly decrease the amount of time things take. I hope you find it as useful as I have. http://search.cpan.org/~jvannucci/Parallel-Fork-BossWorkerAsync-0.06/lib/Parallel/Fork/BossWorkerAsync.pm Good Luck! --chip On Sun, Jan 15, 2012 at 12:52 PM, Abdullah Al-Malki <a.almalki1402 () gmail com> wrote:
Hi fellows, I am supporting a big service provider and sometimes I face this problem. Sometimes I want to access my customer network and want to extract some verification output "show commands" from a large number of devices. What kind of scripting solutions you guys are using this case. Appreciate the feedback, Abdullah
-- Just my $.02, your mileage may vary, batteries not included, etc....
Current thread:
- Re: accessing multiple devices via a script, (continued)
- Re: accessing multiple devices via a script Shahab Vahabzadeh (Jan 15)
- Re: accessing multiple devices via a script Rhys Rhaven (Jan 15)
- Re: accessing multiple devices via a script Justin M. Streiner (Jan 15)
- Re: accessing multiple devices via a script James Michael Keller (Jan 15)
- RE: accessing multiple devices via a script Blake T. Pfankuch (Jan 15)
- Re: accessing multiple devices via a script Dale Shaw (Jan 15)
- Re: accessing multiple devices via a script Rafael Rodriguez (Jan 15)
- Re: accessing multiple devices via a script Abdullah Al-Malki (Jan 17)
- Re: accessing multiple devices via a script Fabien Delmotte (Jan 17)
- Re: accessing multiple devices via a script Mike Gatti (Jan 17)
- Re: accessing multiple devices via a script Abdullah Al-Malki (Jan 17)