summaryrefslogtreecommitdiff
path: root/data/templates/vrf
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 21:52:52 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 21:52:52 +0200
commit542cdf7b5e162990de91ee045509bec3a8125b2f (patch)
tree3d1ee40b490866efe14c9ca5ea080143f4a9093f /data/templates/vrf
parent166b86163824b1ae43aed78487d5cd2dba1a07d6 (diff)
downloadvyos-1x-542cdf7b5e162990de91ee045509bec3a8125b2f.tar.gz
vyos-1x-542cdf7b5e162990de91ee045509bec3a8125b2f.zip
vrf: T2230: move inlined templates to dedicated files
Diffstat (limited to 'data/templates/vrf')
-rw-r--r--data/templates/vrf/vrf.conf.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/vrf/vrf.conf.tmpl b/data/templates/vrf/vrf.conf.tmpl
new file mode 100644
index 000000000..761b0bb6f
--- /dev/null
+++ b/data/templates/vrf/vrf.conf.tmpl
@@ -0,0 +1,8 @@
+### Autogenerated by vrf.py ###
+#
+# Routing table ID to name mapping reference
+
+# id vrf name comment
+{% for vrf in vrf_add -%}
+{{ "%-10s" | format(vrf.table) }} {{ "%-16s" | format(vrf.name) }} # {{ vrf.description }}
+{% endfor -%}