Interface filters page should display whether the interfaces are connected #5679

Closed
opened 2025-12-29 19:31:24 +01:00 by adam · 2 comments
Owner

Originally created by @hiddenman on GitHub (Nov 17, 2021).

NetBox version

v3.0.10

Feature type

Change to existing functionality

Proposed functionality

When we search for interfaces using Filters it would be great to see if found interfaces are connected or not.

Interface can be:

  1. Not connected at all.
  2. Connected but without cable attached
  3. Not connected and with cable attached
  4. Connected and with cable attached

When we open Interfaces tab of a particular device it's easy to understand connection status of each interface (they have different colors).
When we list them using Filters, it's not possible to understand. Furthermore, there is a column "Mark connected" and it's always False even for interfaces with cables attached and this confuses users (what is it for?)

So it would be great to display found interfaces with different colors (red and green) and display a special column with "_occupied" option from the API.

Use case

A simple use case:

  • there are two identical devices with some free ports on each
  • we want to find a pair of free ports (not connected) on each device, of the same type to setup main and backup connection to a customer on each device (cluster)
  • we also want to know if each port contains an SFP module with required capabilities; however that's not possible at all right now until https://github.com/netbox-community/netbox/issues/7846 is done

Right now it's not possible to find and understand this using built-in Filters UI.

Database changes

No response

External dependencies

No response

Originally created by @hiddenman on GitHub (Nov 17, 2021). ### NetBox version v3.0.10 ### Feature type Change to existing functionality ### Proposed functionality When we search for interfaces using Filters it would be great to see if found interfaces are connected or not. Interface can be: 1. Not connected at all. 2. Connected but without cable attached 3. Not connected and with cable attached 4. Connected and with cable attached When we open Interfaces tab of a particular device it's easy to understand connection status of each interface (they have different colors). When we list them using Filters, it's not possible to understand. Furthermore, there is a column "Mark connected" and it's always False even for interfaces with cables attached and this confuses users (what is it for?) So it would be great to display found interfaces with different colors (red and green) and display a special column with "_occupied" option from the API. ### Use case A simple use case: - there are two identical devices with some free ports on each - we want to find a pair of free ports (not connected) on each device, of the same type to setup main and backup connection to a customer on each device (cluster) - we also want to know if each port contains an SFP module with required capabilities; however that's not possible at all right now until https://github.com/netbox-community/netbox/issues/7846 is done Right now it's not possible to find and understand this using built-in Filters UI. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: feature label 2025-12-29 19:31:24 +01:00
adam closed this issue 2025-12-29 19:31:24 +01:00
Author
Owner

@DanSheps commented on GitHub (Nov 17, 2021):

There is 1 status you forgot. You can "plan" a connection

@DanSheps commented on GitHub (Nov 17, 2021): There is 1 status you forgot. You can "plan" a connection
Author
Owner

@jeremystretch commented on GitHub (Dec 8, 2021):

When we list them using Filters, it's not possible to understand.

Click the "Configure" button at the top right of the interfaces list. You can add the cable and connection columns to the table to expose this information, just like under the device view.

Furthermore, there is a column "Mark connected" and it's always False even for interfaces with cables attached and this confuses users (what is it for?)

This column shows the value of the "Mark as connected" field, which is provided to allow denoting that an interface is occupied without modeling the attached cable in NetBox.

@jeremystretch commented on GitHub (Dec 8, 2021): > When we list them using Filters, it's not possible to understand. Click the "Configure" button at the top right of the interfaces list. You can add the cable and connection columns to the table to expose this information, just like under the device view. > Furthermore, there is a column "Mark connected" and it's always False even for interfaces with cables attached and this confuses users (what is it for?) This column shows the value of the "Mark as connected" field, which is provided to allow denoting that an interface is occupied without modeling the attached cable in NetBox.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5679