diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-08 21:21:21 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-08 22:49:42 +0200 |
commit | 1d9cf31e849b862063200309734bab6620f57f1d (patch) | |
tree | 21b40ddd787447d6fb452dcf58256a28027d8522 /data/templates/frr/ospf.frr.tmpl | |
parent | b5c608949719f4fcbf4234a0e8e52e5d7692b362 (diff) | |
download | vyos-1x-1d9cf31e849b862063200309734bab6620f57f1d.tar.gz vyos-1x-1d9cf31e849b862063200309734bab6620f57f1d.zip |
vrf: bgp: T3523: bugfix Kernel route-map deployment
Commit 4f9aa30f ("vrf: bgp: T3523: add route-map support for kernel routes")
added the possibility to also filter BGP routes towards the OS kernel, but the
smoketests failed. Reason was a non working CLI command applied to bgpd.
Thus the VRF route-map and the BGP configuration is now split into two templates,
one to be used for each daemon (zebra and bgpd).
Nevertheless one more bug was found in vyos.frr which currently does not suppoort
calling modify_section() inside a configuration "block". See [1] for more info.
[1]: https://phabricator.vyos.net/T3529
Diffstat (limited to 'data/templates/frr/ospf.frr.tmpl')
-rw-r--r-- | data/templates/frr/ospf.frr.tmpl | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/data/templates/frr/ospf.frr.tmpl b/data/templates/frr/ospf.frr.tmpl index 6283ad4e5..36aa699a9 100644 --- a/data/templates/frr/ospf.frr.tmpl +++ b/data/templates/frr/ospf.frr.tmpl @@ -50,15 +50,6 @@ interface {{ iface }} {{ 'vrf ' + vrf if vrf is defined and vrf is not none }} {% endfor %} {% endif %} ! -{% if vrf is defined and vrf is not none and route_map is defined and route_map is not none %} -vrf {{ vrf }} - ip protocol ospf route-map {{ route_map }} - exit-vrf -! -{% elif route_map is defined and route_map is not none %} -ip protocol ospf route-map {{ route_map }} -{% endif %} -! router ospf {{ 'vrf ' + vrf if vrf is defined and vrf is not none }} {% if access_list is defined and access_list is not none %} {% for acl, acl_config in access_list.items() %} |