parse lldp only if configuration says so #63
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Network():
|
||||||
|
|
||||||
self.server = server
|
self.server = server
|
||||||
self.device = self.server.get_netbox_server()
|
self.device = self.server.get_netbox_server()
|
||||||
self.lldp = LLDP()
|
self.lldp = LLDP() if config.network.lldp else None
|
||||||
self.scan()
|
self.scan()
|
||||||
|
|
||||||
def scan(self):
|
def scan(self):
|
||||||
|
|
Loading…
Reference in a new issue