2014-12-15 20:41:32 +01:00
|
|
|
# Configuration file for lg.py
|
|
|
|
# Copy to lg.cfg and edit to suit your needs.
|
2012-01-20 00:12:19 +01:00
|
|
|
|
2014-12-15 20:41:32 +01:00
|
|
|
DEBUG = False
|
|
|
|
|
|
|
|
LOG_FILE="/var/log/bird-lg/lg.log"
|
2012-10-16 07:59:47 +02:00
|
|
|
LOG_LEVEL="WARNING"
|
|
|
|
|
2014-12-15 20:41:32 +01:00
|
|
|
DOMAIN = "example.com"
|
2012-01-20 00:12:19 +01:00
|
|
|
|
2014-12-15 20:41:32 +01:00
|
|
|
# Which IP/port to listen to for client connections.
|
2014-02-12 22:09:09 +01:00
|
|
|
BIND_IP = "0.0.0.0"
|
|
|
|
BIND_PORT = 5000
|
|
|
|
|
2014-12-15 20:41:32 +01:00
|
|
|
# Which backend routers to connect to (here, router1.example.com:5000 and
|
|
|
|
# router2.example.com:5000). The routers must run lgproxy.py.
|
2012-01-26 17:12:18 +01:00
|
|
|
PROXY = {
|
2014-12-15 20:41:32 +01:00
|
|
|
"router1": 5000,
|
|
|
|
"router2": 5000,
|
2012-01-26 17:12:18 +01:00
|
|
|
}
|
2012-01-20 00:12:19 +01:00
|
|
|
|
2012-05-29 16:53:19 +02:00
|
|
|
# Used for bgpmap
|
|
|
|
ROUTER_IP = {
|
2014-12-15 20:41:32 +01:00
|
|
|
"router1" : [ "192.0.2.1", "2001:db8::1" ],
|
|
|
|
"router2" : [ "192.0.2.2", "2001:db8::2" ]
|
2012-05-29 16:53:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
AS_NUMBER = {
|
2014-12-15 20:41:32 +01:00
|
|
|
"router1" : "64498",
|
|
|
|
"router2" : "65538"
|
2012-05-29 16:53:19 +02:00
|
|
|
}
|
|
|
|
|
2014-01-27 22:13:23 +01:00
|
|
|
#WHOIS_SERVER = "whois.foo.bar"
|
|
|
|
|
2012-01-20 00:12:19 +01:00
|
|
|
SESSION_KEY = '\xd77\xf9\xfa\xc2\xb5\xcd\x85)`+H\x9d\xeeW\\%\xbe/\xbaT\x89\xe8\xa7'
|