[Olsr-dev] including wifi stats in jsoninfo

Ferry Huberts (spam-protected)
Wed Jun 6 16:13:51 CEST 2012



On 06-06-12 15:58, Hans-Christoph Steiner wrote:
>
> On Jun 6, 2012, at 3:33 AM, Teco Boot wrote:
>
>>
>> Op 6 jun. 2012, om 08:24 heeft Henning Rogge het volgende geschreven:
>>
>>> On 06/06/2012 12:43 AM, Hans-Christoph Steiner wrote:
>>>> iwinfo looks good.  Has anyone ever built iwinfo for non-OpenWRT
>>>> platforms, like Debian?
>>>
>>> I do not think its a good idea to include the output of an external tool into an OLSRd plugin, just because you can.
>>
>> +1
>>
>> But if a link metric plugin gathers such information, it makes sense to provide it from olsrd. It shows what info olsrd uses. Could be different than form other sources (...).
>
> I'm not thinking only olsrd, I think that iwinfo would be generally useful for wifi debugging on GNU/Linux and Android, not only OpenWRT.
>
> Besides adding external library dependencies to olsrd, are there any objections to including the information that iwinfo provides?  The core idea of jsoninfo is to provide a wealth of information to enable mapping and debugging of OLSR networks.  wifi settings and statistics are an important part of that picture.
>


Agree about the 'picture'.

However, keep in mind that including a http server into olsrd is not 
very nice from an architecture standpoint (although I do understand why 
it was done).
I already discussed this with Henning and proposed to split it out of 
olsrd for v2.
This has many advantages against slight disadvantages.

Also, I think you should limit the info provide to things that are 
strictly used by olsrd.
Info from iwinfo does not qualify in that regard. That would be more 
suitable for aggregation somewhere else.

We must try to avoid putting stuff into olsrd when it is not needed.
It makes maintenance much harder.
A loosely coupled system of small components is way better than a single 
big component. IMHO olsrd is already too large.


> .hc
>
>
>>
>> Teco
>>
>>>
>>> You can easily call the tool directly or over SSH.
>>>
>>> Henning Rogge
>>>
>>> --
>>> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
>>> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
>>> Kommunikationssysteme (KOM)
>>> Neuenahrer Straße 20, 53343 Wachtberg, Germany
>>> Telefon +49 228 9435-961,   Fax +49 228 9435 685
>>> mailto:(spam-protected) http://www.fkie.fraunhofer.de
>>> GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
>>>
>>>
>>>
>>> --
>>> Olsr-dev mailing list
>>> (spam-protected)
>>> https://lists.olsr.org/mailman/listinfo/olsr-dev
>>
>>
>> --
>> Olsr-dev mailing list
>> (spam-protected)
>> https://lists.olsr.org/mailman/listinfo/olsr-dev
>
>

-- 
Ferry Huberts




More information about the Olsr-dev mailing list