Il 28/09/2015 19:35, Simon Wunderlich ha scritto:
# batadv-vis --format=jsondoc and I got [5]
This looks kind of incomplete - there are no neighbor information at all.
I would like to debug this thing. Virtual machines firewall have been deactivated. I don't understand why # alfred -r 65 returns a correct output about the three nodes and instead the jsondoc output only mentions one node...
Question: do you have any suggestion how I can extend the jsondoc output, to get an output similar to [6]?
I'd suggest to create a new output type (maybe call it netjson?) next to the existing ones. If you look in the source code [1] You'll find a couple of hooks which are prepared exactly for this purpose.
Thanks! Simon
[1] http://git.open-mesh.org/alfred.git/blob/HEAD:/vis/vis.c#l724
Thank you, I will check it.