-
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
Extend modules with types and interface associations #824
Comments
Hi again! I just wanted to check in on the status of this. We're getting to the point where we want to start pulling from Netbox with some of our automation, so we want to move forward with the use of modules if that is in fact the right thing to do. We can live with entering things manually for now as long as they're ending up in the right places for later on. We're happy to contribute code if you have more pressing issues to work on right now, just want to make sure we take it in the right direction! |
This sounds useful, especially for chassis based / modular network devices (et al). |
Quick update: I've renamed Module to InventoryItem for version 2.0. This will leave space for a new Module model to support this feature. |
Is this earmarked for an upcoming release? We're trying to integrate Netbox into an environment entirely dependent on modular chassis, and can't quite get there without something like this. |
For chassis based switches or routers Parent device can show Child devices interface list without any change of Interface names, that is done at the moment with Virtual Chassis, when Master shows list of all interfaces (own + members) and each member show only its interfaces. Additionally to that 'Device Bay Name/Virtual Chassis position' column for Interfaces table can be added in Device View to visually differ bindings to Bay/Member if interface names are identical. |
As this is roadmapped for 2.10, I figured I should chime in here. For the data model, I think it would make sense to allow multiple parent switches, as there are certain modules which are not attached to a specific switch (an example would be the Nexus 2000 fabric extenders) but for all intents and purposes are modules themselves. Not sure how feasible this is, but I think it is much better then using the virtual chassis approach (as in the nexus 2k senario, the two chassis aren't combined except for in the case of the FEX). The only problem is how to actually model this, as I am assuming the "module" approach Jeremy is thinking with this is similar to device bays (it would be the approach I would take as well) but perhaps it might be possible to do a hybrid where you can attach them to slots or "virtual slots" and in virtual slots they can be racked elsewhere whereas if they are a physical slot, they are slotted into a bay. |
I'll throw some additional complexity into the mix. That is: switch stacks. The same concept as a modular, in that the members all share the same data plane. Similarly, there are the same interface naming/numbering semantics as described in the original comment. However, this clearly doesn't fit the physical notion of a device containing the module, as the "modules" themselves in this case are actual devices and there isn't a parent. Also, Stack members are frequently in different racks (stack of TORS). Furthermore, say we have a stack of Cisco 3850s, each one may contain an actual uplink module. I'm only bringing attention to this because there may be a chance to implement this feature request in a more generic fashion. An application of the same model to VirtualChassis essentially. Seems worth determining if something like this could be in scope before getting too deep in the design phase. Without this, there are some difficulties. I need multiple DeviceTypes in order to model a stack. I.e: One with Gi1/0/1, Gi1/02, ... another with Gi2/0/1, Gi2/0/2, ... etc. Determining the actual management and console interfaces for a member requires clicking through all the members. IP addressing belongs to the stack, etc. |
Punting on this for v2.10. Given the concerns noted above, we should really come up with a firm proposal before tagging this for a milestone. The primary question seems to be whether it would be feasible and appropriate to employ InventoryItem for this purpose, or to introduce an entirely new model to track the associations. |
This issue should be considered in conjunction with #3333, as there seems to be potential for overlap. |
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. 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. |
This feature request has been superseded by #7844, which is scheduled for implementation in NetBox v3.2. |
As discussed on the mailing list, it would be desirable to extend the functionality of modules to more closely reflect reality when it comes to systems composed of blades.
I originally prototyped it by repurposing device bays, but the modules approach seems much cleaner. It also has the benefit of being nearly a blank slate to work with. Here are some of the issues that apply to either approach which will need to be worked out:
That's all I've got for now. Looking forward to fleshing this out.
The text was updated successfully, but these errors were encountered: