Skip to content

Visualizer

Dan Barrett edited this page Mar 21, 2017 · 9 revisions

NOTE: lots to fill in here!

Table of Contents

Usage

Setup

  • Make sure the Twisted Python library is installed on each node in the network
sudo apt-get install python-twisted
  • Select one of the nodes in the network to run the stats server
Start the statsserver listening on TCP port 8888 on all interfaces. The statsserver is a simple http server that is used to aggregate the information from all the nodes in the network
This also starts the xstats daemon which retrieves XID count information from click and reports it to the statsserver
xianet -Z -other-options start
  • Tell the remaining nodes to run the xstats daemon and send statistics to the statsserver on port 8888 on the specified IP address or host name.
xianet -z <address of machine running stats server> -other-options start

Configuration

  • Install Flash for your web browser (sorry!)
  • Load the visualizer
firefox file:///home/yourname/xia-core/tools/visualizations/distributed_click/Visualizer.html
  • Tell flash it's OK to use local storage with this app (may not be necessary)
    • Right click on the setup screen
    • Select Global Settings...
    • Click the Advanced tab
    • Click the Trusted Location Settings button
    • Add the ~/xia-core/tools/visualizations/distributed_click/ folder to the list

Chart types

Traffic Examples

The examples below show an echoserver running on host1 and an echoclient on router0

  • Final Intent
  • Next Hop

Caveats

  • The visualizer client is a Flash application that is unlikely to ever be updated again.
  • Non-operative features:
    • There is no ability to add addresses to the Saved Servers dropdown
    • There is no way to save a Custom Layout for the Layout dropdown
    • The display management traffic checkbox has no effect anymore because we have changed how routing messages are delivered
    • The Show Map checkbox has no effect
  • The delivery of statistics data to the stats server occasionally stutters, so the values displayed should be taken with a grain of salt.

Clone this wiki locally