-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Module Bay compatible Module Types validation #13699
Comments
Just throwing my two cents in on this. I've been working on a similar solution in our NetBox instance using a multi-object custom field on the Module Type to point to the compatible Module Bay Templates. Still working through the custom validator to enforce those compatibilities though. I had to implement it in this direction, because Template objects don't support custom fields. I wanted to highlight a few issues that I've run into with that implementation:
Related to this, I also ended up needing to implement the same kind of thing for Device and Device Bays to document parent/child Device compatibility. That may need to be a separate feature request though. |
This has been needed for awhile. I think I entered a feature request for this about 2 years ago. At one point, it was fixed so only modules with the same vendor as the device would populate the dropdown. But that's not working anymore as of 3.5 or so. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide. |
This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary. |
@shatt79 do you have any idea where I could find this "fixed" version? I think restricting it to the same manufacturer would be perfect. I found your old request #9106 that was closed. |
NetBox version
v3.6.0
Feature type
Data model extension
Proposed functionality
Create a new NetBox object type (suggestion name = Compatible Module Type) and associated UI that maps a specific module bay with all compatible module types that can be installed on that module bay.
The user edits the device type -> module bay, and select all compatible modules.
The following picture is a UI concept example, made on Microsoft Paint:
When the user try to install a new module, if the module bay has a compatible module object selection, the module type selection box will only display the compatible modules.
Also, when the user clicks on 'save' module, netbox will validate if the module bay has a compatible module type list, and deny the save if the module is not allowed.
Use case
The Module Types table can have hundreds of modelled modules, from different vendors, and even from the same vendor. It was very easy to the user to select the wrong / incompatible module when population a device bay. For exemple, Cisco has two supervisor cards: ASR-1000-RP1 and ASR1000-RP3, that can be installed on module bay module R0 or module R1. The first one is compatible with the chassis (device type) ASR-1006, where the latter is compatible with the chassis ASR-1006X. The user can easily choose the wrong version or the supervisor card, or install the supervisor on the wrong module may (ex: module F0, that accepts Fabric only).
Database changes
I think that may be necessary to create a new table, that hosts a one to many relationship between a module bay template and a module type.
External dependencies
None
The text was updated successfully, but these errors were encountered: