Show containing Prefixes and Aggregates when doing a site-wide partial search #11685
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
NetBox version
v3.4.4
Feature type
Change to existing functionality
Proposed functionality
Relevant bug report: #11315
Relevant discussion: #11665
In short the goal is to find prefixes and aggregates based on the input, if the input is parsable as an netaddr.IPNetwork.
Use case
It is useful to get the parent prefix if searching for both existing and non-existent IPAddresses and more closely matches the previous global search. More reasoning can be found in the linked bug report.
Database changes
While no actual database changes should be necessary, changing the CachedValue.value field to a custom field type inherating TextField generates a migration, but there should be no actual SQL schema changes. See the PR.
External dependencies
None
The text was updated successfully, but these errors were encountered: