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

Show available VLAN IDs within a group #971

Closed
ktims opened this issue Mar 17, 2017 · 6 comments
Closed

Show available VLAN IDs within a group #971

ktims opened this issue Mar 17, 2017 · 6 comments
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@ktims
Copy link

ktims commented Mar 17, 2017

Feature request to show available VLAN IDs within a group, similar to the way available prefixes are shown in aggregates/parent prefixes. Currently allocating a new VLAN requires manually browsing the list to find an available ID, remembering it, and manually entering in the Add a VLAN form. It would be nice to streamline this.

@jeremystretch
Copy link
Member

How would you display this? Could you provide a mock-up?

@ktims
Copy link
Author

ktims commented Mar 17, 2017

Sure, I'm imagining something very much like what exists when viewing a prefix on the IP addresses tab. I guess this would involve creating a new view for VLAN groups, rather than just linking to the VLAN search. I've mocked something up based on the mentioned prefix page (my math probably suffers from off-by-one errors). Add a VLAN would default to the first available VLAN ID, and clicking one of the 'available' links would default to the first available ID within that range, like how it works for IPs/prefixes.
netbox-vlans-mockup

@jeremystretch
Copy link
Member

Oh, ok. I thought you were talking about inserting the VLAN list in the form somehow. I like it.

@jeremystretch jeremystretch added type: feature Introduction of new functionality to the application and removed awaiting reply labels Mar 17, 2017
@jeremystretch
Copy link
Member

Thinking about this further, we don't have a view for VLANGroup because it's not a primary object. (It's used only for the organization of primary objects.) Not sure we really want to deviate from that pattern.

@Senetus
Copy link

Senetus commented Nov 3, 2017

For auto-allocation it would be awesome to get this info via an API call.

@mmahacek
Copy link
Contributor

How would this know what VLANs to show as available? You assign a group to a VLAN, not the other way around. A VLAN group is for organization inside Netbox and for filtering the drop down lists. There isn't a specific assumption of what VLANS should be in the group to determine what is missing, unless you are checking the site's entered VLANs against all possible VLAN IDs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

4 participants