Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue selecting multiple IP addresses for bulk edit #1471

Closed
InsaneSplash opened this issue Sep 4, 2017 · 8 comments
Closed

Issue selecting multiple IP addresses for bulk edit #1471

InsaneSplash opened this issue Sep 4, 2017 · 8 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@InsaneSplash
Copy link

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

@darkstar
Copy link

darkstar commented 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?

@Bill-Irvine
Copy link

Ive seen this aswell on the prefixes tab.

/ipam/prefixes/1/ip-addresses/

@InsaneSplash
Copy link
Author

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

@jeremystretch jeremystretch changed the title bug: issue selecting multiple ip addresses for bulk edit Issue selecting multiple IP addresses for bulk edit Sep 11, 2017
@jeremystretch
Copy link
Member

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

@InsaneSplash
Copy link
Author

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/

@jeremystretch
Copy link
Member

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?

@Bill-Irvine
Copy link

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

@InsaneSplash
Copy link
Author

Looks like you have tracked it down.

@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Nov 10, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

4 participants