diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-27 10:32:01 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-27 10:32:01 +0100 |
commit | ea3c7785d06ed341487efb800c141fa7a7797ba7 (patch) | |
tree | 059a597089379c38de08d724ec2094015e4e8ee7 /python | |
parent | 1c15e9de76f81383a32e60d2af54444dbb0474a1 (diff) | |
download | vyos-1x-ea3c7785d06ed341487efb800c141fa7a7797ba7.tar.gz vyos-1x-ea3c7785d06ed341487efb800c141fa7a7797ba7.zip |
frr: T3753: add default_add_before mnemonic for routing protocols to re-use code
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/frr.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/frr.py b/python/vyos/frr.py index 616e4b3c9..2e515a9e4 100644 --- a/python/vyos/frr.py +++ b/python/vyos/frr.py @@ -91,6 +91,7 @@ path_vtysh = '/usr/bin/vtysh' path_frr_reload = '/usr/lib/frr/frr-reload.py' path_config = '/run/frr' +default_add_before = r'(ip prefix-list .*|route-map .*|line vty|end)' class FrrError(Exception): pass |