Replies: 3 comments 12 replies
-
I think you are using 'Tenant' in a way other than it was intended. 'Tenant' is intended to mean "customer" - someone who rents space/buys service and pays the bill - and is usually a company, not an individual. The ability to assign a Tenant to a Site or Location is for cases where that Location is dedicated to a single customer: e.g. a Location could be a cage or room containing multiple racks, and the entire cage is purchased by one customer. That's effectively what you've done with your "Desk" Location proposal. Assigning the Location to multiple customers isn't supported, because you can assign the Racks and/or Devices within that Location to specific customers instead. For what you are trying to do, "Contacts" is closer (Netbox v3.1+). You'll have the same problem, in that one Contact can't be a member of multiple Contact Groups. However, you can assign multiple contacts one by one to a Location, and you can assign the same Contact to multiple Locations. You could have a Contact Group for "Employees", and you can also nest Contact Groups, which might be useful for departments or geographical areas. Having said all that, Netbox isn't really intended to be an employee management system :-) |
Beta Was this translation helpful? Give feedback.
-
You can also create a custom field for contacts pointing a location object, so you can associate a specific location to each contact. |
Beta Was this translation helpful? Give feedback.
-
Since it's already possible to assign multiple Contacts to a Location, I would suggest to implement that for Tenants also.. :-D |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We use Locations to register offices on a specific Site (building).
We use a Tenant Group to register all employees, and would like to assign employees (Tenants) to specific offices (Locations).
We can assign "Worker 1" to the Location "Office 1" without any problems. Works:
@Office 1
)But if "Worker 2" and "Worker 3" is sharing "Office 2" we're out of luck. Does not work:
@Office 2
)@Office 2
)The issue is that you cannot assign multiple Tenants to a Location ("There can be only one.."). You could create a Tenant Group (like "Office 2"), but we can't have "Worker 2" and "Worker 3" assigned to both the Employees Tenant Group and the "Office 2" Tenant Group simultaneously. And you can't assign only a Tenant Group to an endpoint.
I haven't found a good way to address this issue in v3.3.4. We currently have "Desk 1" and "Desk 2" assigned as Locations in "Office 2" and then assign "Worker 2" to Location "Desk 1" and so on..
Worker 2
Worker 3
But it kinda feels (and looks) like a hack. I think it would be nicer if "Office 2" could contain a list of Tenants in the office.
Worker 2
, Tenant =Worker 3
)The above is similar to "Possible to assign multiple tenants to Site? #10159", but for Locations instead of a Site.
I'm not sure if "a list" of Tenants assigned to a Locations is the best solution? It would/should then also be possible in all the other places where you can assign Tenant(s) for consistency. It might also introduce UI challenges to multiple standard views, like (Sites, Locations..) where Tenant currently is only a single item (not a list of items).
Another solution could be to allow a (specific) Tenant to be assigned to multiple Tenant Groups simultaneously -- AND allow a Tenant Group to be assigned to a specific endpoint (like Locations). It might be less work to implement and maybe more useful generally? But more work to configure in NetBox and harder to explain to newcomers in our specific example above (I think).
I would like to hear others thoughts/suggestions before creating an Issue (or not).
Beta Was this translation helpful? Give feedback.
All reactions