[rancid] Rancid 3.0 and Dell Switches
Gerhard Mourani
gmourani at gmail.com
Fri Apr 25 12:30:58 UTC 2014
After patching dell.pm I get this error in the log file, not the same as
before but doesn't work:
Trying to get all of the configs.
Useless use of a variable in void context at (eval 3) line 1.
failed:
=====================================
Getting missed routers: round 1.
Useless use of a variable in void context at (eval 3) line 1.
failed:
On Fri, Apr 25, 2014 at 3:13 AM, heasley <heas at shrubbery.net> wrote:
> Thu, Apr 24, 2014 at 03:37:23PM -0400, Gerhard Mourani:
> > Hello,
> >
> > I've upgraded to Rancid 3.0 and would like to know which name to use for
> > Dell PowerConnect 34xx and 64xx series inside router.db?
>
> 'dell' might do it; YMMV, the script was contributed and purported to be
> working with:
> # DES-3010F
> # DES-3052P
> # DES-3526
> # DES-3550
>
>
> > Presently I'm using this in router.db:
> > 192.168.x.1xx;dell;up
> > 192.168.x.2xx;dell;up
> >
> > and can see these errors in the log files:
> >
> > Trying to get all of the configs.
> > loadtype: loading dell failed: Global symbol "$proc" requires explicit
> > package name at /usr/lib64/rancid/dell.pm line 82.
> > Global symbol "$found_version" requires explicit package name at
> > /usr/lib64/rancid/dell.pm line 83.
> > Compilation failed in require at /usr/lib64/rancid/rancid.pm line 222.
>
>
> Index: dell.pm.in
> ===================================================================
> --- dell.pm.in (revision 2818)
> +++ dell.pm.in (working copy)
> @@ -69,6 +69,9 @@
> #XXX use rancid @VERSION@;
> use rancid;
>
> +our $proc;
> +our $found_version;
> +
> # load-time initialization
> sub import {
> $timeo = 300; # dllogin timeout in seconds (some of these
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140425/843cb91e/attachment.html>
More information about the Rancid-discuss
mailing list