plugins/plugins
adrianc ba5bdafe5d
Use temporary name for netdevice when moving in/out of NS
Today, it is not possible to use host-device CNI to move a
host device to container namespace if a device already exists
in that namespace.

e.g when a delegate plugin (such as multus) is used to provide
multiple networks to a container, CNI Add call will fail if
the targeted host device name already exists in container network
namespace.

to overcome this, we use a temporary name for the interface before
moving it in/out of container network namespace.

Signed-off-by: adrianc <adrianc@nvidia.com>
2024-03-12 12:25:23 +02:00
..
ipam Create IPAM files with 0600 permissions 2023-10-02 11:59:31 +02:00
main Use temporary name for netdevice when moving in/out of NS 2024-03-12 12:25:23 +02:00
meta Rename unused variables to resolve lint warnings 2024-03-11 17:52:02 +01:00
sample Fix revive linter errors 2023-03-24 21:04:39 +01:00
linux_only.txt dummy: Create a Dummy CNI plugin that creates a virtual interface. 2022-08-11 13:50:37 +01:00
windows_only.txt plugins: remove flannel 2021-06-02 17:38:32 +02:00