Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use temporary name for netdevice when moving in/out of NS #1002

Merged
merged 1 commit into from
Mar 12, 2024

Commits on Mar 12, 2024

  1. 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 <[email protected]>
    adrianchiris committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    ba5bdaf View commit details
    Browse the repository at this point in the history