bundles/bird: announce subnets via all ips
This commit is contained in:
parent
2b51812118
commit
a2ceb8cc3a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue