[rancid] Adding Junos show configuration | display set in rancid 3.5.1

heasley heas at shrubbery.net
Mon Sep 19 16:57:16 UTC 2016


Sat, Sep 17, 2016 at 03:36:40PM +0000, Yuval Ben Ari:
> Thanks! It's working now.
> Any chance to add this feature to next releases?

I do not think it is necessary and no one has expressed an interest in this
before.  It is a customization that can just be in your local
rancid.types.conf.

> -----Original Message-----
> From: heasley [mailto:heas at shrubbery.net]
> Sent: 17 September 2016 18:12
> To: Yuval Ben Ari <ybenari at varonis.com>
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: [rancid] Adding Junos show configuration | display set in rancid 3.5.1
> 
> Sat, Sep 17, 2016 at 03:05:52PM +0000, Yuval Ben Ari:
> > I am trying to add Junos "show configuration | display set" to juniper devicetype in 3.5.1 like I had before.
> > Based on suggestions here: http://www.shrubbery.net/pipermail/rancid-discuss/2009-October/004320.html
> >
> > But getting the following:
> > $ ./bin/rancid -t myjuniper -d myswitch
> > loadtype: device type myjuniper
> > loadtype: found device type myjuniper in /usr/local/rancid/etc/rancid.types.conf
> > executing jlogin -t 120 -c"show chassis environment;show chassis firmware;show chassis fpc detail;show chassis hardware detail;show chassis hardware models;show chassis routing-engine;show chassis alarms;show system license;show system core-dumps;show version detail;show version invoke-on other-routing-engine;show configuration;show configuration | display set" myswitch
> > [...output trimmed...]
> > HIT COMMAND:rancid at MYSWITCH> show configuration | display set
> >     In ShowConfigurationDisplaySet: rancid@ MYSWITCH > show configuration | display set
> > readline() on unopened filehandle INPUT at /usr/local/rancid/lib/rancid/myjunos.pm line 640.
> 
> $INPUT
> 
> > Use of uninitialized value $_ in pattern match (m//) at /usr/local/rancid/lib/rancid/myjunos.pm line 136.
> > Use of uninitialized value $_ in pattern match (m//) at /usr/local/rancid/lib/rancid/myjunos.pm line 141.
> >
> > Can someone help?
> ________________________________
> This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto.



More information about the Rancid-discuss mailing list