diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-29 11:46:48 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-29 11:46:48 +0100 |
commit | 323c0c3b8c109394ec8caf3f105633b0691fdef7 (patch) | |
tree | ea6d008d18ac6f181f6dce898e26e6e0a3a55fb8 /src/conf_mode/protocols_rpki.py | |
parent | 63aab70e5743f08834cdd65a6ca74c4adba5e6c3 (diff) | |
download | vyos-1x-323c0c3b8c109394ec8caf3f105633b0691fdef7.tar.gz vyos-1x-323c0c3b8c109394ec8caf3f105633b0691fdef7.zip |
rpki: T3266: support deleting entire section from FRR config
Diffstat (limited to 'src/conf_mode/protocols_rpki.py')
-rwxr-xr-x | src/conf_mode/protocols_rpki.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/conf_mode/protocols_rpki.py b/src/conf_mode/protocols_rpki.py index a12e4f317..aa6f974ab 100755 --- a/src/conf_mode/protocols_rpki.py +++ b/src/conf_mode/protocols_rpki.py @@ -91,10 +91,6 @@ def verify(rpki): return None def generate(rpki): - if not rpki: - rpki['new_frr_config'] = '' - return None - # render(config) not needed, its only for debug render(config_file, 'frr/rpki.frr.tmpl', rpki) rpki['new_frr_config'] = render_to_string('frr/rpki.frr.tmpl', rpki) |