[rancid] supermicro switch (again)

heasley heas at shrubbery.net
Wed Dec 7 17:38:50 UTC 2016


Tue, Nov 22, 2016 at 01:47:00PM +0100, Marcin Dulak:
> On Mon, Nov 21, 2016 at 4:33 PM, heasley <heas at shrubbery.net> wrote:
> 
> > Mon, Nov 21, 2016 at 10:26:25AM +0100, Marcin Dulak:
> > > naively I do:
> > > cp usr/share/perl5/vendor_perl/rancid/edgemax.pm
> > > usr/share/perl5/vendor_perl/rancid/supermicro.pm
> > > change "package supermicro;" on the top and add a print STDERR ("I'm
> > > here"); to ShowVersion,
> > > but "I'm here" does no appear in the output of:
> >
> > you havent a module line in the device config below, so the module is not
> > loaded.
> >
> >
> thanks, this was missing. It was also important to specify the module to be
> used with "supermicro;script;rancid -t supermicro".
> Based on rancid-3.5.1, I managed to get the basic information out of the
> switch with the following changes:
> 
> $ cat etc/rancid/rancid.types.conf
> supermicro;script;rancid -t supermicro
> supermicro;login;smlogin
> supermicro;inloop;supermicro::inloop
> supermicro;module;supermicro
> supermicro;command;supermicro::ShowVersion;show version
> supermicro;command;supermicro::WriteTerm;show running-config

do you/anyone have one of these that I can access remotely?



More information about the Rancid-discuss mailing list