mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
b0fedab786
Add new config option for specifying the device label, i.e. the <device-label> part in node.alpha.kubernetes-incubator.io/nfd-pci-<device label>.present The option is a list of field names: "class" PCI device class "vendor" Vendor ID "device" Device ID "subsystem_vendor" Subsystem vendor ID "subsystem_device" Subsystem device ID E.g. the following command line flag can be used to use all of the above: --options='{"sources": {"pci": {"deviceLabelFields": ["class", "vendor", "device", "subsystem_vendor", "subsystem_device"] } } }'
12 lines
222 B
Text
12 lines
222 B
Text
#sources:
|
|
# pci:
|
|
# deviceClassWhitelist:
|
|
# - "0200"
|
|
# - "03"
|
|
# - "12"
|
|
# deviceLabelFields:
|
|
# - "class"
|
|
# - "vendor"
|
|
# - "device"
|
|
# - "subsystem_vendor"
|
|
# - "subsystem_device"
|