summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-30 15:38:56 +0100
committerChristian Breunig <christian@breunig.cc>2023-10-30 15:38:56 +0100
commit937685608e61151275c4f60c6d00c0154f2ca06d (patch)
tree11fa46e02cf074f6adb0ba24e6b98ba3c29a9218 /data
parent78e00bf4099bfac2164ef2075acce8169c40c9c3 (diff)
downloadvyos-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')
-rw-r--r--data/templates/frr/evpn.mh.frr.j216
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
+!