diff options
author | Christian Breunig <christian@breunig.cc> | 2024-12-11 21:22:41 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-12-16 22:24:50 +0100 |
commit | 147751ec59527800e956b7ea689805ba80769abe (patch) | |
tree | 7a07ee6b6b6ad4b8cdff30c9698149a839f2b95e /data | |
parent | 2e4725cd77a33f91e091d86d94056f43dafd153d (diff) | |
download | vyos-1x-147751ec59527800e956b7ea689805ba80769abe.tar.gz vyos-1x-147751ec59527800e956b7ea689805ba80769abe.zip |
static: T6746: migrate BFD CLI nodes
Migrate "set protocols static route <x.x.x.x/x> next-hop <y.y.y.y> bfd multi-hop
source <z.z.z.z> profile <NAME>" to: "set protocols static route <x.x.x.x/x>
next-hop <y.y.y.y> bfd profile bar"
FRR supports only one source IP address per BFD multi-hop session. VyOS
had CLI cupport for multiple source addresses which made no sense.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/frr/staticd.frr.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/frr/staticd.frr.j2 b/data/templates/frr/staticd.frr.j2 index 227807c62..90d17ec14 100644 --- a/data/templates/frr/staticd.frr.j2 +++ b/data/templates/frr/staticd.frr.j2 @@ -15,8 +15,8 @@ {% set ip_route = ip_route ~ ' bfd' %} {% if config.bfd.multi_hop is vyos_defined %} {% set ip_route = ip_route ~ ' multi-hop' %} -{% if config.bfd.source_address is vyos_defined %} -{% set ip_route = ip_route ~ ' source ' ~ config.bfd.source_address %} +{% if config.bfd.multi_hop.source_address is vyos_defined %} +{% set ip_route = ip_route ~ ' source ' ~ config.bfd.multi_hop.source_address %} {% endif %} {% endif %} {% if config.bfd.profile is vyos_defined %} |