parse lldp only if configuration says so
This commit is contained in:
parent
9aa19e1ea1
commit
c452738698
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class Network():
|
|||
|
||||
self.server = server
|
||||
self.device = self.server.get_netbox_server()
|
||||
self.lldp = LLDP()
|
||||
self.lldp = LLDP() if config.network.lldp else None
|
||||
self.scan()
|
||||
|
||||
def scan(self):
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue