[Olsr-cvs] olsrd-current/lib/quagga .cvsignore, NONE, 1.1 ChangeLog, NONE, 1.1 Makefile, NONE, 1.1 README, NONE, 1.1 version-script.txt, NONE, 1.1

Bernd Petrovitsch (spam-protected)
Wed Jan 31 13:38:28 CET 2007


Update of /cvsroot/olsrd/olsrd-current/lib/quagga
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16361/lib/quagga

Added Files:
	.cvsignore ChangeLog Makefile README version-script.txt 
Log Message:
* applied patches from the most recent FreiFunkFirmware (and fixed compile errors) according
   to http://www.olsr.org/pipermail/olsr-dev/2006-December/254036.html:
  - olsrd-libsmake.patch
  - olsrd-dyngwplain.patch
  - olsrd-txtinfo.patch
  - olsrd-quagga.patch
  - olsrd-quagga-routehandler.patch
  - olsrd-optimize.patch
  - olsrd-bmf-fixes.patch
  - olsrd-fixes-sven-ola.patch
  - olsrd-fixes-jhay-bsd.patch
  - olsrd-fixes-backport.patch
  - olsrd-fixes-routedel.patch
  - olsrd-cpu-overload.patch
  - olsrd-secure_key_path.patch
  - olsrd-hna_ip_fix.patch
  Not applied:
  - olsrd-nameservice+services.patch: This patch produced too many rejects to fix easily.
  - olsrd-fixes-eric.patch: This was not found on the webserver.
  - olsrd-bmf.patch: We had already a "bmf" plug-in in there.
* made the checksum type in the olsrd_secure plug-in "olsr_u8_t" (instead
   of a wild "char *" and "unsigned char *" mix) everywhere. It killed
   lots of warnings.
* localized the checksum_cache array in olsrd_secure.c.


--- NEW FILE: README ---
---------------------------------------------------------------------
QUAGGA PLUGIN FOR OLSRD
by Immo 'FaUl' Wehrenberg <(spam-protected)>
---------------------------------------------------------------------

This is the Quagga Plugin for the OLSRD. 
It allowes olsrd to redistribute from various quagga-protocols 
as well as to export olsr-routes to quagga so that they can be
redistributed by the quagga-routing-daemons.

Note Sven-Ola: You also need a source distribution of quagga-0.98.5
or quagga-0.98.6 (that is the current stable). The quagga source tree 
needs to be patched with quagga-0.98.6-olsr.diff, compiled and installed
via 'make install'. Because many people will otherwise have compile
probs, I've added 2 include files in lib/quagga/src/quagga. If you
want to use another version of quagga, make sure to remove these
before you compile the olsrd_quagga plugin.

---------------------------------------------------------------------
PLUGIN PARAMETERS (PlParam)
---------------------------------------------------------------------

PlParam "redistribute" "<protocol>"
	where protocol is one of the following:
	system, kernel, connect, static, rip, ripng, ospf, ospf6,
	isis, bgp, hsls
	May be used more then once

PlParam "ExportRoutes" "<only/both>"
	exportes olsr-routes to quagga or to both, quagga and kernel
	no routes are exportet if not set.

PlParam "Localpref" "true"
        sets the zebra SELECTED-flag on the routes exported to zebra
	which means these routes are prefered in any case.

PlParam "Distance" "0-255"
        allowes to set Administrative distance to routes exported 
	to zebra.
	
---------------------------------------------------------------------
SAMPLE CONFIG
---------------------------------------------------------------------

add in /etc/olsrd.conf:

LoadPlugin "olsrd_quagga.so.0.2.2"
{
	PlParam "redistribute" "ospf"
	PlParam "redistribute" "bgp"
	PlParam "ExportRoutes" "only"
        PlParam "Distance" "125" 
	PlParam "Localpref" "false"
}


---------------------------------------------------------------------
EOF / 8.5.2006

--- NEW FILE: Makefile ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: version-script.txt ---
VERS_1.0
{
  global:
    olsrd_plugin_interface_version;
    olsrd_plugin_register_param;
    olsrd_plugin_init;

  local:
    *;
};

--- NEW FILE: .cvsignore ---
*.d
olsrd_quagga.so.*

--- NEW FILE: ChangeLog ---
0.2.1: Immo 'FaUl' Wehrenberg <(spam-protected)>:
	* now check (most of the) return-values of syscalls, improvement still
	  possible...
	* added support for new zebra-protocoll-format (with
	  ZEBRA_HEADER_MARKER and ZCLIENT_VERSION) if new 
	  quagga-headers are found)
	* Code Cleanup (removed lot of debug and test-stuff)
	* fixed return-bug in zebra_send_command
	* added copyright-stuff 
	* removed memleak in zebra_add/delete_v4_route

0.2.0: Immo 'FaUl' Wehrenberg <(spam-protected)>:
	* Initial release, too :-) 
	* Added support for route-export to the zebra/quagga
	
0.1.0: Immo 'FaUl' Wehrenberg <(spam-protected)>:
	* Initial release





More information about the Olsr-cvs mailing list