Fix QCT vendor class (#48)
This commit is contained in:
parent
5b7e349aa3
commit
136a356cec
1 changed files with 4 additions and 0 deletions
4
netbox_agent/vendors/qct.py
vendored
4
netbox_agent/vendors/qct.py
vendored
|
@ -2,6 +2,10 @@ from netbox_agent.server import ServerBase
|
|||
|
||||
|
||||
class QCTHost(ServerBase):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(QCTHost, self).__init__(*args, **kwargs)
|
||||
self.manufacturer = 'QCT'
|
||||
|
||||
def is_blade(self):
|
||||
return 'Location In Chassis' in self.dmi.get_by_type('Baseboard')[0].keys()
|
||||
|
||||
|
|
Loading…
Reference in a new issue