[Olsr-dev] netjson plugin

Henning Rogge (spam-protected)
Fri Apr 22 07:58:46 CEST 2016


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.

Henning



More information about the Olsr-dev mailing list