Add Tenant to Cable Model #5051

Closed
opened 2025-12-29 19:23:33 +01:00 by adam · 6 comments
Owner

Originally created by @nbogle on GitHub (Jul 7, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11.8

Feature type

New functionality

Proposed functionality

I would like to see the ability to assign cables in Netbox to a tenant.

This would involve adding a link between the tenancy.tenant model and the dcim.Cable model.

Use case

I use Netbox in a datacenter setting, and I would like to be able to assign cross connections (in netbox as cables) to tenants, so you can see all cross connects a tenant might have, or what cables were put in for which client.

Database changes

I don't believe this would require any database changes

External dependencies

No.

Originally created by @nbogle on GitHub (Jul 7, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11.8 ### Feature type New functionality ### Proposed functionality I would like to see the ability to assign cables in Netbox to a tenant. This would involve adding a link between the tenancy.tenant model and the dcim.Cable model. ### Use case I use Netbox in a datacenter setting, and I would like to be able to assign cross connections (in netbox as cables) to tenants, so you can see all cross connects a tenant might have, or what cables were put in for which client. ### Database changes I don't believe this would require any database changes ### External dependencies No.
adam added the status: acceptedtype: feature labels 2025-12-29 19:23:33 +01:00
adam closed this issue 2025-12-29 19:23:34 +01:00
Author
Owner

@eronlloyd commented on GitHub (Jul 18, 2021):

Strongly agree. We are a service provider with many leased lines (dark and lit) dedicated to customers and peers. Knowing at the cable level what's assigned to specific tenants would be very helpful for planning and auditing.

@eronlloyd commented on GitHub (Jul 18, 2021): Strongly agree. We are a service provider with many leased lines (dark and lit) dedicated to customers and peers. Knowing at the cable level what's assigned to specific tenants would be very helpful for planning and auditing.
Author
Owner

@bellwood commented on GitHub (Jul 29, 2021):

This would be a welcome add to associate and track cross connects to tenants.

@bellwood commented on GitHub (Jul 29, 2021): This would be a welcome add to associate and track cross connects to tenants.
Author
Owner

@jeremystretch commented on GitHub (Jul 29, 2021):

Somewhat related to #5140.

I'm not sure it makes sense to associate a cable with a tenant directly, rather than inferring from the tenant which owns either of its endpoints. Though that raises the question: if a cable connects devices belong to two different tenants, which one owns the cable?

@jeremystretch commented on GitHub (Jul 29, 2021): Somewhat related to #5140. I'm not sure it makes sense to associate a cable with a tenant directly, rather than inferring from the tenant which owns either of its endpoints. Though that raises the question: if a cable connects devices belong to two different tenants, which one owns the cable?
Author
Owner

@bellwood commented on GitHub (Jul 29, 2021):

I would proffer whomever installs the cable would be the owner. That could either be the A tenant, the Z tenant or perhaps the facility making the connection.

@bellwood commented on GitHub (Jul 29, 2021): I would proffer whomever installs the cable would be the owner. That could either be the A tenant, the Z tenant or perhaps the facility making the connection.
Author
Owner

@bellwood commented on GitHub (Jul 29, 2021):

I suppose, too, for our intended purposes of tracking cross connects, those could be entered as circuits, which do support tenants.

@bellwood commented on GitHub (Jul 29, 2021): I suppose, too, for our intended purposes of tracking cross connects, those could be entered as circuits, which do support tenants.
Author
Owner

@jeremystretch commented on GitHub (Jul 29, 2021):

I'm not really opposed to adding a tenant relationship on the cable model. I think it's perhaps suboptimal, but as discussed in #5140 there are other issues with filtering by tenancy of related objects.

@jeremystretch commented on GitHub (Jul 29, 2021): I'm not really opposed to adding a tenant relationship on the cable model. I think it's perhaps suboptimal, but as discussed in #5140 there are other issues with filtering by tenancy of related objects.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5051