USB device discovery
The idea is to retreive USB devices informations via 'lshw' and return the list to ironic in order to be able to create introspection rules based on USB devices. Change-Id: I39d60cb467614fca7a7f701dbe576154213580a5
This commit is contained in:
7 changed files with 88 additions and 0 deletions
@@ -152,6 +152,12 @@ collectors are:
* ``lldp_raw`` - mapping of interface names to lists of raw
type-length-value (TLV) records.
``usb-devices``
Collects USB devices information. Adds one key:
* ``usb_devices`` - list of objects with keys ``product``, ``vendor`` and
``handle``
.. _hardware: https://pypi.org/project/hardware/
.. _NUMA: https://en.wikipedia.org/wiki/Non-uniform_memory_access
.. _LLDP: https://en.wikipedia.org/wiki/Link_Layer_Discovery_Protocol
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.