From 3a0e586544fbe729f030d1950ea3ebebc454aa87 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 9 Sep 2021 17:14:05 +0200 Subject: policy: T3812: FRR bgpd also knows about route-maps because of rpki In order to alter rpki configuration we must also process the route-map nodes with/for bgpd. --- src/conf_mode/policy.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/conf_mode/policy.py') diff --git a/src/conf_mode/policy.py b/src/conf_mode/policy.py index d56bae9e9..1a03d520b 100755 --- a/src/conf_mode/policy.py +++ b/src/conf_mode/policy.py @@ -190,6 +190,7 @@ def apply(policy): frr_cfg.modify_section(r'^bgp community-list .*') frr_cfg.modify_section(r'^bgp extcommunity-list .*') frr_cfg.modify_section(r'^bgp large-community-list .*') + frr_cfg.modify_section(r'^route-map .*') frr_cfg.add_before('^line vty', policy['new_frr_config']) frr_cfg.commit_configuration(bgp_daemon) -- cgit v1.2.3