[quagga-dev 4156] Re: example libzebra zclient utility

Paul Jakma paul at clubi.ie
Tue May 30 19:40:04 BST 2006


Hi Andrew,

Hope you enjoyed your hols ;)

I tinkered a bit with the redistribute strings thing, to add a 
'route_types.txt' table, able to hold all the required information 
(yat another gawk script ;) ):

  http://cvs.quagga.net/cgi-bin/gitweb.cgi?p=people/paul/quagga;a=commitdiff;h=d4b0f18f9c96177e5a255d17f36f6e945820cd43;hp=0e446afce8b0e4d9de0f0e5714d3f73944c09de3

Which allows client daemons to be excised of redist strings, e.g. 
ospfd:

  http://cvs.quagga.net/cgi-bin/gitweb.cgi?p=people/paul/quagga;a=commitdiff;h=cdddef88ac00e7c46b2e02ff4b4309e0f2a3b0ad;hp=d4b0f18f9c96177e5a255d17f36f6e945820cd43

It only generates defines for the redistribute strings at the moment, 
tailored to each daemon according to the table, but if that was way 
forward, it ought to also generate the table log.c uses.

Also, all redist strings get '<1-255>', so that in the worst case 
users at least can specify the ZEBRA_ROUTE_* number directly. (We'd 
want to add a command to show the known daemon<->number numbers 
probably).

Right or wrong way forward? :)

NB: if things look funny in the diffs, try the 'plain' link (gitweb 
doesn't yet html-escape some characters in the diffs).

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
 	WARNING TO ALL PERSONNEL:

Firings will continue until morale improves.



More information about the Quagga-dev mailing list