mirror of
https://github.com/lopes/netbox-scanner.git
synced 2025-07-21 04:44:37 +02:00
bugfix in host creation
This commit is contained in:
parent
f9833a65ba
commit
6b57c0a080
@ -134,7 +134,7 @@ class NetBoxScanner(object):
|
|||||||
description_new=host[1])
|
description_new=host[1])
|
||||||
else:
|
else:
|
||||||
self.netbox.ipam.ip_addresses.create(address=host[0],
|
self.netbox.ipam.ip_addresses.create(address=host[0],
|
||||||
tags=[self.tag], description=host[0])
|
tags=[self.tag], description=host[1])
|
||||||
self.logger('created', address=host[0], description=host[1])
|
self.logger('created', address=host[0], description=host[1])
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -7,7 +7,7 @@ with open('README.md', 'r') as fh:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='netbox-scanner',
|
name='netbox-scanner',
|
||||||
version='0.5.3',
|
version='0.5.4',
|
||||||
author='José Lopes de Oliveira Jr.',
|
author='José Lopes de Oliveira Jr.',
|
||||||
author_email='jlojunior@gmail.com',
|
author_email='jlojunior@gmail.com',
|
||||||
description='A scanner util for NetBox',
|
description='A scanner util for NetBox',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user