Disconnect button only works on interfaces with cables, not interfaces with "mark connected" #6491

Closed
opened 2025-12-29 19:41:26 +01:00 by adam · 3 comments
Owner

Originally created by @mgoetze5 on GitHub (May 18, 2022).

NetBox version

v3.2.3

Python version

3.10

Steps to Reproduce

  1. Go to /netbox/dcim/devices/123/interfaces/
  2. Mark some interfaces that have "mark connected: true" for bulk editing
  3. Click the "disconnect" button redirecting you to /netbox/dcim/interfaces/disconnect/
  4. Confirm

Expected Behavior

Marked interfaces are now "mark connected: false"

Observed Behavior

A message box pops up saying "0 interfaces disconnected"

Originally created by @mgoetze5 on GitHub (May 18, 2022). ### NetBox version v3.2.3 ### Python version 3.10 ### Steps to Reproduce 1. Go to /netbox/dcim/devices/123/interfaces/ 2. Mark some interfaces that have "mark connected: true" for bulk editing 3. Click the "disconnect" button redirecting you to /netbox/dcim/interfaces/disconnect/ 4. Confirm ### Expected Behavior Marked interfaces are now "mark connected: false" ### Observed Behavior A message box pops up saying "0 interfaces disconnected"
adam closed this issue 2025-12-29 19:41:26 +01:00
Author
Owner

@julianstolp commented on GitHub (May 18, 2022):

I can reproduce this in 3.2.3 with Python 3.8.
But maybe its the wrong workflow anyway. Because there is no "real" cable connected you need to edit the interfaces and select "mark connected: false"
I think the disconnect button is for bulkremoving cables.

@julianstolp commented on GitHub (May 18, 2022): I can reproduce this in 3.2.3 with Python 3.8. But maybe its the wrong workflow anyway. Because there is no "real" cable connected you need to edit the interfaces and select "mark connected: false" I think the disconnect button is for bulkremoving cables.
Author
Owner

@jeremystretch commented on GitHub (May 18, 2022):

I think the disconnect button is for bulkremoving cables.

This is correct. The bulk disconnection function is for removing cables. If you want to instead mark interfaces as connected (or not connected), you can do this using the bulk edit function.

@jeremystretch commented on GitHub (May 18, 2022): > I think the disconnect button is for bulkremoving cables. This is correct. The bulk disconnection function is for removing cables. If you want to instead _mark_ interfaces as connected (or not connected), you can do this using the bulk edit function.
Author
Owner

@mgoetze5 commented on GitHub (May 18, 2022):

I realize that I can use the bulk edit function instead, this would be much more convenient for me though.

@mgoetze5 commented on GitHub (May 18, 2022): I realize that I can use the bulk edit function instead, this would be much more convenient for me though.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6491