parse lldp only if configuration says so (#63)
This commit is contained in:
parent
10023614c4
commit
fb68907efd
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…
Reference in a new issue