bird: add rr client/cluster id option

This commit is contained in:
jeltz 2023-11-04 21:43:32 +01:00
parent 261ccfeb5c
commit 5c8358ec95
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -92,6 +92,10 @@ protocol bgp {{ name | bird_name(ipv4) }} {
neighbor {{ bgp.neighbor.address neighbor {{ bgp.neighbor.address
| ansible.utils.ipaddr(version) | ansible.utils.ipaddr(version)
| first }} as {{ bgp.neighbor.as }}; | first }} as {{ bgp.neighbor.as }};
{% if bgp.rr_cluster_client is defined %}
rr client;
rr cluster id {{ bgp.rr_cluster_client }};
{% endif %}
{{ version }} { {{ version }} {
{{ bgp.import {{ bgp.import
| default([]) | default([])