2018-09-21 15:59:10 +02:00
|
|
|
DEBUG = False
|
|
|
|
LOG_FILE="/var/log/bird-lg/lg-webservice.log"
|
|
|
|
LOG_LEVEL="WARNING"
|
|
|
|
|
|
|
|
DOMAIN = "ffmwu.org"
|
|
|
|
|
|
|
|
BIND_IP = "127.0.0.1"
|
|
|
|
BIND_PORT = 5001
|
|
|
|
|
|
|
|
PROXY = {
|
|
|
|
{% for host in groups["ffmwu-gateways"] %}
|
|
|
|
"{{ host.rsplit('.freifunk-mwu.de')[0] }}" : 5000,
|
|
|
|
{% endfor %}
|
2018-09-21 17:11:19 +02:00
|
|
|
{% for host in legacy_gateways %}
|
|
|
|
"{{ host }}" : 5000,
|
|
|
|
{% endfor %}
|
2018-09-21 15:59:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# Used for bgpmap
|
|
|
|
ROUTER_IP = {
|
|
|
|
{% for host in groups["ffmwu-gateways"] %}
|
|
|
|
"{{ host.rsplit('.freifunk-mwu.de')[0] }}" : [ "{{ bgp_ipv4_transfer_net | ipaddr('net') | ipaddr(hostvars[host]['magic']) | ipaddr('ip') }}", "{{ bgp_ipv6_transfer_net | ipaddr('net') | ipsubnet(64, 0) | ipaddr(hostvars[host]['magic']) | ipaddr('ip') }}" ],
|
|
|
|
{% endfor %}
|
2018-09-21 17:11:19 +02:00
|
|
|
{% for host in legacy_gateways %}
|
|
|
|
"{{ host }}" : [ "{{ bgp_mwu_servers[host].ipv4 }}", "{{ bgp_mwu_servers[host].ipv6 }}"],
|
|
|
|
{% endfor %}
|
2018-09-21 15:59:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
AS_NUMBER = {
|
|
|
|
{% for host in groups["ffmwu-gateways"] %}
|
2018-09-21 17:16:24 +02:00
|
|
|
"{{ host.rsplit('.freifunk-mwu.de')[0] }}" : "{{ as_private_mwu }}",
|
2018-09-21 15:59:10 +02:00
|
|
|
{% endfor %}
|
2018-09-21 17:11:19 +02:00
|
|
|
{% for host in legacy_gateways %}
|
2018-09-21 17:16:24 +02:00
|
|
|
"{{ host }}" : "{{ as_private_mwu }}",
|
2018-09-21 17:11:19 +02:00
|
|
|
{% endfor %}
|
2018-09-21 15:59:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#WHOIS_SERVER = "whois.foo.bar"
|
|
|
|
|
|
|
|
# DNS zone to query for ASN -> name mapping
|
|
|
|
ASN_ZONE = "asn.cymru.com"
|
|
|
|
|
|
|
|
SESSION_KEY = '\xd77\xf9\xfa\xc2\xb5\xcd\x85)`+H\x9d\xeeW\\%\xbe/\xbaT\x89\xe8\xa7'
|