more update cpu..
This commit is contained in:
parent
c573f0ee2c
commit
78a912a735
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ class Inventory():
|
||||||
logging.info('Creating CPU model {}'.format(cpu['product']))
|
logging.info('Creating CPU model {}'.format(cpu['product']))
|
||||||
|
|
||||||
def update_netbox_cpus(self):
|
def update_netbox_cpus(self):
|
||||||
cpus = self.get_hw_linux(cpu))
|
cpus = self.get_hw_linux(cpu)
|
||||||
nb_cpus = nb.dcim.inventory_items.filter(
|
nb_cpus = nb.dcim.inventory_items.filter(
|
||||||
device_id=self.device_id,
|
device_id=self.device_id,
|
||||||
tag=INVENTORY_TAG['cpu']['slug'],
|
tag=INVENTORY_TAG['cpu']['slug'],
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue