-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Environment
- Python version: 3.6.8
- NetBox version: v2.10.1
Steps to Reproduce
- In the web GUI
<netboxurl>/ipam/prefixes/?prefix=<prefix1>%2F<netmask1>&prefix=<prefix2>%2F<netmask2>
Expected Behavior
From the docs:
Generally, passing multiple values for a single parameter will result in a logical OR operation. For example,
GET /api/dcim/sites/?region=north-america®ion=south-americawill return sites in North America or South America. However, a logical AND operation will be used in instances where a field may have multiple values, such as tags.
Seems to work fine with IP addresses.
Observed Behavior
Only the last specified prefix is shown in the results.
I got the same results using the API.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application