Acme Packet SD

Andre van der Merwe andre at is.co.za
Tue Oct 4 10:40:06 UTC 2005


On Wed, Aug 31, 2005 at 03:43:36PM +0200, Andre van der Merwe wrote:
>
> Anyone hack RANCID to grab info from the Acme Packet Session Director ?
> 

OK

For now I just added the following to rancid to make it "roughly" work
with the "show run".

*** rancid.orig Tue Feb  8 19:26:53 2005
--- rancid      Sun Sep 25 21:14:18 2005
***************
*** 1443,1448 ****
--- 1446,1457 ----
        ProcessHistory("","","","$_");
        # end of config.  the ": " game is for the PIX
        if (/^(: +)?end$/) {
+           $found_end = 1;
+           return(1);
+       #
+       # Added for the SD Acme.
+       #
+       } elsif (/^task done$/) {
            $found_end = 1;
            return(1);
        }

-André





More information about the Rancid-discuss mailing list