[Olsr-dev] netjson plugin

Nemesis (spam-protected)
Fri Apr 22 13:00:56 CEST 2016


On 04/22/2016 10:06 AM, Ferry Huberts wrote:
> 
> 
> On 22/04/16 07:58, Henning Rogge wrote:
>> On Thu, Apr 21, 2016 at 9:48 PM, Ferry Huberts <(spam-protected)>
>> wrote:
>>>
>>>
>>> On 21/04/16 20:47, Gabriel wrote:
>>>>
>>>> Hi, I've finally managed to get the netjson plugin working.
>>>>
>>>> I noticed that the "links" section contains just the 1-hop links.
>>>> The NetworkGraph should be a representation of the whole network as
>>>> edges and nodes.
>>>
>>>
>>> Incorrect, the RFC says:
>>>
>>>> Definition: a list of nodes and links known by a node.
>>>
>>>
>>> See http://netjson.org/rfc.html#rfc.section.4
>>>
>>>
>>> If you want the whole network, you must query all nodes and combine the
>>> info.
>>
>> I would disagree... OLSR(v2) is a Link State protocol... it collects
>> the "Link States" of the whole network to run Dijkstra on them.
>>
>> Because of this it should output this information in the NetJSON Graph
>> object.
>>
>> Would be stupid to ask the other nodes about data the local node
>> already has.
>>
> 
> ok ok ok
> I'll see what I can do (later)
> 
> the RFC is not clear about this.
> We really need to review it on the WBM

Opened a new issue:
https://github.com/interop-dev/netjson/issues/49

Federico



More information about the Olsr-dev mailing list