Skip to content

redhat-cip/hardware

Folders and files

NameName
Last commit message
Last commit date
Nov 21, 2024
Dec 16, 2019
Nov 19, 2024
Feb 13, 2019
Feb 13, 2019
Nov 30, 2014
Nov 30, 2014
Feb 13, 2019
Jul 8, 2018
Nov 30, 2014
Nov 30, 2014
Nov 30, 2014
Mar 9, 2021
Nov 30, 2014
Oct 26, 2021
Nov 19, 2024
Sep 18, 2020
Nov 7, 2023
Nov 19, 2024

Repository files navigation

hardware

Latest hardware release on the Python Cheeseshop (PyPI)

Hardware detection and classification utilities

Homepage: https://github.com/redhat-cip/hardware

Features

  • detect hardware features of a Linux systems:
    • RAID
    • hard drives
    • IPMI
    • network cards
    • DMI infos
    • memory settings
    • processor features
  • filter hardware according to hardware profiles

Install

Installing from pypi:

pip install -U hardware

Usage

Run the hardware-detect program:

hardware-detect --human

Runtime dependencies

The hardware detection is divided in modules that detects a specific hardware type. Each module have its own dependencies.

Therefore, we cannot enforce installing all the dependencies as some are not relevant regarding a particular hardware type. To avoid a situation where we cannot use/install hardware because of one of those deps, we do prefer let users installing the one they need.

The hardware detection code will ignore all the missing deps and continue, so not installing a deps is not fatal.

Please find bellow the list of dependencies per module:

Areca

Logical disks

  • hdparm
  • smartmontools

Networking

System

Raid controllers