This commit is contained in:
ace 2021-10-25 15:58:10 +03:00
parent daf389804c
commit caf5bd2882
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0
2 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,7 @@
daemon_reload: yes
- name: Restart loopback
shell: |
ifdown lo ; ifup lo
command: ifdown lo ; ifup lo
- name: Reload dummy interface
command: nmcli conn up {{ dummy_iface | default('dummy0') }}

View File

@ -39,6 +39,7 @@ protocol bgp {{ protocol_bgp.name }} {
neighbor {{ protocol_bgp.remote_addr }} as {{ protocol_bgp.remote_asnum }};
hold time 30;
ipv4 {
import none;
export filter {
{% for proto in protocol_bgp.export %}
if proto = "{{ proto }}" then accept;