[Interop-dev] Topology JSON

Henning Rogge (spam-protected)
Fri Feb 6 13:58:15 CET 2015


I just got to the point writing up some wiki documentation about
Layer2Info, NHDPInfo and OLSRv2Info plugin:

http://www.olsr.org/mediawiki/index.php/Layer2Info_Plugin
http://www.olsr.org/mediawiki/index.php/NHDPInfo_Plugin
http://www.olsr.org/mediawiki/index.php/OLSRv2Info_Plugin

Henning

On Thu, Feb 5, 2015 at 8:39 AM, Henning Rogge <(spam-protected)> wrote:
> On Wed, Feb 4, 2015 at 9:48 PM, Nemesis <(spam-protected)> wrote:
>> [MEGACUT]
>>
>> Sorry friends, I'm getting confused.
>>
>> Let's go back on the goal. What do we want from NetworkTopology JSON and
>> NetworkRoutes JSON?
>
> I think NetworkRoutes is the representation of the routing table
> created by a routing agent. Doesn't matter how it was calculated, just
> a bunch of destinations, next-hops, interfaces and "costs" to give you
> an idea how far the destination is away compared to other routes.
>
> NetworkTopology is the knowledge of the links in the whole mesh...
> maybe we should split this into two "subgroups".
>
> The "neighborhood" should contain knowledge about other routers you
> can directly communicate to (and maybe data you directly got from them
> for two-hop knowledge?). This is something the local router collected
> itself and has a very accurate knowledge about. I think both
> distance-vector and linkstate protocols collect this information.
>
> The "topology" is knowledge about the whole network graph, most likely
> based on information you got from other routers. Linkstate protocols
> need this data to do their job, distance-vector protocols don't (but
> might deliver it through some optional query mechanism).
>
>> I know what I want, I would like to have some kind of JSON, that I can
>> give in input that JSON to a visualization library and the library will
>> draw a graph representing the network.
>>
>> Plus, I would like to be able to represent the static routes of a device
>> in a configuration object, or the routes of a routing table as seen by a
>> device.
>>
>> And I would like that these two structures would be able to represent
>> the common cases of the open source routing protocols used in mesh /
>> community networks plus it would be great to support OSPF.
>>
>> Can we achieve these 2 results with the two (draft) objects that we have
>> now (NetworkRoutes and NetworkTopology)?
>
> Henning Rogge




More information about the Interop-dev mailing list