summaryrefslogtreecommitdiff
path: root/data/templates/frr/evpn.mh.frr.j2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-30 15:38:56 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-11-06 19:56:42 +0000
commit062ac6bc4c042cd276fb4ae6916c9a0fffd6d710 (patch)
treedd1d826c3ed786d7ae4b04398748146e20ae4346 /data/templates/frr/evpn.mh.frr.j2
parent148ab6c4382be62c1021ec49e3262de66d38ab0a (diff)
downloadvyos-1x-062ac6bc4c042cd276fb4ae6916c9a0fffd6d710.tar.gz
vyos-1x-062ac6bc4c042cd276fb4ae6916c9a0fffd6d710.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' (cherry picked from commit 937685608e61151275c4f60c6d00c0154f2ca06d)
Diffstat (limited to 'data/templates/frr/evpn.mh.frr.j2')
-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
+!