-
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
Assign VLANs to Tenants instead of Sites #926
Comments
I may not be following, but it sounds like you're misusing the concept of tenancy. Tenants are intended to represent organizations supported by the network; they can be assigned many types of objects. If you just need to organize sites, v1.9.0 will feature hierarchical regions (see #164). |
Yes it is a deliberate misuse of tenants to implement some of the same type of aggregation of sites, etc. Perhaps a better way to state my point is that I want to extend a vlan to many sites without having to recreate it. So if I can assign different objects other than sites to these new regions, that will work. So a vlan would belong to a region, so each individual site within that region. |
So if I understand correctly, you have, for example, five buildings, each with VLANs 101-105. If this is the case, you should create 25 VLAN objects in NetBox, each assigned to its respective building. This allows you to assign (presumably unique) prefixes to each VLAN within each building. It also allows you to deviate from the devised if and when the need arises (for example, if one building needs an extra two VLANs). |
Almost. What I am saying is that the vlan is the same in each of the 5 buildings. The same prefex (the same L2 domain). So in this case, our regions define our L2 domains, they just happen to encompass several sites (which we want for grouping devices, asset management, etc). So what I am asking for is the ability to assign a vlan to site aggregate (region) or an individual site. When it is assigned to a region, it is available to all the nested sites. What may help the confusion is to say that these are very small buildings, very close to one another. It makes no since to separate vlans between the buildings in this case :) |
Oh, I see. Well, v1.9.0 will also decouple VLANs from site assignment (#235), which should help. I think we'll have to stop short of assigning VLANs to regions though, as that would get rather complex. I suggest trying v1.9.0 when it comes out (hopefully by the end of the week) and see if it offers sufficient flexibility. |
I believe my needs are covered by #235 in the new release! |
I would like to the ability to assign a vlan or vlan group to either a site or a tenant. My use case is in a university campus. In this design a L3 distribution encompasses several buildings. So this means a vlan defined at the distribution is available in all the buildings of that distribution. The approach we have taken is to define our L3 distributions as tenants and assign the buildings as sites under that tenant.
To facilitate this, I want to assign a vlan or vlan group at the tenant level as not to have to recreate them all at the site level. Is this something that can be done today and I am just missing it?
The text was updated successfully, but these errors were encountered: