netbox-agent/netbox_agent
Christophe Simon 2f09cf8d42 Manage blade expansions as independent devices
This patch adds the ability to detect and manage GPU and Disk expansion
bays, and either add their internal components into the device
corresponding to the blade server, or into a dedicated device.

It takes advantage of the work made by @cyrinux on GPU bays management, and
applies the same principle to the external disk bays, but harmonize the
inventory management:

- If no argument is specified on the command line, the GPU cards, RAID
  controllers and their attached disks are added in the blade device,
  and the device corresponding to an expansion device is deleted.
- If the `--expansion-as-device` option is specified on the command
  line, a dedicated device corresponding to the expansion bay is
  created, and the GPUs, RAID card and attached disks are removed from
  the blade device and added to the expansion device.
2022-02-14 14:37:02 +01:00
..
drivers should have used git mv 2019-08-05 12:03:06 +02:00
raid Manage blade expansions as independent devices 2022-02-14 14:37:02 +01:00
vendors Manage blade expansions as independent devices 2022-02-14 14:37:02 +01:00
__init__.py Project cleanup (#6) 2019-08-04 00:00:22 +02:00
cli.py Virtual Machine feature (#122) 2020-04-19 12:28:49 +02:00
config.py Manage blade expansions as independent devices 2022-02-14 14:37:02 +01:00
dmidecode.py Setup tests 2020-02-02 20:24:01 +01:00
ethtool.py fix ethtool class in case ethtool works but returns nothing (#123) 2020-04-19 12:19:28 +02:00
inventory.py Manage blade expansions as independent devices 2022-02-14 14:37:02 +01:00
ipmi.py Virtual Machine feature (#122) 2020-04-19 12:28:49 +02:00
lldp.py Make flake8 and isort happy 2021-07-09 11:10:43 +02:00
location.py Add tags,device roles,tenants.. (#110) 2020-07-01 18:54:58 +02:00
logging.py Virtual Machine feature (#122) 2020-04-19 12:28:49 +02:00
lshw.py NVME inventory fix. 2021-07-09 11:00:41 +02:00
misc.py Add tags,device roles,tenants.. (#110) 2020-07-01 18:54:58 +02:00
network.py add 25G compatibility (#185) 2021-05-12 15:50:16 +02:00
power.py fix allocated_draw for inactive PSU (#168) 2020-09-07 14:20:32 +02:00
server.py Manage blade expansions as independent devices 2022-02-14 14:37:02 +01:00
virtualmachine.py fix not passing tenant when tenants exist in Netbox 2020-07-11 15:33:34 +02:00