[olsr-dev] txtinfo plugin

Lorenz Schori (spam-protected)
Mon Mar 6 11:21:03 CET 2006


hi sven-ola, hi list

i copy+pasted together a small plugin using code from dot_draw +  
httpinfo. it just writes Routes, Links, Neighbors, Topology and HNA  
table to the socket and closes afterwards.
the info can be captured with "wget localhost:2006 -qO -" and fed to  
awk - or your favorite hifi system ;)

Table: tablename here
firstheader	secondheader	one more
entry1row1	entry2row1	entry3row1
cell1row2	cell2row2	cell3row2

columns are seperated by \t, tables are seperated with two newlines.


lorenz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: txtinfo.zip
Type: application/zip
Size: 11710 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20060306/b2973b97/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: txtinfo-sample-output.txt.zip
Type: application/zip
Size: 1113 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20060306/b2973b97/attachment-0001.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Signierter Teil der Nachricht
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20060306/b2973b97/attachment.sig>


More information about the Olsr-dev mailing list