[Olsr-dev] GSoC 2010 - Olsrd questions for Freimap

Pilla Stefano (spam-protected)
Wed Aug 4 23:54:55 CEST 2010


 Hi,

I've some questions for my GSoC project and I'm sure that somebody can
help me,

Question 1)
I need to read the information of the httpinfo plugin like for example
routing table, active plugins, etc... In particular I need something
like a txt file or a xml file so I can parse it and reuse it in my
application.
(I already do this with the dotdrawplugin simply opening a socket to the
2004 port and parsing the output)

It is possibile to do the same thing with the httpinfo plugin?

Question 2 - 3 - 4)

I need to read the lat/lon position from nameservice plugin of a
particular node given by the olsrd topology (dotdraw plugin) so what I
have to do is:

1) check if the nameservice plugin is active (with the httpinfo output)
2) check the path of the latlon.js file (or if changed, the new name and
path)
3) to do step 2 I need to know the position of the olsr.conf file and
parse it
4) read the content of the file generated by nameservice plugin (I
already can do this)

For step 2, there is a way to discover the position of the olsr.conf
file?  If the user change the default value how I can check the new
position?

Do you think that is a good idea (if there is a way to parse httpinfo
data) to generate a config file from httpinfo plugin and read the data
that i need or follow the previous steps?

Thanks in advance.
-- 

Stefano Pilla

pub 2048R/7A14FB6C 2009-10-05 [expires: 2014-10-04]
    Key fingerprint: 
    6EB6 E497 B431 C251 A75C 
    49D9 0B7B 2E86 7A14 FB6C
Phone: +39 340 37 23 206
Cisco CCNA: CSCO11667427
Web: http://www.stefanopilla.it
E-mail: me[at]stefanopilla.it

*P* Please consider the environment -- Do you really need to print this email?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100804/8eb11c18/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 550 bytes
Desc: OpenPGP digital signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100804/8eb11c18/attachment.sig>


More information about the Olsr-dev mailing list