ULG version 0.9
- development started in June 2012
- sponsored by CZ.NIC (
- intention is to create a versatile Looking Glass for various routers
- genshi and cherrypy was used in the beginning
- cherrypy was later dropped and simple CGI was used instead
- the CGI scripts currently do not support mod_python nor mod_wsgi

Basic instalation procedure is:

1) install prerequisites: Python 2.6 or 2.7, Genshi, Python CGI module, urllib,
   pexpect and pygraph and GraphViz
2) instal additional router-specific prerequisities:
 - JuniperRouterRemoteTelnet: Telnet
 - CiscoRouter: OpenSSH client
 - BirdRouterRemote: OpenSSH client (default)
3) deploy files in src directory to some place in WWW tree
4) mkdir /etc/ulg; cp /etc/ulg/
5) edit to set up routers and credentials
6) edit to set up correct paths toward bins
7) create .htaccess file with following contents:

<FilesMatch "(.pyc|.*~)">
  Deny from all

Options +ExecCGI
AddHandler cgi-script .py

(Or use corresponding config of your web server.)

7) access http://yourserver/path-to-ulg/ via browser
8) change strings and templates in and templates/*.html .

Procedure for Debian Squeeze/Wheezy and Linux Mint 14 (nadia):
apt-get install python python-pexpect python-pygraph python-genshi libgv-python whois

All other steps are the same as in generic case.


* Author: or
* GIT hub
* CZ.NIC Git: git://

Future plans:

This "pre-release" is only a preview and "technology demonstrator". Requests and contributions are welcomed. I indend to support BIRD ( and Cisco routers and switches and support typical BGP-related commands and also IGP and L2 management commands in order to make LG more useful for ordinary NOC staff especially for information aquisition during outages and problems.