summaryrefslogtreecommitdiff
path: root/data/templates/frr/evpn.mh.frr.j2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-02 17:57:05 +0100
committerGitHub <noreply@github.com>2023-11-02 17:57:05 +0100
commit031a5c8a1b1a0d31d7ecf2134c9ba90c68657713 (patch)
treeffeff9dc89b22ab6453f177d1002e4e64449f1f5 /data/templates/frr/evpn.mh.frr.j2
parent0c86d0a94beb7b36f011d911e2548b198eb634b3 (diff)
parent1d67620e656766731ad6825fd8961140eb50d8a7 (diff)
downloadvyos-1x-031a5c8a1b1a0d31d7ecf2134c9ba90c68657713.tar.gz
vyos-1x-031a5c8a1b1a0d31d7ecf2134c9ba90c68657713.zip
Merge pull request #2416 from c-po/evpn-mh-t5698
T5698 EVPN ESI Multihoming
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
+!