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

Return previous IP allocation for add cmd #471

Merged
merged 6 commits into from
Jun 11, 2024

Commits on May 23, 2024

  1. Add idea folder to gitignore

    Signed-off-by: Marcelo Guerrero <[email protected]>
    mlguerrero12 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    91e4ae4 View commit details
    Browse the repository at this point in the history
  2. Make podref required in API

    Signed-off-by: Marcelo Guerrero <[email protected]>
    mlguerrero12 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    c06227d View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Add Interface property in the API

    This is needed in order to uniquely identify allocations
    for pods with multiple interfaces. These allocations have
    the same podRef.
    
    Signed-off-by: Marcelo Guerrero <[email protected]>
    mlguerrero12 committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    420dc52 View commit details
    Browse the repository at this point in the history
  2. Add ifName on operations

    Support the new Interface property on IP and cluster wide
    allocations.
    
    Signed-off-by: Marcelo Guerrero <[email protected]>
    mlguerrero12 committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    22c22de View commit details
    Browse the repository at this point in the history
  3. Add allocation checks for single pod e2e tests

    This allows to validate the lifecycle of allocations for
    single and multiple interfaces pods.
    
    Signed-off-by: Marcelo Guerrero <[email protected]>
    mlguerrero12 committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    3aeb822 View commit details
    Browse the repository at this point in the history
  4. Return previous allocation for add cmd

    This allows the cni to return a previous allocation
    for a pod with the same podRef and interface name. This
    is needed on networks with limited IPs.
    
    Signed-off-by: Marcelo Guerrero <[email protected]>
    mlguerrero12 committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    b3a0025 View commit details
    Browse the repository at this point in the history