Assert VXLAN local/remote is the same address family. Assert VXLAN VNI is unique.

This commit is contained in:
Pim van Pelt
2022-03-15 22:57:09 +00:00
parent 1e5b1e49ad
commit 252fa989b2
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,16 @@
test:
description: "A VXLAN source and destination must be the same address family"
errors:
expected:
- "vxlan_tunnel .* local and remote are not the same address family"
count: 1
---
vxlan_tunnels:
vxlan_tunnel0:
local: 192.0.2.1
remote: 2001:db8::1
vni: 100
interfaces:
vxlan_tunnel0:
description: "My little tunnel"