From 25f17b11012a2540cf2b903788bf955ad73abdb6 Mon Sep 17 00:00:00 2001 From: bile0026 Date: Mon, 23 Nov 2020 21:26:40 -0600 Subject: [PATCH] fixed tags for netbox 2.9 --- nbs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbs/__init__.py b/nbs/__init__.py index 914a0ce..faa82c2 100644 --- a/nbs/__init__.py +++ b/nbs/__init__.py @@ -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] )