Generic Device Plugin configuration reference
This section provides a detailed reference for the configuration parameters available for the Generic Device Plugin within the MicroShift config.yaml file.
| Parameter | Description |
|---|---|
|
The |
|
Is a subgroup that lists the device definitions to be exposed by the plugin. Each |
|
Lists device groups. Devices within a group comprise a pool of devices under a common name. When you request a device from that pool, you can receive a device from different defined paths. |
|
Specifies how many times this group of devices can be mounted concurrently. If unspecified, |
|
Lists the host device file paths. Paths can be glob patterns, for example, |
|
Specifies up to how many times this device can be used in the group concurrently when other devices in the group yield more matches. For example, if one path in the group matches 5 devices and another matches 1 device but has a limit of 10, then the group provides 5 pairs of devices. When unspecified, the limit defaults to |
|
The file path at which the host device should be mounted within the container. When unspecified, |
|
The file path of a device on the host, for example, |
|
The file-system permissions given to the mounted device. Applies only to mounts of type * * * When unspecified, |
|
Specifies whether the path should be mounted read-only. The values are |
|
Describes what type of file-system node this |
|
Lists the USB specifications that this device group consists of. The vendor and product IDs must always match. The serial ID must match if provided, or skipped if the ID is empty, The |
|
The USB Product ID of the device to match on, for example, |
|
The serial number of the device to match on. A USB device must match exactly on all the given attributes to pass. |
|
The USB Vendor ID of the device to match on, for example, |
|
A unique string representing the kind of device this specification describes, for example, |
|
|
|
|