bundles/bird: announce subnets via all ips

This commit is contained in:
Franzi 2023-09-09 16:10:33 +02:00
parent 2b51812118
commit a2ceb8cc3a
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -19,7 +19,9 @@ protocol static {
ipv4;
% for route in sorted(node.metadata.get('bird/static_routes', set())):
route ${route} via ${node.metadata.get('bird/my_ip')};
% for name, config in sorted(node.metadata.get('bird/bgp_neighbors', {}).items()):
route ${route} via ${config['local_ip']};
% endfor
% endfor
}
% endif