summaryrefslogtreecommitdiffstats
path: root/src/live/ogOperations.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-04-17 12:53:49 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-04-18 12:02:29 +0200
commit49a86bddd9cee5941bdcafd304a00ad127368ed2 (patch)
tree59c39dc33bae98474b5ed8b1f79f0415d21ab761 /src/live/ogOperations.py
parent4c0904d8da3daf9dc1fc688e09ba4a21153d2ac9 (diff)
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
Diffstat (limited to 'src/live/ogOperations.py')
0 files changed, 0 insertions, 0 deletions