Issue selecting multiple IP addresses for bulk edit #1211

Closed
opened 2025-12-29 16:30:04 +01:00 by adam · 8 comments
Owner

Originally created by @InsaneSplash on GitHub (Sep 4, 2017).

Issue type

[ ] Feature request
[X] Bug report
[ ] Documentation

Environment

  • Python version: 2.7
  • NetBox version: 2.1.4

Description

When selecting multiple IP addresses to be bulk edited, it returns that no addresses have been selected.
First tick the option for all addresses on the page.
Accept that it will tag all available addresses.
Selected EDIT.

image

image

Originally created by @InsaneSplash on GitHub (Sep 4, 2017). ### Issue type [ ] Feature request <!-- Requesting the implementation of a new feature --> [X] Bug report <!-- Reporting unexpected or erroneous behavior --> [ ] Documentation <!-- Proposing a modification to the documentation --> ### Environment * Python version: 2.7 * NetBox version: 2.1.4 ### Description When selecting multiple IP addresses to be bulk edited, it returns that no addresses have been selected. First tick the option for all addresses on the page. Accept that it will tag all available addresses. Selected EDIT. 1. ![image](https://user-images.githubusercontent.com/16985649/30022899-9dbda044-916d-11e7-96b2-9e60d4d1960e.png) 2. ![image](https://user-images.githubusercontent.com/16985649/30022909-ab882bd6-916d-11e7-8362-e3fbab0bbb08.png)
adam added the type: bug label 2025-12-29 16:30:04 +01:00
adam closed this issue 2025-12-29 16:30:04 +01:00
Author
Owner

@darkstar commented on GitHub (Sep 5, 2017):

On which page do you try this? It works for me both on the "IP Space"->"IP Addresses" page as well as on the "IP Space" -> "Prefixes" -> (any prefix) -> "IP Addresses" tab/page.

But I also don't see the additional checkbox "Select all $n items" in any of these that you showed in your screenshot. Does this only show up if you have over a certain number of IPs listed?

@darkstar commented on GitHub (Sep 5, 2017): On which page do you try this? It works for me both on the "IP Space"->"IP Addresses" page as well as on the "IP Space" -> "Prefixes" -> (any prefix) -> "IP Addresses" tab/page. But I also don't see the additional checkbox "Select all $n items" in any of these that you showed in your screenshot. Does this only show up if you have over a certain number of IPs listed?
Author
Owner

@Bill-Irvine commented on GitHub (Sep 6, 2017):

Ive seen this aswell on the prefixes tab.

/ipam/prefixes/1/ip-addresses/

@Bill-Irvine commented on GitHub (Sep 6, 2017): Ive seen this aswell on the prefixes tab. /ipam/prefixes/1/ip-addresses/
Author
Owner

@InsaneSplash commented on GitHub (Sep 10, 2017):

@darkstar Yup, you will need more than 1 page of IP addresses in the list you are going to be making changes too.

@InsaneSplash commented on GitHub (Sep 10, 2017): @darkstar Yup, you will need more than 1 page of IP addresses in the list you are going to be making changes too.
Author
Owner

@jeremystretch commented on GitHub (Sep 11, 2017):

@InsaneSplash I cannot replicate this issue on the IP address list. What URL are you going to?

@jeremystretch commented on GitHub (Sep 11, 2017): @InsaneSplash I cannot replicate this issue on the IP address list. What URL are you going to?
Author
Owner

@InsaneSplash commented on GitHub (Sep 12, 2017):

Its the list of addresses attached to a child prefix (/24). I select the option to select all 160 addresses for example, then click edit, the page then returns with the no selected addresses error.

example:
http://netbox/ipam/prefixes/4/ip-addresses/
@InsaneSplash commented on GitHub (Sep 12, 2017): Its the list of addresses attached to a child prefix (/24). I select the option to select all 160 addresses for example, then click edit, the page then returns with the no selected addresses error. ``` example: http://netbox/ipam/prefixes/4/ip-addresses/ ```
Author
Owner

@jeremystretch commented on GitHub (Sep 25, 2017):

I'm not able to replicate this. Could you please provide the exact steps needed to replicate, beginning with the creation of a parent prefix?

@jeremystretch commented on GitHub (Sep 25, 2017): I'm not able to replicate this. Could you please provide the exact steps needed to replicate, beginning with the creation of a parent prefix?
Author
Owner

@Bill-Irvine commented on GitHub (Oct 4, 2017):

Hi,

So it looks like this is only an issue when there is more than that one page(i.e multiple pages of IP addresses needing selecting). Selecting the IP addresses on one page and editing them does not have the same issue.

It also does not happen on the Global IP addresses page https://netbox/ipam/ip-addresses/

My guess is that it might be an issue with the Prefix being assigned to a VRF.

  1. Create Parent IPV6 Prefix (in my case its a /118
    ==Prefix==
    Status: Active
    VRF: Assigned
    Role: Unassigned
    "Is a pool": True
    ==Site/Vlan Assignment==
    Site: unassigned
    VLAN Group: Unassigned
    VLAN: Unassigned
    ==Tenancy==
    Tenant Group: Assigned
    Tenant: Assigned

  2. Attach these addresses so that you have more than one page assigned (my default Pagination is set to 50)

  3. Goto your prefix URL (in my case https://netbox/ipam/prefixes/1/)

  4. You will see that it displays the Prefix within the VRF

prefix-vrf

  1. select the IP address Column to select all on the page, it then displays the "Select all 516 items matching query"

Select this and hit "Edit All"

image

This is when the "No IP addresses selected appears"

Let me know if you need anything more

@Bill-Irvine commented on GitHub (Oct 4, 2017): Hi, So it looks like this is only an issue when there is more than that one page(i.e multiple pages of IP addresses needing selecting). Selecting the IP addresses on one page and editing them does not have the same issue. It also does not happen on the Global IP addresses page https://netbox/ipam/ip-addresses/ My guess is that it might be an issue with the Prefix being assigned to a VRF. 1. Create Parent IPV6 Prefix (in my case its a /118 ==Prefix== Status: Active VRF: Assigned Role: Unassigned "Is a pool": True ==Site/Vlan Assignment== Site: unassigned VLAN Group: Unassigned VLAN: Unassigned ==Tenancy== Tenant Group: Assigned Tenant: Assigned 2. Attach these addresses so that you have more than one page assigned (my default Pagination is set to 50) 3. Goto your prefix URL (in my case https://netbox/ipam/prefixes/1/) 4. You will see that it displays the Prefix within the VRF ![prefix-vrf](https://user-images.githubusercontent.com/5893433/31198574-43fb613e-a9b1-11e7-9979-b2a858490ca0.PNG) 5. select the IP address Column to select all on the page, it then displays the "Select all 516 items matching query" Select this and hit "Edit All" ![image](https://user-images.githubusercontent.com/5893433/31198663-86d8aac0-a9b1-11e7-9f4b-0935be0d4344.png) This is when the "No IP addresses selected appears" Let me know if you need anything more
Author
Owner

@InsaneSplash commented on GitHub (Oct 25, 2017):

Looks like you have tracked it down.

@InsaneSplash commented on GitHub (Oct 25, 2017): Looks like you have tracked it down.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1211