eNMS-automation / eNMS

An enterprise-grade vendor-agnostic network automation platform.

Home Page:https://www.enms.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netbox topology import error

m-mahdy opened this issue · comments

When i try to import the topology from netbox, i get the following error:

Traceback (most recent call last):
File "/opt/eNMS/eNMS/models/automation.py", line 795, in run_service_job
results = self.service.job(self, payload, *args)
File "/opt/eNMS/eNMS/services/miscellaneous/topology_import.py", line 36, in job
getattr(self, f"query_{self.import_type}")()
File "/opt/eNMS/eNMS/services/miscellaneous/topology_import.py", line 40, in query_netbox
nb = netbox_api(self.netbox_address, app.get_password(self.netbox_token))
NameError: name 'netbox_api' is not defined

Note pynetbox is installed on the server