diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-24 15:38:38 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-24 15:38:38 +0100 |
commit | 9b6b9f6cdfa7b911b79a312c4bdca0562f79b6f9 (patch) | |
tree | 6f932f0aaca50c144a9ea4c03799e5e5c20c61e2 /src/conf_mode/protocols_ospf.py | |
parent | 5ab6882f88036722f533f37331d9e5b63631f4b2 (diff) | |
download | vyos-1x-9b6b9f6cdfa7b911b79a312c4bdca0562f79b6f9.tar.gz vyos-1x-9b6b9f6cdfa7b911b79a312c4bdca0562f79b6f9.zip |
ospf(v3): T3236: T3244: add verify() for used route-map existence
Diffstat (limited to 'src/conf_mode/protocols_ospf.py')
-rwxr-xr-x | src/conf_mode/protocols_ospf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/protocols_ospf.py b/src/conf_mode/protocols_ospf.py index f43929b46..9842d26cd 100755 --- a/src/conf_mode/protocols_ospf.py +++ b/src/conf_mode/protocols_ospf.py @@ -20,6 +20,7 @@ from sys import exit from vyos.config import Config from vyos.configdict import dict_merge +from vyos.configverify import verify_route_maps from vyos.template import render from vyos.template import render_to_string from vyos.util import call @@ -99,6 +100,7 @@ def verify(ospf): if not ospf: return None + verify_route_maps(ospf) return None def generate(ospf): |