summaryrefslogtreecommitdiff
path: root/scripts/cli/test_interfaces_vxlan.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-07-25 12:47:04 +0200
committerChristian Breunig <christian@breunig.cc>2026-08-04 20:36:28 +0200
commit6d35f067d6da0a0ce270b9eb883469e0559c7c0e (patch)
tree7b47c082bc5bdcdeb8d5d7da2ddde4612e86371c /scripts/cli/test_interfaces_vxlan.py
parentdcea6663811aa505bb0cf83f42bffa73408cb234 (diff)
downloadvyos-1x-6d35f067d6da0a0ce270b9eb883469e0559c7c0e.tar.gz
vyos-1x-6d35f067d6da0a0ce270b9eb883469e0559c7c0e.zip
container: T7736: give container veths a deterministic host_interface_name
Podman's default "vethN" auto-naming for a container's host-side veth can collide with VyOS's own "virtual-ethernet vethN" interfaces. Bump the minimum Podman dependency to 5.8 (which supports "host_interface_name" network connect option) and use it to name every non-macvlan container network attachment "veth-<container name>" instead, eliminating the collision by construction. Container names too long to fit are shortened to a recognizable prefix plus a short hash of the full name; verify() rejects the rare case where two containers still generate the same interface name. Add "show container interface" to display the resulting name-to-container mapping.
Diffstat (limited to 'scripts/cli/test_interfaces_vxlan.py')
0 files changed, 0 insertions, 0 deletions