[Xorp-hackers] Configuration managment ....
Adam Greenhalgh
adam@hiddennet.net
Tue, 22 Mar 2005 14:29:38 +0000
Neat idea.
The only question I have is where do you want the database to be
running ? Is a database too heavy to be run on a low end device ?
However I always thought that the cli interface to xorp was replaceable
with something else so it should be fairly *cough* easy to replace it.
Adam
On Tue, 2005-03-22 at 14:20 +0000, Timothy Griffin wrote:
> hi,
>
> perhaps this idea has been kicked around before:
> how about using an SQL database (such as MySQL) to
> manage all xorp configuration data?
>
> if we run with this idea a bit, then we can
>
> --- forget about implementing our own cli, just use sql
> --- this might be immediately appealing for config commands
> like "bgp neighbor ...", since we are just populating
> a "database". But what about things like "show ip bgp ..."?
> well, i'm perverse enough to think of this as populating
> a database table (or tables) that can then be further queried
> using SQL ....
> --- forget about implementing configuration "transaction management",
> just use the technology provided by the database system.
> --- forget about implementing configuration "access control",
> just use the technology provided by the database system.
> --- forget about nice user interfaces, just ride the database technology
> curve (lots of open source front ends for MySQL out there..., Web, XML, ...)
>
> in short, ride the database technology curve! MySQL 5.0, which is now under
> development, will have stored procedures as well as triggers. this would make it
> much easier to implement an XRL wrapper (config changes come in as sql, then triggers
> generate xrl messages to other processes...).
>
> The database could be used to store logs as well.
>
> We can even imagine a single database (perhaps with backup mirrors) holding the entire
> configuration of a network (wow, the config database actually being
> the "database of record" --- what a concept!)
>
> comments?
>
> cheers,
> tim
> http://www.cl.cam.ac.uk/~tgg22
>
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers@icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers