<div dir="ltr"><p class="">Hello list, </p>

<p class="">I am new to Rancid and have found it to be excellent when
working with Cisco devices. I have also managed to get it looking after NXOS,
Alteon, Foundry and F5 without too many problems. Most answers I found here <span style="font-family:Wingdings">J</span></p>

<p class="">I have one device left on my mission list. </p>

<p class="">A vyatta router, there are a couple of scripts / modules out
there and I have tried to make them work but I am stuck and need some help.</p>

<p class="">This one seems most promising as it followed the normal
rancid module structure. </p>

<p class=""><a href="https://gist.github.com/Dunkirk/4032499">https://gist.github.com/Dunkirk/4032499</a></p>

<p class="">The default commandtable command did not work for me, the
prompt logs in fine and run’s the ‘show configuration’ commands, but it needs
an “any key” pressing to display all of the config.. I have tried and failed to
make this work, I think I need to change my prompt to be a large number or lines
or something?</p>

<p class="">Either way, it would seem that there is a better command
that should be used, so I changed my commandtable</p>

<p class="">@commandtable = (</p>

<p class="">{'cli-shell-api showConfig --show-active-only' =>
'WriteTerm'},</p>

<p class="">);</p>

<p class="">All I get back checked into CVS are the interfaces (top bit
of the config), I am thinking that the sub WriteTerm is detecting the End of
the config early but spotting this beyond my perl skills. </p>

<p class="">If I run the command below I get the full config.</p>

<p class="">/usr/lib/rancid/bin/clogin -f /var/lib/rancid/.cloginrc -c
"cli-shell-api showConfig --show-active-only" vyattaR1</p>

<p class="">Below is the first bit of the config, it stops after the
loopback interface, can anyone tell me why and what I need to do to fix it?</p>

<p class="">Thanks inadvanced.</p>

<p class="">Mat.</p>

<p class="">SNIP.</p>

<p class="">    }</p>

<p class="">    ethernet eth1 {</p>

<p class="">        address <a href="http://1.1.1.2/24">1.1.1.2/24</a></p>

<p class="">        duplex auto</p>

<p class="">        hw-id
00:50:56:e0:00:18</p>

<p class="">       
smp_affinity auto</p>

<p class="">        speed auto</p>

<p class="">        vrrp {</p>

<p class="">           
vrrp-group 20 {</p>

<p class="">               
advertise-interval 1</p>

<p class="">               
preempt true</p>

<p class="">               
priority 101</p>

<p class="">               
sync-group ALPHA</p>

<p class="">               
virtual-address <a href="http://1.1.1.1/24">1.1.1.1/24</a></p>

<p class="">            }</p>

<p class="">        }</p>

<p class="">    }</p>

<p class="">    loopback lo {       </p>

<p class="">    }</p>

<p class="">}     <--------- Rancid
stops processing the config here..</p>

<p class="">protocols {</p>

<p class="">    bgp 12345 {</p>

<p class="">        neighbor 1.1.1.11
{</p>

<p class="">           
allowas-in {</p>

<p class="">            }</p>

<p class="">SNIP</p></div>