Hi,
after several talks with different batman users / freifunk communities it became clear that we need more flexibility for the policy routing. Therefore I implemented a new option which takes a path to a executable / shell script as argument (--policy-routing-script). If this option is given batmand will send all routing table changes to this executable instead of manipulating the routing table itself. The messages contain all neccessary information to manipulate the routing table correctly. The executable can modify the parameters before changing the routing table (routing tables, interfaces, priorities, etc) or just ignore messages.
I wrote a sample shell script which you can use as basis for your hacking: http://downloads.open-mesh.net/batman/useful-scripts-and-tools/policy_routin...
This makes the --no-policy-routing option obsolete which was removed. Feedback is welcome. ;-)
Greetings, Marek
b.a.t.m.a.n@lists.open-mesh.org