diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-07-25 12:47:04 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-08-04 20:36:28 +0200 |
| commit | 6d35f067d6da0a0ce270b9eb883469e0559c7c0e (patch) | |
| tree | 7b47c082bc5bdcdeb8d5d7da2ddde4612e86371c /scripts/cli/test_interfaces_wireless.py | |
| parent | dcea6663811aa505bb0cf83f42bffa73408cb234 (diff) | |
| download | vyos-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_wireless.py')
0 files changed, 0 insertions, 0 deletions
