summaryrefslogtreecommitdiff
path: root/data/templates/frr/vrf-vni.frr.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/frr/vrf-vni.frr.tmpl')
-rw-r--r--data/templates/frr/vrf-vni.frr.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/frr/vrf-vni.frr.tmpl b/data/templates/frr/vrf-vni.frr.tmpl
new file mode 100644
index 000000000..51d4ede1b
--- /dev/null
+++ b/data/templates/frr/vrf-vni.frr.tmpl
@@ -0,0 +1,7 @@
+{% if vrf is defined and vrf is not none %}
+vrf {{ vrf }}
+{% if vni is defined and vni is not none %}
+ vni {{ vni }}
+{% endif %}
+ exit-vrf
+{% endif %}