From c106aead9e297f973e91c3ea5371790040c05de3 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Tue, 23 Mar 2021 18:11:29 +0000 Subject: routing: T3217: Save configs of daemon per commit --- src/conf_mode/protocols_bgp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/conf_mode/protocols_bgp.py') diff --git a/src/conf_mode/protocols_bgp.py b/src/conf_mode/protocols_bgp.py index d5cc169c2..2f60795c1 100755 --- a/src/conf_mode/protocols_bgp.py +++ b/src/conf_mode/protocols_bgp.py @@ -234,6 +234,9 @@ def apply(bgp): for a in range(5): frr_cfg.commit_configuration(frr_daemon) + # Save configuration to /run/frr/{daemon}.conf + frr.save_configuration(frr_daemon) + return None if __name__ == '__main__': -- cgit v1.2.3