netbox-agent/netbox_agent
Christophe Simon ad951b9288 Fixed HP raid parser when disks are in JBOD
The function parsing the RAID logical volumes in the HP module did not
manage the case where disks were set in JBOD mode, thus having no RAID
array set.

This patch fixes this by checking if arrays are defined on pdisks before
parsing the logical disks.

Also added returncode read when executing the RAID related commands to
raise a more precise error.
2022-03-11 15:55:07 +01:00
..
drivers should have used git mv 2019-08-05 12:03:06 +02:00
raid Fixed HP raid parser when disks are in JBOD 2022-03-11 15:55:07 +01:00
vendors Added disks extended attributes 2022-03-02 15:53:38 +01:00
__init__.py Project cleanup (#6) 2019-08-04 00:00:22 +02:00
cli.py Various changes 2022-02-22 14:51:58 +01:00
config.py Added disks extended attributes 2022-03-02 15:53:38 +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 Added disks extended attributes 2022-03-02 15:53:38 +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 Unnamed network interfaces. 2022-03-07 17:18:35 +01:00
misc.py Added disks extended attributes 2022-03-02 15:53:38 +01:00
network.py Fixed virtual network cards creation 2022-03-08 17:27:06 +01:00
power.py Added disks extended attributes 2022-03-02 15:53:38 +01:00
server.py Added disks extended attributes 2022-03-02 15:53:38 +01:00
virtualmachine.py fix not passing tenant when tenants exist in Netbox 2020-07-11 15:33:34 +02:00