diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-30 15:38:56 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-10-30 15:38:56 +0100 |
commit | 937685608e61151275c4f60c6d00c0154f2ca06d (patch) | |
tree | 11fa46e02cf074f6adb0ba24e6b98ba3c29a9218 /data/templates/frr | |
parent | 78e00bf4099bfac2164ef2075acce8169c40c9c3 (diff) | |
download | vyos-1x-937685608e61151275c4f60c6d00c0154f2ca06d.tar.gz vyos-1x-937685608e61151275c4f60c6d00c0154f2ca06d.zip |
bond: T5698: add support for EVPN Multihoming
set interfaces bonding bond10 evpn es-df-pref '50'
set interfaces bonding bond10 evpn es-id '10'
set interfaces bonding bond10 evpn es-sys-mac '01:23:45:67:89:ab'
set interfaces bonding bond10 member interface 'eth3'
set interfaces bonding bond10 mode '802.3ad'
Diffstat (limited to 'data/templates/frr')
-rw-r--r-- | data/templates/frr/evpn.mh.frr.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/templates/frr/evpn.mh.frr.j2 b/data/templates/frr/evpn.mh.frr.j2 new file mode 100644 index 000000000..03aaac44b --- /dev/null +++ b/data/templates/frr/evpn.mh.frr.j2 @@ -0,0 +1,16 @@ +! +interface {{ ifname }} +{% if evpn.es_df_pref is vyos_defined %} + evpn mh es-df-pref {{ evpn.es_df_pref }} +{% endif %} +{% if evpn.es_id is vyos_defined %} + evpn mh es-id {{ evpn.es_id }} +{% endif %} +{% if evpn.es_sys_mac is vyos_defined %} + evpn mh es-sys-mac {{ evpn.es_sys_mac }} +{% endif %} +{% if evpn.uplink is vyos_defined %} + evpn mh uplink +{% endif %} +exit +! |