Re: [Babel-users] Aggregating and visualising data from multiple Babel routers

2014-07-05 Thread Juliusz Chroboczek
Baptiste: http://ze.polyno.me/babel/babelcli.py Cool. python3 babelcli.py localhost:33123 other_router: 172.23.184.{1..9}: Baptiste, look into the mirror, repeat to yourself I can do it, and jump into the Javascript code. Gabriel's code is pretty clean, and you'll find yourself

Re: [Babel-users] Aggregating and visualising data from multiple Babel routers

2014-07-04 Thread Baptiste Jonglez
On Thu, Jul 03, 2014 at 08:35:40PM +0100, Gabriel Kerneis wrote: Le 2014-07-03 16:11, Baptiste Jonglez a écrit : I just wrote a proof-of-concept in Python, to get a feeling on how this can be done. A first version of the code is available here: http://ze.polyno.me/babel/babelcli.py

Re: [Babel-users] Aggregating and visualising data from multiple Babel routers

2014-07-04 Thread Gabriel Kerneis
On Fri, Jul 04, 2014 at 03:51:32PM +0900, Baptiste Jonglez wrote: - we currently rebuild the whole graph at each update: it's possible to be way more efficient And way more buggy. I tried, trust me, you don't want to go down that route except if you monitor thousands of nodes and need

Re: [Babel-users] Aggregating and visualising data from multiple Babel routers

2014-07-04 Thread Gabriel Kerneis
On Fri, Jul 04, 2014 at 03:51:32PM +0900, Baptiste Jonglez wrote: In any case, you're perfectly right, it is not possible to map neighbours to their router-id in the general case. Maybe we should have a new TLV or sub-TLV for advertising router-id between neighbours ;) I suggested such a

Re: [Babel-users] Aggregating and visualising data from multiple Babel routers

2014-07-03 Thread Gabriel Kerneis
Le 2014-07-03 16:11, Baptiste Jonglez a écrit : I just wrote a proof-of-concept in Python, to get a feeling on how this can be done. A first version of the code is available here: http://ze.polyno.me/babel/babelcli.py Nice. Caveat: I didnt read the code, and may have not fully understood