Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netbox topology import error #364

Open
m-mahdy opened this issue Sep 28, 2021 · 0 comments
Open

netbox topology import error #364

m-mahdy opened this issue Sep 28, 2021 · 0 comments

Comments

@m-mahdy
Copy link

m-mahdy commented Sep 28, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant