anchor.diff:    local as <%= scope().call_function('hiera',['bgp_as']) %>;
     neighbor <%= values["peer_ipv4"] %> as <%= scope().call_function('hiera',['bgp_as']) %>;
     multihop;
  +  import all;
     graceful restart;
     export filter export_bgp;
     source address <%= @ipaddress_trp1 %>;  # The local address we use for the TCP connection
  
positive.code: <% end -%>
  
  filter export_bgp {
    if (ifname ~ "dummy*") then {
      if  net != 0.0.0.0/0 then accept;
    }
    reject;
  }
  
negative.code: protocol kernel {
    learn;          # Learn all alien routes from the kernel
    device routes;  # protect kernel device routes from being overwritten or removed by IGP routes
    persist;        # Don't remove routes on bird shutdown
    scan time 2;    # Scan kernel routing table every 2 seconds
    import all;
    graceful restart;
    export filter export_bgp;
  }
  
  protocol bfd {
  