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

api: add support for NRI-native CDI injection #98

Merged
merged 7 commits into from
Aug 13, 2024

Commits on Aug 12, 2024

  1. api: add support for native CDI device injection.

    Add support for native CDI injection. With this in place, a
    plugin can now directly request injection of CDI devices by
    device name. This is much simpler than first performing CDI
    device resolution and injection, followed by a set of low-
    level NRI adjustments for devices, mounts, env. vars. and
    OCI hooks to effectively do the same.
    
    Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
    klihub committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    f1aa58f View commit details
    Browse the repository at this point in the history
  2. adaptation: add support for native CDI injection.

    Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
    klihub committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    01f3b7a View commit details
    Browse the repository at this point in the history
  3. adaptation: add CDI device injection unit test.

    Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
    klihub committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    65282fe View commit details
    Browse the repository at this point in the history
  4. runtime-tools/generate: add support CDI injection.

    Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
    klihub committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    44773bd View commit details
    Browse the repository at this point in the history
  5. device-injector: add support for CDI injection.

    Add support for injecting annotated CDI devices using the
    new native NRI CDI injection API.
    
    Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
    klihub committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    4bd8da8 View commit details
    Browse the repository at this point in the history
  6. pkg/adaptation: fix grammatical mistakes in comments.

    Co-authored-by: Mike Brown <brownwm@us.ibm.com>
    Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
    klihub and mikebrow committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    4eb7075 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. device-injector: clarify precedence of annotations.

    Clarify order of preference for the possible annotations.
    
    Co-authored-by: Mike Brown <brownwm@us.ibm.com>
    Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
    klihub and mikebrow authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    8783973 View commit details
    Browse the repository at this point in the history