automating non-config actions?
heas at shrubbery.net
Sat Jan 12 22:34:25 UTC 2002
Sat, Jan 12, 2002 at 05:06:33PM -0500, Andrew Partan:
> On Sat, Jan 12, 2002 at 01:05:50PM -0800, Avram Dorfman wrote:
> > Has anyone thought about modifying rancid to make it a batch
> > utility for executing arbitrary actions on lots of routers?
> Look at clogin - its already does a lot of what you want.
btw, clogin is cisco (more or less) specific at this point. a simple
shell script would whack that for you. eg:
for router in `cat */router.db`
if [ "$3" == "up" ] ; then
if [ "$2" != "juniper"] ; then
jlogin -s jnx_script $1
clogin -s cisco_script $1
More information about the Rancid-discuss