Skip to content

Wrong filter used when clicking number of IP addresses in VM Interface table #15059

@Faabvk

Description

@Faabvk

Deployment Type

Self-hosted

NetBox Version

v3.7.2

Python Version

3.8

Steps to Reproduce

Make sure you use a Virtual Machine, that has an interface with 3 or more IP addresses assigned to it.

  1. Go to a Virtual Machine page
  2. Go to interfaces tab
  3. There should be an interface with 3 or more IP addresses
    a. Instead of it showing the individual IP addresses in the table, it will show you the number of IP addresses. (Clickable link)
  4. Click link with number of IP addresses

Expected Behavior

It should link you to a filtered page that shows the IP addresses associated with the VM Interface

Observed Behavior

It links you to the right page, but as observed in the URL, it uses the wrong filter and attempts to filter for "regular" physical interfaces, so it gives you either an empty set of results, or the wrong results.

Example URL: https://netbox.xxxxxxx/ipam/ip-addresses/?interface_id=195

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions