diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-14 21:24:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-14 21:29:44 +0200 |
commit | df045eca2f6c7a9257de5d32723d9ccc799346e5 (patch) | |
tree | babc4f0a9a6fe51bd0e9ee357a8618f02b08c20b /src/conf_mode/protocols_bgp.py | |
parent | c944188a7e220141207687d04db74eb3a3961e7a (diff) | |
download | vyos-1x-df045eca2f6c7a9257de5d32723d9ccc799346e5.tar.gz vyos-1x-df045eca2f6c7a9257de5d32723d9ccc799346e5.zip |
frr: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/protocols_bgp.py')
-rwxr-xr-x | src/conf_mode/protocols_bgp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/protocols_bgp.py b/src/conf_mode/protocols_bgp.py index dace53d37..f6d5071c2 100755 --- a/src/conf_mode/protocols_bgp.py +++ b/src/conf_mode/protocols_bgp.py @@ -297,9 +297,9 @@ def generate(bgp): if not bgp or 'deleted' in bgp: return None - bgp['protocol'] = 'bgp' # required for frr/vrf.route-map.frr.tmpl - bgp['frr_zebra_config'] = render_to_string('frr/vrf.route-map.frr.tmpl', bgp) - bgp['frr_bgpd_config'] = render_to_string('frr/bgpd.frr.tmpl', bgp) + bgp['protocol'] = 'bgp' # required for frr/vrf.route-map.frr.j2 + bgp['frr_zebra_config'] = render_to_string('frr/vrf.route-map.frr.j2', bgp) + bgp['frr_bgpd_config'] = render_to_string('frr/bgpd.frr.j2', bgp) return None |