Go to file
Jose M. Guisado 49a86bddd9 utils: add hw_inventory.py
hw_inventory.py defines classes and helpers functions enabling
fetching of hardware inventory from a running client.

Uses a subprocess call to the command 'lshw -json' to obtain hardware
information.

Relevant public functions:

> get_hardware_inventory()
	Main function encapsulating subprocess and output processing
	logic.
	Returns a HardwareInventory object.

> legacy_list_hardware_inventory(inventory)
	Legacy string representation of parameter HardwareInventory object
2023-04-18 12:02:29 +02:00
cfg src: improve logging 2022-06-08 10:27:06 +02:00
src utils: add hw_inventory.py 2023-04-18 12:02:29 +02:00
tests ogClient is AGPLv3+ 2021-05-14 00:19:28 +02:00
.gitignore Create new ogClient 2020-01-19 19:50:44 +01:00
COPYING Rename LICENSE to COPYING 2020-06-18 16:45:46 +02:00
ogclient src: improve logging 2022-06-08 10:27:06 +02:00
setup.py Rename 'linux' folder and operations to 'live' 2020-12-03 13:38:43 +01:00