netbox-agent/netbox_agent/raid/base.py

22 lines
447 B
Python
Raw Normal View History

2019-08-06 14:52:57 +02:00
class RaidController():
def get_product_name(self):
2019-08-20 17:27:31 +02:00
raise NotImplementedError
2019-08-06 14:52:57 +02:00
def get_serial_number(self):
2019-08-20 17:27:31 +02:00
raise NotImplementedError
2019-08-06 14:52:57 +02:00
def get_manufacturer(self):
2019-08-20 17:27:31 +02:00
raise NotImplementedError
2019-08-06 14:52:57 +02:00
def get_firmware_version(self):
2019-08-20 17:27:31 +02:00
raise NotImplementedError
2019-08-06 14:52:57 +02:00
2019-08-21 17:22:22 +02:00
def get_physical_disks(self):
raise NotImplementedError
2019-08-21 10:40:32 +02:00
2019-08-06 14:52:57 +02:00
class Raid():
def get_controllers(self):
2019-08-20 17:27:31 +02:00
raise NotImplementedError