summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces_vxlan.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-25 08:09:40 +0200
committerGitHub <noreply@github.com>2024-07-25 08:09:40 +0200
commit714c43c43bad2aeca0e902d924664780c8e433f2 (patch)
tree6c2c7e00b6defb791aeaef1a224a333bd40e0591 /src/conf_mode/interfaces_vxlan.py
parent3147c580cf9b9d965b62b27b5eee5f3e91df07f8 (diff)
parent69fe18810b8f8b78cc6f6e320f419334e5665691 (diff)
downloadvyos-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_vxlan.py')
-rwxr-xr-xsrc/conf_mode/interfaces_vxlan.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces_vxlan.py b/src/conf_mode/interfaces_vxlan.py
index 39365968a..bc4918a52 100755
--- a/src/conf_mode/interfaces_vxlan.py
+++ b/src/conf_mode/interfaces_vxlan.py
@@ -28,6 +28,7 @@ from vyos.configverify import verify_mtu_ipv6
from vyos.configverify import verify_mirror_redirect
from vyos.configverify import verify_source_interface
from vyos.configverify import verify_bond_bridge_member
+from vyos.configverify import verify_vrf
from vyos.ifconfig import Interface
from vyos.ifconfig import VXLANIf
from vyos.template import is_ipv6
@@ -193,6 +194,7 @@ def verify(vxlan):
verify_mtu_ipv6(vxlan)
verify_address(vxlan)
+ verify_vrf(vxlan)
verify_bond_bridge_member(vxlan)
verify_mirror_redirect(vxlan)