summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_rip.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-24 17:45:19 +0100
committerGitHub <noreply@github.com>2021-03-24 17:45:19 +0100
commit90ecb7ec0e75596d5ec69b119954313c0cb77a43 (patch)
treee8b4e34ff687c1df08b1f06ac75de196026d5402 /src/conf_mode/protocols_rip.py
parent00d0ca6f8aafe5be55624ccd1462d855565b124f (diff)
parentc106aead9e297f973e91c3ea5371790040c05de3 (diff)
downloadvyos-1x-90ecb7ec0e75596d5ec69b119954313c0cb77a43.tar.gz
vyos-1x-90ecb7ec0e75596d5ec69b119954313c0cb77a43.zip
Merge pull request #784 from sever-sever/T3217
routing: T3217: Save configs of daemon per commit
Diffstat (limited to 'src/conf_mode/protocols_rip.py')
-rwxr-xr-xsrc/conf_mode/protocols_rip.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/protocols_rip.py b/src/conf_mode/protocols_rip.py
index 6db5143c5..34d42d630 100755
--- a/src/conf_mode/protocols_rip.py
+++ b/src/conf_mode/protocols_rip.py
@@ -116,6 +116,9 @@ def apply(rip):
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__':