[Olsr-dev] first sketch of jsoninfo olsrd plugin

Ferry Huberts (spam-protected)
Wed May 9 21:18:47 CEST 2012



On 09-05-12 20:43, Hans-Christoph Steiner wrote:
>
>
> On 05/09/2012 03:07 AM, Henning Rogge wrote:
>> On 05/09/2012 06:50 AM, Hans-Christoph Steiner wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA256
>>>
>>>
>>> I just pushed the first version of the jsoninfo plugin for getting the
>>> status and config info from olsrd in JSON format.  Right now, it gives
>>> all of the data that the txtinfo plugin does, indeed it is based on
>>> the txtinfo plugin.  It does not yet return the /config information.
>>
>> Very nice, I will have a look at it in the next days.
>>
>>
>>> Also, I plan on adding the ability to configure HNAs at runtime via
>>> this plugin (like dyn_gw_plain).

And how would this be secured?
I'm not feeling very comfortable with allowing random processes to 
change my HNAs

>>
>> I would suggest putting this into a different plugin, so it can be used
>> independently of the jsoninfo plugin.
>>
>> maybe "runtime_hna" plugin?
>
> One of the goals is to have a simple, standard-feeling API getting and
> setting things in olsrd.  Having the hna setting in a different plugin
> means opening a separate network socket, and would add needless
> complexity.  Instead someone who wants a standalone runtime_hna plugin
> could just take the code out of the jsoninfo plugin, and we have both
> options.
>
> .hc
>

-- 
Ferry Huberts




More information about the Olsr-dev mailing list