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