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

importing arista vendor failes #133

Open
zombiehoffa opened this issue May 5, 2024 · 0 comments
Open

importing arista vendor failes #133

zombiehoffa opened this issue May 5, 2024 · 0 comments

Comments

@zombiehoffa
Copy link

using -e "VENDORS=arista" with the suggested docker command I get :
netbox-device-type-library-import Package Installed https://github.com/netbox-community/devicetype-library.git Vendor Specified, Gathering All Matching Device-Types 1 Vendors Found 200 Device-Types Found Manufacturer Exists: Arista - 1 {"front_image":["The submitted data was not a file. Check the encoding type on the form."],"rear_image":["The submitted data was not a file. Check the encoding type on the form."]} Traceback (most recent call last): File "/app/nb-dt-import.py", line 853, in <module> main() File "/app/nb-dt-import.py", line 826, in main createDeviceTypes(deviceTypes, nb) File "/app/nb-dt-import.py", line 680, in createDeviceTypes dt.id, nb) UnboundLocalError: local variable 'dt' referenced before assignment

it works for mikrotik so I'm at ab it of a loss how to get it to work for Arista.

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