config syntax checker

Wolfgang Hennerbichler wh at univie.ac.at
Thu Nov 19 14:50:17 CET 2009


On Nov 19, 2009, at 10:39 , Ondrej Zajicek wrote:

> On Thu, Nov 19, 2009 at 07:30:02AM +0100, Wolfgang Hennerbichler wrote:
>> Dear Bird Users, 
>> 
> 
>> we (Vienna Internet Exchange) are one step closer to deploying bird
>> into beta for our exchange - we have an automated configuration
>> generation tool that grabs all data from our database and creates a
> ...
>> and parsing the output? Ideally I'd like to call 'bird -c /etc/bird.conf
>> --check-config' and check the return-status of this script. I guess this
>> wouldn't be hard to do, would it? 
> 
> There are two ways how it could be implemented:
> 
> 1) send configure [soft] command and use the return code of the command.
> - using bird control socket, return code is prepend to the answer.

allright, sounds like a plan .

> 2) add that option as you suggested. I think we could implement it in
> the next version.

that would be nice. I could also live with a standalone-executable that just runs the configure soft command like mentioned above and returns the status in shell-ish-return-code. 

great, thanks. 

> 
> -- 
> Elen sila lumenn' omentielvo
> 
> Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
> OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
> "To err is human -- to blame it on a computer is even more so."

-- 
www.vix.at | www.aco.net
wh at univie.ac.at | WH844-RIPE
Vienna University Computer Center



More information about the Bird-users mailing list