Skip to content

Add Tenant to Location Model #6874

@sleepinggenius2

Description

@sleepinggenius2

NetBox version

v2.11.10

Feature type

Data model extension

Proposed functionality

Add a Tenant field to the existing Location model.

Use case

In a colocation environment, customers can be assigned their own cages, typically containing one or more racks, as well as other items, like power panels. It would be nice to be able to create a location to represent such a cage within a site and assign racks, power panels, devices, etc. to it, while also tracking the customer assigned to that location. Racks and devices can be assigned to a tenant today, but power panels cannot, and they can all be assigned to a location. Using a site to represent this situation is cumbersome, as a lot of the fields would need to be duplicated among the site objects and it doesn't really seem right conceptually.

Database changes

Add a Tenant field to the existing Location model.

External dependencies

None

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions