README 1.68 KB
Newer Older
1
ULG version 0.9
2 3 4 5 6 7 8 9
- development started in June 2012
- sponsored by CZ.NIC (http://www.nic.cz)
- 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

Basic instalation procedure is:

10
1) install prerequisites: Python 2.6 or 2.7, Genshi, Python CGI module, urllib,
11
   pexpect and pygraph and GraphViz
12
2) deploy files in src directory to some place in WWW tree
13 14
3) cp config.py.example config.py
4) edit config.py to set up routers and credentials
15
5) edit defaults.py to set up correct paths toward bins
16
6) create .htaccess file with following contents:
17 18 19 20 21 22 23 24 25 26

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

Options +ExecCGI
AddHandler cgi-script .py

(Or use corresponding config of your web server.)

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

30
Procedure for Debian Squeeze/Wheezy and Linux Mint 14 (nadia):
31
1)
32
apt-get install python python-pexpect python-pygraph python-genshi libgv-python whois
33 34 35

All other steps are the same as in generic case.

36

37 38
Contacts:

39 40
* Author: tmshlvck@gmail.com or tomas.hlavacek@nic.cz
* GIT hub https://github.com/tmshlvck/ulg
41
* CZ.NIC Git: git://git.nic.cz/ulg.git
42 43 44 45 46 47


Future plans:

This "pre-release" is only a preview and "technology demonstrator". Requests and contributions are welcomed. I indend to support BIRD (http://bird.network.cz) 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.