parse lldp only if configuration says so (#63)

This commit is contained in:
Solvik 2019-09-09 12:25:11 +02:00 committed by GitHub
parent 10023614c4
commit fb68907efd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):