summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_ospf.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-14 21:24:08 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-14 21:29:44 +0200
commitdf045eca2f6c7a9257de5d32723d9ccc799346e5 (patch)
treebabc4f0a9a6fe51bd0e9ee357a8618f02b08c20b /src/conf_mode/protocols_ospf.py
parentc944188a7e220141207687d04db74eb3a3961e7a (diff)
downloadvyos-1x-df045eca2f6c7a9257de5d32723d9ccc799346e5.tar.gz
vyos-1x-df045eca2f6c7a9257de5d32723d9ccc799346e5.zip
frr: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/protocols_ospf.py')
-rwxr-xr-xsrc/conf_mode/protocols_ospf.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conf_mode/protocols_ospf.py b/src/conf_mode/protocols_ospf.py
index 26d491838..5b4874ba2 100755
--- a/src/conf_mode/protocols_ospf.py
+++ b/src/conf_mode/protocols_ospf.py
@@ -160,7 +160,7 @@ def verify(ospf):
route_map_name = dict_search('default_information.originate.route_map', ospf)
if route_map_name: verify_route_map(route_map_name, ospf)
- # Validate if configured Access-list exists
+ # Validate if configured Access-list exists
if 'area' in ospf:
for area, area_config in ospf['area'].items():
if 'import_list' in area_config:
@@ -204,9 +204,9 @@ def generate(ospf):
if not ospf or 'deleted' in ospf:
return None
- ospf['protocol'] = 'ospf' # required for frr/vrf.route-map.frr.tmpl
- ospf['frr_zebra_config'] = render_to_string('frr/vrf.route-map.frr.tmpl', ospf)
- ospf['frr_ospfd_config'] = render_to_string('frr/ospfd.frr.tmpl', ospf)
+ ospf['protocol'] = 'ospf' # required for frr/vrf.route-map.frr.j2
+ ospf['frr_zebra_config'] = render_to_string('frr/vrf.route-map.frr.j2', ospf)
+ ospf['frr_ospfd_config'] = render_to_string('frr/ospfd.frr.j2', ospf)
return None
def apply(ospf):