Fix travis
This commit is contained in:
parent
feab0f1a58
commit
3791b37dc5
1 changed files with 10 additions and 12 deletions
28
netbox_agent/vendors/supermicro.py
vendored
28
netbox_agent/vendors/supermicro.py
vendored
|
|
@ -1,23 +1,21 @@
|
||||||
|
|
||||||
from netbox_agent.location import Slot
|
from netbox_agent.location import Slot
|
||||||
from netbox_agent.server import ServerBase
|
from netbox_agent.server import ServerBase
|
||||||
|
|
||||||
|
|
||||||
"""
|
|
||||||
Supermicro DMI can be messed up. They depend on the vendor
|
|
||||||
to set the correct values. The endusers cannot
|
|
||||||
change them without buying a license from Supermicro.
|
|
||||||
|
|
||||||
There are 3 serial numbers in the system
|
|
||||||
|
|
||||||
1) System - this is used for the chassis information.
|
|
||||||
2) Baseboard - this is used for the blade.
|
|
||||||
3) Chassis - this is ignored.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
class SupermicroHost(ServerBase):
|
class SupermicroHost(ServerBase):
|
||||||
|
"""
|
||||||
|
Supermicro DMI can be messed up. They depend on the vendor
|
||||||
|
to set the correct values. The endusers cannot
|
||||||
|
change them without buying a license from Supermicro.
|
||||||
|
|
||||||
|
There are 3 serial numbers in the system
|
||||||
|
|
||||||
|
1) System - this is used for the chassis information.
|
||||||
|
2) Baseboard - this is used for the blade.
|
||||||
|
3) Chassis - this is ignored.
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(SupermicroHost, self).__init__(*args, **kwargs)
|
super(SupermicroHost, self).__init__(*args, **kwargs)
|
||||||
self.manufacturer = 'Supermicro'
|
self.manufacturer = 'Supermicro'
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue