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

Add HostDeviceNetwork basic support #126

Merged
merged 1 commit into from
Mar 29, 2021
Merged

Commits on Mar 27, 2021

  1. Add HostDeviceNetwork basic support

    This patch adds HostDeviceNetwork CRD support and basic
    transformation to NetworkAttachmentDefinition to allow
    Multus create secondary network.
    
    SR-IOV Network Device Plugin is deployed using Network Operator
    Helm chart with default configuration.
    
    This patch also optimize NetworkAttachmentDef link generation
    both for MacvlanNetwork and HostDeviceNetwork CRs.
    
    We should add link for NetworkAttachmentDef only if
    MacvlanNetwork or HostDeviceNetwork CR is in a 'Ready' state.
    It allows us to make less Kubernetes API calls.
    
    NOTE: temporary added "//nolint:dupl" before code will be
    refactored.
    
    Closes: Mellanox#44
    
    Signed-off-by: Ivan Kolodiazhnyi <ikolodiazhny@nvidia.com>
    e0ne committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    67ac036 View commit details
    Browse the repository at this point in the history