`ti2` is a tool to generate a network diagram in the OS(Linux) from os environment. Features ======== * Collect the network information for the OS (Open vSwitch, Linux Bridge, libvirt) * Generate the input format of Graph-Easy (basic feature). Graph-Easy http://search.cpan.org/~shlomif/Graph-Easy-0.72/lib/Graph/Easy.pm * Generate the springy HTML format. Springy https://github.com/dhotson/springy Setup ===== by tar ball ---------------- Extract the tar file:: $ tar xfz ti2-x.x.tar.gz use ======================== $ cd ti2-x.x $ ./ti2.py Usage ===== Usage: ti2.py [options] Options: --version show program's version number and exit -h, --help show this help message and exit -f FORMAT, --format=FORMAT specify output format [FORMAT: g/graph-easy, s/springy, r/springy-raphael] -d FILE, --database=FILE store record to database -t TYPE, --datatype=TYPE specify database type(default: json) -v, --verbose verbose output. Remote connection: connect to a remote system via SSH -r REMOTE_DESC, --remote=REMOTE_DESC specify user's name and hostname, port number (ex. -r user@hostname:22) -p PASSWORD, --password=PASSWORD specify user's SSH password -k FILE, --sshkey=FILE specify user's SSH private-key file Requirements ============ * Python 2.6 or later * Python Libvirt Library 0.9.10 or later. * Python SSH Library 1.8.0 or later. (or Paramiko Library 1.7.5 or later.) License ======= Apache License 2.0 History ======= 1.1 (2013-03-06) ------------------ * first release