Router Config Parsing
Hello Everyone:
I have a project where I will need to parse config files dumped from
Cisco and Juniper Routers. From the parsed data, I must determine
routing information so that I can tell which interface a given IP
address routes to.
I've searched CPAN extensively, and while there are some pre-existing
modules out there, none of them really handle the kind of stuff I'm
dealing with, and each of them deals specifically with one type of
router, or at the least routers from one vendor.
So I have begun work on my own. I am trying to create a two layer
system not unlike DBI. I want to create a logical module which models
a generic routing device, and beneath that I want to have a parsing
module for specific types of routers and vendors. So you might have
something like:
my $router = new Router::Config::Cisco ( file => "./myconfig") || die
$Router::Config::errstr;
I have gotten a little way into this project and it occurs to me
first, that this is a HUGE undertaking, and secondly, that I may not
be the first one to have trodden this path.
So I have some questions for the group:
1) does anyone know of similar pre-existing projects like this ?
2) does anyone know of an appropriate forum for discussion of a
project such as this ?
3) does anyone want to help ?
thank you,
-Andrew ;-)
|