test-network: also set custom altternative name for netdevsim interface
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 20 May 2024 00:53:26 +0000 (09:53 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 20 May 2024 09:33:47 +0000 (18:33 +0900)
commitf1f1be71feacb3b5d2fb89e2f6421c23b9320fbd
treec89b82c76007e66d73c2c6dedcac9a0def122818
parent12e0d6ed38a2f8de0a202d2cdbdbda52a866340d
test-network: also set custom altternative name for netdevsim interface

Due to the bug in kernel 6.9 caused by
https://github.com/torvalds/linux/commit/8debcf5832c3e8a6baaea27c75ad8a6ba5077beb,
the net_id udev builtin does not work for netdevsim interface.
So, eni99np1 cannot be used with kernel 6.9 anymore.

Workaround for #32910.
test/test-network/conf/25-netdevsim.link [new file with mode: 0644]
test/test-network/conf/25-sriov-udev.network
test/test-network/conf/25-sriov.link
test/test-network/conf/25-sriov.network
test/test-network/systemd-networkd-tests.py