[rancid] Rancid 3.1, router.db using ; instead of :, device_type is empty

Daniel Jacobs daniel.jacobs at doortodoororganics.com
Mon Jul 7 22:41:45 UTC 2014


Adam, from 3.0 on, router.db uses ; instead of : so that IPv6 addresses
will work (at least that was my understanding).

Daniel


On Mon, Jul 7, 2014 at 4:40 PM, Adam Korab <adam at ballinatta.com> wrote:

>  Use colons instead of semicolons in router.db
>
> On Jul 7, 2014, at 5:18 PM, "Daniel Jacobs" <
> daniel.jacobs at doortodoororganics.com> wrote:
>
>   I just installed rancid 3.1 from source on a Centos 6.5 machine. I'm
> trying to get the configs for our Adtran routers, so I figured I'd use the
> adtran definition from rancid.types.base, but I've also tried this with
> cisco in place of adtran in router.db and got the same results.
>
>  Here is my router.db:
>
>  router1.mydomain.com;adtran;up
> router2.mydomain.com;adtran;up
> router3.mydomain.com;adtran;up
>
>  output:
>
>  $ /usr/local/rancid/bin/rancid /usr/local/rancid/bin/rancid-run
> loadtype(): device_type is empty
> Couldn't load device type spec for
>
>  It works if I do this:
> $ rancid -t cisco 10.4.0.1
>
>  And if I try this:
> $ rancid -t adtran 10.4.0.1
> I get this as output:
>  inloop is not configured for device type adtran at
> /usr/local/rancid/bin/rancid line 121.
>
>  Since I've already made sure I'm using semicolons instead of colons,
> what am I missing?
>
>  Thanks!
>
>  Daniel
>
>
>    _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>


-- 
*Daniel Jacobs    *
Senior IT Admin
\|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/ \|/
"""""""""""""""""""""""""""""""""""""""""""""
*door to door organics*
w. 303.620.5440
www.DoorToDoorOrganics.com <http://www.doortodoororganics.com/>
"""""""""""""""""""""""""""""""""""""""""""""
*delightfully *fresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140707/a6e48816/attachment.html>


More information about the Rancid-discuss mailing list