!!Beta Testing Needed!! Please help us out! #80
Replies: 3 comments 16 replies
-
Calling all past contributors, please if you can test out the new beta release before it is merged to master. This is a big change to the codebase so we need as many beta testers as possible. Thank you! @dmcken |
Beta Was this translation helpful? Give feedback.
-
Some notes:
You will need to handle the case where you run into the second except in the create functions in the netbox_api.py (ie. add a 'continue' after line 92 in netbox_api.py, but the same would likely need to happen elsewhere in the api, though I havent run into it). Right now it will run into the following issue where the api object was never created successfully:
That said, setting weight seems to be broken. Netbox API seems to have changed:
Instead of :
The capitalization of the Vendor 'neousys' will throw the following error (error is obvious, no idea how you have changed this case before, where the name changes, but the slug stays the same): (same for 'D-link') Some others have changed their name, but also changed slug: ie. TrippLite (keeping the old manufacturers in the netbox db) Similar issue with device types where name has changed, but slug hasnt:
The following fails as well, as the parent subdevice_role was added after the device was created. And its not being updated. This is better situated in the DeviceTypeLibrary itself, but the following wasnt correctly migrated to the new Name/Slug: |
Beta Was this translation helpful? Give feedback.
-
I've done a complete import against a new instance of 3.4.5 and at least from a numbers and spot check it looks to have imported fine:
You can ignore the error, I've already raised a PR 1209 to remove that module. |
Beta Was this translation helpful? Give feedback.
-
Update: This beta has been officially released. Please see (release v2.0.0)[https://github.com/netbox-community/Device-Type-Library-Import/releases/tag/v2.0.0-2023-03-24] for more information. Also, thank you to everyone who assisted with this releases testing!
Hello all,
Tonight I have released the first iteration of the new codebase for this repository. I have completely rewritten the application, optimizing function calls and loops as much as possible, moved logging to its own callable section with verbosity options, abstracted the function calls into 3 separate classes, and more. This is a huge overhaul, and I have done my due diligence before releasing the beta. Now I need your help!
Please go ahead and clone the new branch pre-release-newbase which contains the current up to date copy of the new baseline. Please test it out, import devices and modules and assist me with finding any regressions or bugs.
I will keep this beta open for 2 weeks, so on March 23, 2023 we will be merging this to Master unless we have too many bugs/regressions to fix before. As of today, March 9th, 2023 we are on schedule for release.
Thank you for all who contribute!
Beta Was this translation helpful? Give feedback.
All reactions