bird looking glass
![]() The current parsing was broken because of a change in the date format. Actually, the new method is much simpler, and should resist small syntax changes in Bird's output. We don't use an ugly regexp anymore. Important limitation: parsing will be messed up if the date contains a space character. This does not happen with the default date format of both bird 1.3 and bird 1.4, but since the date format is configurable in bird, it may happen anyway. |
||
---|---|---|
static | ||
templates | ||
.gitignore | ||
bird.py | ||
COPYING | ||
gpl-3.0.txt | ||
lg.cfg | ||
lg.py | ||
lg.wsgi | ||
lgproxy.cfg | ||
lgproxy.py | ||
lgproxy.wsgi | ||
README.mkd | ||
toolbox.py |
BIRD-LG
This is a looking glass for the Internet Routing Daemon "Bird".
Software is split in two parts:
-
lgproxy.py:
It must be installed and started on all bird nodes. It act as a proxy to make traceroute and bird query on the node. Access restriction to this web service can be done in file "lgproxy.cfg" (only IP address based restriction for now).
-
lg.py:
This is the frontend, a web based UI that request informations to all lgproxy.py nodes. The domain and the list of all bird nodes can be done.
***************
+--> * lgproxy.py *
| ***************
|
******** ******************* | ***************
* USER * ----> * webserver/lg.py *--+--> * lgproxy.py *
******** ******************* | ***************
|
| ***************
+--> * lgproxy.py *
***************
bird-lg depends on :
- python-flask >= 0.8
- python-dnspython
- python-pydot
Each services can be embedded in any webserver by following regular python-flask configuration.
Only tested with bird 1.2.5.
Source code is under GPL 3.0, powered by Flask, jQuery and Bootstrap.
Copyright © 2012 Mehdi Abaakouk sileht@sileht.net