This commit is contained in:
Solvik Blum 2019-08-05 12:02:42 +02:00
parent 8e40495eb7
commit cd97fe4d3a
No known key found for this signature in database
GPG key ID: CC12B3DC262B6C47

View file

@ -148,6 +148,14 @@ class ServerBase():
self.network.update_netbox_network_cards()
def netbox_update(self):
server = nb.dcim.devices.get(serial=self.get_service_tag())
if self.is_blade():
# check if the slot/chassis is the same
# for every other specs
# check hostname
# check network cards
def print_debug(self):
# FIXME: do something more generic by looping on every get_* methods
print('Datacenter:', self.get_datacenter())