[rancid] Re: sonicwall and big-ip

Lance rancid at gheek.net
Wed Jan 9 18:10:49 UTC 2008


Mike,

Great work on making it perfect so far. I did need more options so i
added them. I find these a requirement to track and also very handy when
restoring/duplicating configs.

You might want to note that people need to make this addition to
rancid-fe too.
#rancid-run
    'f5'                => 'f5rancid',

I added lines 198,251-254 to r5rancid.
#f5rancid
Line188: # sub ConfFile  31-Jan-2007  Mike Ashcraft
mashcraft at omniture.com
Line189: # This routine parses "cat filename"
Line190: sub ConfFile {
Line191:     print STDERR "    In ConfFile: $_" if ($debug);
Line192:
Line193:    ProcessHistory("COMMENTS","","BO","!\n!\n! ####  Running
$cmd\n!\n!\n");
Line194:
Line195:    while (<INPUT>) {
Line196:        tr/\015//d;
Line197:        last if (/^$prompt/);
Line198:        next if ($cmd =~ /config sync show/ && !/^\s+Status/);
Line199:        ProcessHistory("","","$cmd","$_");
Line200:    }
Line201:    $found_end = 1;
Line202:    return(0);
Line203:}
...
...
Line243: # Main
Line244: @commandtable = (
Line245:         {'TERM=xterm'   => 'NoOutput'},
Line246:         {'export TERM'  => 'NoOutput'},
Line247:         {'bigpipe platform'             => 'Platform'},
Line248:         {'bigpipe version'              => 'ConfFile'},
Line249:         {'bigpipe list'                 => 'ConfFile'},
Line250:         {'bigpipe base list'            => 'ConfFile'},
Line251:         {'bigpipe profile list'         => 'ConfFile'},
Line252:         {'bigpipe monitor list'         => 'ConfFile'},
Line253:         {'bigpipe config sync show | grep Status'              
=> 'ConfFile'},
Line254:         {'cat /config/RegKey.license'           => 'ConfFile'},
Line255:         {'bigpipe route static show'            => 'ConfFile'},
Line256:         {'ls --full-time --color=never /config/ssl/ssl.crt'    
=> 'DirList'},
Line257:         {'ls --full-time --color=never /config/ssl/ssl.key'    
=> 'DirList'},
Line258: );


-Lance

> -------- Original Message --------
> Subject: [rancid] Re: sonicwall and big-ip
> From: "Mike Ashcraft" <mashcraft at omniture.com>
> Date: Tue, November 27, 2007 10:09 am
> To: "Shon Hender" <Shon.Hender at spservicing.com>,
> <rancid-discuss at shrubbery.net>
> I posted rancid scripts for F5 big-ip to the list back in July.  Since
> then, I have fixed all the known issues and sent it to a few individuals
> for testing.  Let me know how these work for you.  Installation
> instructions are in the comments at the top of f5rancid.
> Mike
> -----Original Message-----
> From: rancid-discuss-bounces at shrubbery.net
> [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Shon Hender
> Sent: Tuesday, November 27, 2007 9:37 AM
> To: rancid-discuss at shrubbery.net
> Subject: [rancid] sonicwall and big-ip
> Does anyone have login scripts for sonicwall and/or big-ip devices?
> Thanks,
> -Shon
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss<hr>_______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



More information about the Rancid-discuss mailing list