1 The netjson viewer is a minimal way to visualize the live-topology of olsrd2.
3 It uses the vis.js API (http://visjs.or) and an XMLHttpRequest to load data from
4 olsrd2 during runtime from the netjsoninfo plugin.
6 As a minimal solution to use this plugin put vis.js, vis.css, netjson_view.js
7 on a webserver and adapt the links in netjson_view.html to it.
9 Put netjson_view.html in the /tmp/www directory of your node. It needs to be on
10 the same IP as the olsrd2, because otherwise the XMLHttpRequest will be blocked
11 as a crosssite-script attack.
13 Compile olsrd2 with http plugin and allow it to publish the content of /tmp/www.
19 After this you should get the viewer by accessing
21 http://<ip-of-olsrd2-node>:1980/www/netjson_view.html