-
Notifications
You must be signed in to change notification settings - Fork 42
Extend spec to allow for "meta" devices. #71
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
Comments
cc @klueska |
Would supporting regexps, wildcards or predefined keywords in the device names be easier to do, e.g. nvidia.com/device=* or nvidia.com/device=all, or nvidia.com/device=gpu* ? |
We had that in the original updated API but it was then removed. I see a few options here but since I'm not familiar with the :
All of these have their pros and cons, including
@kad @bart0sh It's a bit difficult to guesstimate for the rest of us which of these would be sufficiently good or the best fit for the nvidia cases. |
This issue is stale because it has been open 90 days with no activity. This issue will be closed in 30 days unless new comments are made or the stale label is removed. |
This issue was automatically closed due to inactivity. |
One of the use cases originally proposed for CDI was use of meta devices such as
"all"
. Since these are generally vendor-specific supporting these in the API is not feasible. The proposal is to add arequires
field to the device specification to allow for devices to be grouped. (See the example spec below).The API would have to be extended to:
requires
list in addition to to the container edits specifiedOpen questions:
requires
be a fully-qualified name?requires
list is a device explicitly?The text was updated successfully, but these errors were encountered: