fixed tags for netbox 2.9

This commit is contained in:
bile0026 2020-11-23 21:26:40 -06:00
parent aa51c21419
commit 25f17b1101

View File

@ -64,7 +64,7 @@ class NetBoxScanner(object):
else:
self.netbox.ipam.ip_addresses.create(
address=host[0],
# tags=[self.tag],
tags=[{"name": self.tag}],
# dns_name=host[1],
description=host[1]
)