diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-25 08:09:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 08:09:40 +0200 |
commit | 714c43c43bad2aeca0e902d924664780c8e433f2 (patch) | |
tree | 6c2c7e00b6defb791aeaef1a224a333bd40e0591 /src/conf_mode/interfaces_vti.py | |
parent | 3147c580cf9b9d965b62b27b5eee5f3e91df07f8 (diff) | |
parent | 69fe18810b8f8b78cc6f6e320f419334e5665691 (diff) | |
download | vyos-1x-714c43c43bad2aeca0e902d924664780c8e433f2.tar.gz vyos-1x-714c43c43bad2aeca0e902d924664780c8e433f2.zip |
Merge pull request #3869 from vyos/mergify/bp/sagitta/pr-3856
vrf: T6602: verify supplied VRF name on all interface types (backport #3856)
Diffstat (limited to 'src/conf_mode/interfaces_vti.py')
-rwxr-xr-x | src/conf_mode/interfaces_vti.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces_vti.py b/src/conf_mode/interfaces_vti.py index e6a833df7..20629c6c1 100755 --- a/src/conf_mode/interfaces_vti.py +++ b/src/conf_mode/interfaces_vti.py @@ -19,6 +19,7 @@ from sys import exit from vyos.config import Config from vyos.configdict import get_interface_dict from vyos.configverify import verify_mirror_redirect +from vyos.configverify import verify_vrf from vyos.ifconfig import VTIIf from vyos import ConfigError from vyos import airbag @@ -38,6 +39,7 @@ def get_config(config=None): return vti def verify(vti): + verify_vrf(vti) verify_mirror_redirect(vti) return None |