[lib] Centralise Zserv route type information, auto-generate redist strings
commit9c42a6ebbc103a0a4be6af782388ad26e6c03556
authorPaul Jakma <paul.jakma@sun.com>
Tue, 27 Jun 2006 07:52:03 +0000 (27 07:52 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Tue, 27 Jun 2006 07:52:03 +0000 (27 07:52 +0000)
treefcbdec3f26cb36539b9d66e1b8f4e63cfe1c3799
parent466c96562c6e39596dc441c30420b335f83f01ea
[lib] Centralise Zserv route type information, auto-generate redist strings

2006-05-23 Paul Jakma <paul.jakma@sun.com>

* route_types.txt: New file, table of ZEBRA_ROUTE definitions.
* route_types.awk: New script, to parse previous and generate
  (for now) redistribute string defines.
* Makefile.am: build route_types.h using previous two, ala
  memtypes.h, include the script and table file in EXTRA_DIST.
* command.h: pull in route_types.h, add a REDIST_STR define.
lib/ChangeLog
lib/Makefile.am
lib/command.h
lib/route_types.awk [new file with mode: 0644]
lib/route_types.txt [new file with mode: 0644]