mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-14 01:41:25 -06:00
cleanup
This commit is contained in:
parent
c7d3dab27c
commit
1157ed9e64
@ -166,10 +166,6 @@ class PhysicalDevice():
|
||||
return [self.config_context["zabbix"]["templates"]]
|
||||
return self.config_context["zabbix"]["templates"]
|
||||
|
||||
# def set_inventory(self, nbdevice):
|
||||
# """ Set inventory """
|
||||
# Inventory.set_inventory(self, nbdevice)
|
||||
|
||||
def set_inventory(self, nbdevice):
|
||||
""" Set host inventory """
|
||||
# Set inventory mode. Default is disabled (see class init function).
|
||||
|
@ -42,10 +42,6 @@ class VirtualMachine(PhysicalDevice):
|
||||
# Generate hostgroup based on hostgroup format
|
||||
self.hostgroup = hg.generate(hg_format)
|
||||
|
||||
# def set_inventory(self, nbvm):
|
||||
# """ Set inventory """
|
||||
# Inventory.set_inventory(self, nbvm)
|
||||
|
||||
def set_vm_template(self):
|
||||
""" Set Template for VMs. Overwrites default class
|
||||
to skip a lookup of custom fields."""
|
||||
|
Loading…
Reference in New Issue
Block a user