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

Verify status changes on managed interfaces #530

Merged
merged 4 commits into from
Apr 24, 2024

Commits on Apr 24, 2024

  1. Remove LastState parameter of GenericPlugin

    The generic plugin was applying config changes only if
    the desired spec of interfaces was different from the last
    applied spec. This logic is different from the one in
    OnNodeStateChange where the real status of the interfaces is
    used to detect changes.
    
    By removing the LastState parameter (and related code), the
    generic plugin will also use the real status of interfaces
    to decide whether to apply changes or not. The SyncNodeState
    function has this logic.
    mlguerrero12 committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    707a757 View commit details
    Browse the repository at this point in the history
  2. Verify status changes on managed interfaces

    Users could modify the settings of VFs which have been
    configured by the sriov operator. This PR starts the
    reconciliation loop when these changes are detected in the
    generic plugin.
    
    Signed-off-by: Marcelo Guerrero <[email protected]>
    mlguerrero12 committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    82af069 View commit details
    Browse the repository at this point in the history
  3. Abstract logic to check and load missing KArgs

    Logic to check missing kernel arguments is placed in a method
    to be used by both OnNodeStateChange and CheckStatusChanges.
    mlguerrero12 committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    21d919c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0d1a11a View commit details
    Browse the repository at this point in the history