add tenant field to interface models #11408

Closed
opened 2025-12-29 21:44:52 +01:00 by adam · 2 comments
Owner

Originally created by @ITJamie on GitHub (Jul 23, 2025).

NetBox version

v4.3.4

Feature type

Data model extension

Proposed functionality

add tenant field to interface models

Use case

in datacenter / isp operations its normal for a port to be assigned to a customer.
right now a prefix/ip can be assigned to a customer, but the port can not currently have a tenant assigned.

this would make it much quicker to track down ports in colo/dedicated server environments per tenant

it probably makes sense for both the physical (dcim) and virtual machine interface models to get the tenant fields assigned

Database changes

add tenant related fields to interface model(s)

External dependencies

No response

Originally created by @ITJamie on GitHub (Jul 23, 2025). ### NetBox version v4.3.4 ### Feature type Data model extension ### Proposed functionality add tenant field to interface models ### Use case in datacenter / isp operations its normal for a port to be assigned to a customer. right now a prefix/ip can be assigned to a customer, but the port can not currently have a tenant assigned. this would make it much quicker to track down ports in colo/dedicated server environments per tenant it probably makes sense for both the physical (dcim) and virtual machine interface models to get the tenant fields assigned ### Database changes add tenant related fields to interface model(s) ### External dependencies _No response_
adam added the type: featurestatus: duplicate labels 2025-12-29 21:44:52 +01:00
adam closed this issue 2025-12-29 21:44:52 +01:00
Author
Owner

@jnovinger commented on GitHub (Jul 24, 2025):

Our view is that tenancy is meant to denote ownership, as opposed to dependency.

It seems like the natural approach is to use a custom field for this. Alternatively, you could explore using the new Custom Object plugin to define the exact thing and relationship to interfaces.

@jnovinger commented on GitHub (Jul 24, 2025): Our view is that tenancy is meant to denote ownership, as opposed to dependency. It seems like the natural approach is to use a custom field for this. Alternatively, you could explore using the new Custom Object plugin to define the exact thing and relationship to interfaces.
Author
Owner

@jeremystretch commented on GitHub (Jul 24, 2025):

Duplicate of #7801

@jeremystretch commented on GitHub (Jul 24, 2025): Duplicate of #7801
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11408