summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_ip.py
diff options
context:
space:
mode:
authoraapostoliuk <108394744+aapostoliuk@users.noreply.github.com>2025-05-29 15:35:09 +0300
committerGitHub <noreply@github.com>2025-05-29 14:35:09 +0200
commita439be2447f5f7e8be19c6f5b86f8dcc3d056385 (patch)
tree6b1172c4e2b313eb9d9e2e709e3b5f3dcf0c0ed8 /src/conf_mode/system_ip.py
parent3e5eb3a4bd3935a7473b84558691f77793045021 (diff)
downloadvyos-1x-a439be2447f5f7e8be19c6f5b86f8dcc3d056385.tar.gz
vyos-1x-a439be2447f5f7e8be19c6f5b86f8dcc3d056385.zip
zebra: T7349: Added importing routes from non to the kernel routing table
* zebra: T7349: Added importing routes from non to the kernel routing table Added importing routes from non to the kernel routing table. --------- Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'src/conf_mode/system_ip.py')
-rwxr-xr-xsrc/conf_mode/system_ip.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf_mode/system_ip.py b/src/conf_mode/system_ip.py
index 7f3796168..7f8b00ceb 100755
--- a/src/conf_mode/system_ip.py
+++ b/src/conf_mode/system_ip.py
@@ -53,6 +53,11 @@ def verify(config_dict):
for protocol, protocol_options in opt['protocol'].items():
if 'route_map' in protocol_options:
verify_route_map(protocol_options['route_map'], opt)
+
+ if dict_search('import_table', opt):
+ for table_num, import_config in opt['import_table'].items():
+ if dict_search('route_map', import_config):
+ verify_route_map(import_config['route_map'], opt)
return
def generate(config_dict):