[rancid] FS switches
Bjørn Skobba
bjorn at basis-consulting.com
Sat Aug 14 14:37:36 UTC 2021
On Fri, Aug 13, 2021 at 8:56 PM heasley <heas at shrubbery.net> wrote:
>
> Thu, Aug 12, 2021 at 04:14:21PM +0200, Bjørn Skobba:
> > However, our Layer2 dude pointed out the os also was a bit cisco-ish,
> > so I tried the cisco device type (ios module) and that worked fine as
> > well . To make it more tailored to these switches I fiddled a bit with
> > stuff I'm not really able to do (I'm not a (perl) programmer...):
> > The ios module didn't have a ShowChassis routine, so I copied the ios
> > module to a new one and added the ShowChassis routine from the dnos9
> > module and added this to rancid.types.conf:
>
> fwiw, it is possible include multiple modules with more recent rancid
> versions, like:
>
> foo;module;ios
> foo;module;fscom
> foo;command;fscom::ShowChassis;show system
> foo;command;ios::ShowVersion;show version
>
> and more recent still, a type name can aliased:
>
> fscom;alias;dnos9
>
> if any of that helps.
Ahh, brilliant. I had forgotten about the aliasing, and didn't know
about the multiple modules. Will look into that at some stage - our
rancid installation could do with some TLC anyway ;)
Thanks for kind help and pointers as always.
/bjørn
More information about the Rancid-discuss
mailing list