role service-bird-lg: also add legacy_gateways
This commit is contained in:
parent
7f042e1292
commit
5fee4d98dc
1 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,9 @@ PROXY = {
|
|||
{% for host in groups["ffmwu-gateways"] %}
|
||||
"{{ host.rsplit('.freifunk-mwu.de')[0] }}" : 5000,
|
||||
{% endfor %}
|
||||
{% for host in legacy_gateways %}
|
||||
"{{ host }}" : 5000,
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
# Used for bgpmap
|
||||
|
@ -18,12 +21,18 @@ 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 %}
|
||||
{% for host in legacy_gateways %}
|
||||
"{{ host }}" : [ "{{ bgp_mwu_servers[host].ipv4 }}", "{{ bgp_mwu_servers[host].ipv6 }}"],
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
AS_NUMBER = {
|
||||
{% for host in groups["ffmwu-gateways"] %}
|
||||
"{{ host.rsplit('.freifunk-mwu.de')[0] }}" : "65037",
|
||||
{% endfor %}
|
||||
{% for host in legacy_gateways %}
|
||||
"{{ host }}" : "65037",
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
#WHOIS_SERVER = "whois.foo.bar"
|
||||
|
|
Loading…
Reference in a new issue