summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-client/ipv4.tmpl
diff options
context:
space:
mode:
authorRobert Schindler <r.schindler@efficiosoft.com>2020-07-21 16:29:59 +0200
committerRobert Schindler <r.schindler@efficiosoft.com>2020-07-21 16:29:59 +0200
commit3ec77c9c878939f8c6e4eca62c4a2cddfef20db1 (patch)
tree938990792a6cec3e2b2b5b7053919510eff2b6eb /data/templates/dhcp-client/ipv4.tmpl
parent842f642c3e64800e786bde4ea4b52bcf26254f9d (diff)
downloadvyos-1x-3ec77c9c878939f8c6e4eca62c4a2cddfef20db1.tar.gz
vyos-1x-3ec77c9c878939f8c6e4eca62c4a2cddfef20db1.zip
vyos.template: T2720: Rework vyos.template Python library
Apart from code cleanup, this allows any module that wants to render a template to register custom jinja2 template filters by using the new @register_filter decorator. Examples can be found in vyos.template itself. Using the new render_to_string function, the rendered template can also be returned as a string instead of being written to a file.
Diffstat (limited to 'data/templates/dhcp-client/ipv4.tmpl')
0 files changed, 0 insertions, 0 deletions