summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-12 20:01:14 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-12 20:01:14 +0200
commit8ba3ef37d55fb197dd0706a2ef3b469ca0afa90a (patch)
treef1dbd19f0d82872e6ed5ba4cf1e3629fc8666d8a
parent0f6da5dc6a769ad303795942277ae2529e44e7d7 (diff)
downloadvyos-1x-8ba3ef37d55fb197dd0706a2ef3b469ca0afa90a.tar.gz
vyos-1x-8ba3ef37d55fb197dd0706a2ef3b469ca0afa90a.zip
frr: rpki: T4353: add ".j2" file extension on Jinja2 template
-rw-r--r--data/templates/frr/rpki.frr.j2 (renamed from data/templates/frr/rpki.frr.tmpl.j2)0
-rwxr-xr-xsrc/conf_mode/protocols_rpki.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/rpki.frr.tmpl.j2 b/data/templates/frr/rpki.frr.j2
index 9a549d6de..9a549d6de 100644
--- a/data/templates/frr/rpki.frr.tmpl.j2
+++ b/data/templates/frr/rpki.frr.j2
diff --git a/src/conf_mode/protocols_rpki.py b/src/conf_mode/protocols_rpki.py
index 51ad0d315..62ea9c878 100755
--- a/src/conf_mode/protocols_rpki.py
+++ b/src/conf_mode/protocols_rpki.py
@@ -81,7 +81,7 @@ def verify(rpki):
def generate(rpki):
if not rpki:
return
- rpki['new_frr_config'] = render_to_string('frr/rpki.frr.tmpl', rpki)
+ rpki['new_frr_config'] = render_to_string('frr/rpki.frr.j2', rpki)
return None
def apply(rpki):