summaryrefslogtreecommitdiff
path: root/src/migration-scripts/ssh
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-01-03 20:52:09 +0100
committerChristian Breunig <christian@breunig.cc>2026-01-04 08:19:00 +0100
commita5995051bc271907df66618dfb6d7afe62bab551 (patch)
tree8f92f7688206f6c2cb0d183949625eff72b5d00f /src/migration-scripts/ssh
parent76830afc8703a3f9f6be7500cb92aa9b6e255425 (diff)
downloadvyos-1x-a5995051bc271907df66618dfb6d7afe62bab551.tar.gz
vyos-1x-a5995051bc271907df66618dfb6d7afe62bab551.zip
ethernet: T8142: do not raise ValueError for non-existing interfaces
Call verify_interface_exists() with state_required=True to ensure the interface exists physically and is recognized by the kernel, rather than relying on its presence in the CLI configuration. Unlike bridge or bond interfaces, Ethernet interfaces are not virtual and must be physically present. Ethtool() instance can only be created when the physical interface exists, otherwise a ValueError is raised.
Diffstat (limited to 'src/migration-scripts/ssh')
0 files changed, 0 insertions, 0 deletions