mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
152f3531fe
Add "iommu_group/type" to the list of PCI device attributes that are discovered. The value is the raw value from sysfs (i.e DMA, DMA-FQ or identity). No built-in (automatic) labels are generated based on this, but, the attribute is available for custom label rules to use. Examples of custom rules: - name: "iommu enabled rule" labels: iommu.enabled: "true" matchFeatures: - feature: pci.device matchExpressions: "iommu_group/type": {op: NotIn, value: ["unknown"]} - name: "iommu passthrough rule" labels: iommu.passthrough: "true" matchFeatures: - feature: pci.device matchExpressions: "iommu_group/type": {op: In, value: ["identity"]} |
||
---|---|---|
.. | ||
cpu | ||
custom | ||
fake | ||
iommu | ||
kernel | ||
local | ||
memory | ||
network | ||
pci | ||
storage | ||
system | ||
usb | ||
config.go | ||
mock_LabelSource.go | ||
source.go | ||
source_test.go |