From 992c847493665fd2119636d81582aa80e99e388a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 1 May 2022 19:21:35 +0200 Subject: vrf: T4353: fix Jinja2 linting errors --- data/templates/vrf/vrf.conf.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/templates/vrf/vrf.conf.j2 (limited to 'data/templates/vrf/vrf.conf.j2') diff --git a/data/templates/vrf/vrf.conf.j2 b/data/templates/vrf/vrf.conf.j2 new file mode 100644 index 000000000..d31d23574 --- /dev/null +++ b/data/templates/vrf/vrf.conf.j2 @@ -0,0 +1,9 @@ +### Autogenerated by vrf.py ### +# +# Routing table ID to name mapping reference +# id vrf name comment +{% if name is vyos_defined %} +{% for vrf, vrf_config in name.items() %} +{{ "%-10s" | format(vrf_config.table) }} {{ "%-16s" | format(vrf) }} {{ '# ' ~ vrf_config.description if vrf_config.description is vyos_defined }} +{% endfor %} +{% endif %} -- cgit v1.2.3