mirror of
https://github.com/lopes/netbox-scanner.git
synced 2025-07-26 07:15:15 +02:00
fixed tags for netbox 2.9
This commit is contained in:
parent
aa51c21419
commit
25f17b1101
@ -64,7 +64,7 @@ class NetBoxScanner(object):
|
|||||||
else:
|
else:
|
||||||
self.netbox.ipam.ip_addresses.create(
|
self.netbox.ipam.ip_addresses.create(
|
||||||
address=host[0],
|
address=host[0],
|
||||||
# tags=[self.tag],
|
tags=[{"name": self.tag}],
|
||||||
# dns_name=host[1],
|
# dns_name=host[1],
|
||||||
description=host[1]
|
description=host[1]
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user