[rancid] groups, customers and so on in RANCID....

bob watson bobthebaritone at gmail.com
Mon Dec 3 20:25:06 UTC 2012


Yes Doug. I should have checked first! Sorry folks!


On 4 December 2012 01:16, Doug Hughes <hughesd at deshawresearch.com> wrote:

> . is concatenation in Perl, but in tcl it has no special meaning.
>
>
> -----Original Message-----
> From: bob watson <bobthebaritone at gmail.com>
> To: Martin Barry <marty at supine.com>
> Cc: "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net>
> Sent: Mon, 03 Dec 2012 5:05 AM
> Subject: Re: [rancid] groups, customers and so on in RANCID....
>
> Don't forget that .cloginrc is TCL. The . character I think is
> concatenation. Take that out and it may work...
>
> Cheers,
>
> Bob
>
>
> On 3 December 2012 20:56, Martin Barry <marty at supine.com> wrote:
>
>> $quoted_author = "Javier A. Herrera" ;
>> >
>> > sure i'm missing or misunderstanding something, but i'm not able to make
>> > RANCID work with customers or groups, unless i'm supposing things that
>> > RANCID doesn't do...let me explain...what i wanted to do was to put
>> > several customers or groups on the LIST_OF_GROUPS entry, each one of
>> > then associated with a router.db list of devices in the corresponding
>> > directory, and then, in the .cloginrc file, use a different credentials
>> > for each group, that is, for example:
>> >
>> > add method *.group1 ssh
>> > add method *.group2 telnet
>> > add method *.group3 ssh telnet
>> > add password *.group1 {pass1} {pass2}
>> > add password *.group2 {pass1} {passpass}
>>
>> The regex matching in cloginrc is only against the hostname and not any
>> other grouping you may have defined.
>>
>> This works best if you have structured hostnames that contain the relevant
>> identifying information like location or customer ID etc.etc.
>>
>> cheers
>> Marty
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20121204/eef8b502/attachment.html>


More information about the Rancid-discuss mailing list