summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_ospf.py
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-03-23 18:11:29 +0000
committersever-sever <v.gletenko@vyos.io>2021-03-23 18:36:15 +0000
commitc106aead9e297f973e91c3ea5371790040c05de3 (patch)
treec569bad27ffa320107c745f5000aacf3a8ebef53 /src/conf_mode/protocols_ospf.py
parentfa62d104dc7a860d3a2237b4431e5c5fc6ad7457 (diff)
downloadvyos-1x-c106aead9e297f973e91c3ea5371790040c05de3.tar.gz
vyos-1x-c106aead9e297f973e91c3ea5371790040c05de3.zip
routing: T3217: Save configs of daemon per commit
Diffstat (limited to 'src/conf_mode/protocols_ospf.py')
-rwxr-xr-xsrc/conf_mode/protocols_ospf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/protocols_ospf.py b/src/conf_mode/protocols_ospf.py
index a655eaeca..b4ee8659a 100755
--- a/src/conf_mode/protocols_ospf.py
+++ b/src/conf_mode/protocols_ospf.py
@@ -200,6 +200,9 @@ def apply(ospf):
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__':