<div><p>. is concatenation in Perl, but in tcl it has no special meaning.</p>
<br/><br/>-----Original Message-----<br/>From: bob watson <bobthebaritone@gmail.com><br/>To: Martin Barry <marty@supine.com><br/>Cc: "rancid-discuss@shrubbery.net" <rancid-discuss@shrubbery.net><br/>Sent: Mon, 03 Dec 2012 5:05 AM<br/>Subject: Re: [rancid] groups, customers and so on in RANCID....<br/><br/></div><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">Don't forget that .cloginrc is TCL. The . character I think is concatenation. Take that out and it may work...<div><br></div><div>Cheers,</div><div><br></div><div>Bob</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 3 December 2012 20:56, Martin Barry <span dir="ltr"><<a href="mailto:marty@supine.com" target="_blank">marty@supine.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
$quoted_author = "Javier A. Herrera" ;<br>
<div class="im">><br>
> sure i'm missing or misunderstanding something, but i'm not able to make<br>
> RANCID work with customers or groups, unless i'm supposing things that<br>
> RANCID doesn't do...let me explain...what i wanted to do was to put<br>
> several customers or groups on the LIST_OF_GROUPS entry, each one of<br>
> then associated with a router.db list of devices in the corresponding<br>
> directory, and then, in the .cloginrc file, use a different credentials<br>
> for each group, that is, for example:<br>
><br>
> add method *.group1 ssh<br>
> add method *.group2 telnet<br>
> add method *.group3 ssh telnet<br>
> add password *.group1 {pass1} {pass2}<br>
> add password *.group2 {pass1} {passpass}<br>
<br>
</div>The regex matching in cloginrc is only against the hostname and not any<br>
other grouping you may have defined.<br>
<br>
This works best if you have structured hostnames that contain the relevant<br>
identifying information like location or customer ID etc.etc.<br>
<br>
cheers<br>
Marty<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
</blockquote></div><br></div>