[Interop-dev] GSoC 2017 netjsongraph.js progress report 1

Nemesis (spam-protected)
Mon Jun 12 10:14:07 CEST 2017


On 06/10/2017 10:34 AM, Nicolas Pace wrote:
> 
> 
> On June 8, 2017 4:57:07 PM GMT+02:00, Nemesis <(spam-protected)> wrote:
>> On 06/08/2017 11:06 AM, Nicolas Pace wrote:
>>> On Wed, 2017-06-07 at 10:02 +0200, Nemesis wrote:
>>>> On 06/06/2017 12:22 PM, Nicolas Pace wrote:
>>>>> On Tue, 2017-06-06 at 10:01 +0200, Nemesis wrote:
>>>>>> Unfortunately I could not come this year because work and GSoC
>>>>>> are
>>>>>> keeping me extremely busy.
>>>>>>
>>>>>> You may want have a chat with Leonardo Maccari which has been
>>>>>> using
>>>>>> NetJSON NetworkGraph in some research work regarding the study of
>>>>>> network topologies of community networks at the University of
>>>>>> Trento.
>>>>>>
>>>>>> I talked to Axel last year about writing a converter for BMX7 in
>>>>>> netdiff
>>>>>> https://github.com/ninuxorg/netdiff, the abstraction layer that
>>>>>> allows
>>>>>> us to convert topology output of different routing protocols to
>>>>>> NetJSON
>>>>>> NetworkGraph - so in our applications we only deal with one
>>>>>> format.
>>>>>
>>>>> Good idea... have you worked on it?
>>>>
>>>> We have a converter for BMX6 (I think the tool that outputs the data
>>>> was
>>>> called b6m) but I'm not entirely sure somebody is really using it:
>>>>
>>>>
>> https://github.com/ninuxorg/netdiff/blob/master/netdiff/parsers/bmx6.
>>>> py
>>>
>>> At least not us... because we are doing this in the router and we
>>> cannot use python for that :(
>>> Is there any lua implementation of that?
>>
>> There's a misunderstanding, that code doesn't run on the router. The
>> router sends the topology to an application that runs that library to
>> convert the native output to NetJSON NetworkGraph, which is then used
>> for visualization.
> 
> In the case of the bmx6 renderer the module generates a JSON that gets rendered in the clientside

Ok I see, probably this graph is rendered in the router web interface?

One more question, does the lime router have/show the full bmx6 topology
or just what the node knows?

>>
>>>>
>>>>>>
>>>>>> Do you know what's the official tool that generates topology
>>>>>> output
>>>>>> for
>>>>>> BMX7?
>>>>>
>>>>> No... we actually use BMX6 by default in LibreMesh (although all
>>>>> routing protocols are supported), so that's what I'm focusing right
>>>>> now.
>>>>>
>>>>> Pitty that you are not around...
>>>>
>>>> Yes it's a pity.
>>>>
>>>> Nevertheless, I'm always available for remote collaboration on
>> shared
>>>> goals.
>>>> IMHO email / chat / voice calls are just as good as physical
>>>> presence,
>>>> even better: cheaper, faster, more comfortable because it doesn't
>>>> require to go through airports, trains and visa requests.
>>>>
>>>
>>> This is not in my priority list for now, so i'm not sure when I will
>> be
>>> able to get to this... but, if anyone wants to work on this, I can
>> show
>>> him around :)
>>>
>>
>> Sure, I have one simple question if you don't mind: what tool are you
>> using in BMX6 to generate topology output?
> 
> Just some lua code that is based on bmx6 command line interface.
> 
>> Is there a repository with a little bit of documentation for this tool?
> 
> No documentation... Just code :)
> Not that hard
> It is in http://GitHub.com/libremesh/lime-packages
> 
> Inside packages folder there might be a luci-bmx6 package or similar... Will send you the precise link later

I've looked in the packages but can't find that one, if you could send
me the link it would be useful.

Federico



More information about the Interop-dev mailing list