-
Notifications
You must be signed in to change notification settings - Fork 121
Add module bays and module types. #52
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
Conversation
Add create_module_bays and activate in createDeviceTypes()
|
I'd say your safe defaulting to module-bays enabled, no? My opinion is this should always be up-to-date and working with the latest Netbox version. No need for extra backward compatibility. But that's just my opinion, maybe @minitriga sees it differently |
|
I am fine with it either way. I guess once its tested a bit more we can change the default later on. |
|
Fully functional, importing modules as well now. Did a complete import on a fresh 3.3.2 (latest docker image). |
|
When you're ready, don't forget to set it out of draft and "ready to review" and tag @minitriga as reviewer 👍 |
Instead automatically detect via version 3.2 or higher.
|
Just doing some minor cleanup and want to test it against 3.2 before I finalize. Just removed the manual setting, it will automatically detect the version to figure out if to sync modules or not. |
|
Ok, so 3.2.9 is working (I still use it as some plugins I use aren't ready for 3.3 yet). The final result of a sync at the moment: |
|
Awesome, thanks! I'd also recommend updating the "tested with...3.2" towards the top of the README 👍 Also don't forget to add minitriga as reviewer |
|
I can't change the reviewer at the moment. The option to link / close matching issues isn't available either so I assume thats something only the repo owners / maintainers can do. |
Removed type hint which is throwing an error on python 3.8.10
Adds support for importing the device type module-bays.
Requires IMPORT_MODULES=True to be set for the code to activate (was debating if to detect automatically from the netbox version).
Will do the module-types in a separate pull request.