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

Support assigning VLANs to locations #6746

Open
c-po opened this issue Jul 13, 2021 · 7 comments
Open

Support assigning VLANs to locations #6746

c-po opened this issue Jul 13, 2021 · 7 comments
Labels
complexity: low Requires minimal effort to implement netbox status: backlog Awaiting selection for work type: feature Introduction of new functionality to the application

Comments

@c-po
Copy link

c-po commented Jul 13, 2021

NetBox version

v2.11.9

Feature type

Data model extension

Proposed functionality

It would be very nice if we could not only assign certain data types not only to a site, but also to a location on this specific site.

Use case

Locations got added to NetBox to extend a site with e.g. physical buildings.

The following Items should get support to be mapped to a Location within a site:

Database changes

No response

External dependencies

No response

@c-po c-po added the type: feature Introduction of new functionality to the application label Jul 13, 2021
@jeremystretch jeremystretch added the status: under review Further discussion is needed to determine this issue's scope and/or implementation label Jul 13, 2021
@eronlloyd
Copy link

This is an excellent idea. We're redesigning our LAN subnets across multiple sites and had this very question.

@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot added the pending closure Requires immediate attention to avoid being closed for inactivity label Sep 17, 2021
@jeremystretch jeremystretch added needs milestone Awaiting prioritization for inclusion with a future NetBox release and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation pending closure Requires immediate attention to avoid being closed for inactivity labels Oct 1, 2021
@BarbarossaTM
Copy link
Contributor

Agree that this would be cool. I recently also had a use case where it would be been cool to assign a prefix and VLAN to a region. Would we consider this inside the same scope than this issue or rather a different thing?

@DanSheps
Copy link
Member

DanSheps commented Aug 2, 2022

@jeremystretch I think we may want to consider looking at revamping our "Locations" modelling further before looking into this.

It may make more sense to collapse Region/Site/Location/etc into a "BaseLocation" and using Polymorphism. This would allow assignment to any of Region/Site/Location/etc for certain things. It would also considerably clean up our organizational structure of items and may remove GFKs in some cases.

Something to consider and I can throw in a FR for review for it if you like.

@c-po
Copy link
Author

c-po commented Sep 29, 2023

We are currently working on an IPv6 address plan for multiple regions and sites.

An idea is to have an aggregate per region, a prefix per site, and a sub-prefix assigned per any given building on that site. Marking this in IPAM would make tracking easy which prefix is assigned to a building and vice-versa.

Maybe that thought helps on the location revamping.

@jeremystretch jeremystretch added the status: backlog Awaiting selection for work label May 21, 2024
@arthanson arthanson added the complexity: low Requires minimal effort to implement label May 22, 2024
@jeremystretch
Copy link
Member

I suspect this will overlap quit a bit with #6414, but we'll keep it as a separate FR for now.

@jeremystretch jeremystretch added this to the v4.2 milestone Sep 26, 2024
@jeremystretch jeremystretch removed the needs milestone Awaiting prioritization for inclusion with a future NetBox release label Sep 26, 2024
@jeremystretch
Copy link
Member

This was flagged for v4.2 for the assignment of prefixes to locations only; this work can be folded into #6414. Additionally, FR #9604 proposes the ability to associate a circuit termination with a location.

It would not make sense to assign an IP address to a location (IP addresses can only be assigned to specific interfaces), but I'll leave this open for the remaining item, the assignment of a VLAN to a location.

@jeremystretch jeremystretch changed the title Support assigning prefixes/VLANs to locations Support assigning VLANs to locations Oct 7, 2024
@jeremystretch jeremystretch removed this from the v4.2 milestone Oct 7, 2024
@jeremystretch jeremystretch added the netbox label Nov 1, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: low Requires minimal effort to implement netbox status: backlog Awaiting selection for work type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

6 participants