role service-bird-ffrl: replace hyphen with underscores in protocol names
This commit is contained in:
parent
8bed1b7c5b
commit
ed244ad827
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
{% for peer_id, peer_value in ffrl_exit_server.items() %}
|
||||
protocol bgp '{{ peer_id }}' from ffrl_uplink {
|
||||
protocol bgp '{{ peer_id.replace('-','_') }}' from ffrl_uplink {
|
||||
source address {{ peer_value.tunnel_ipv4_network | ipaddr('net') | ipaddr('1') | ipaddr('address') }};
|
||||
neighbor {{ peer_value.tunnel_ipv4_network | ipaddr('net') | ipaddr('address') }} as ffrl_as;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
{% for peer_id, peer_value in ffrl_exit_server.items() %}
|
||||
protocol bgp '{{ peer_id }}' from ffrl_uplink {
|
||||
protocol bgp '{{ peer_id.replace('-','_') }}' from ffrl_uplink {
|
||||
source address {{ peer_value.tunnel_ipv6_network | ipaddr('net') | ipaddr('2') | ipaddr('address') }};
|
||||
neighbor {{ peer_value.tunnel_ipv6_network | ipaddr('net') | ipaddr('1') | ipaddr('address') }} as ffrl_as;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue