Skip to content

Add "has_virtual_device_context" filter to device filters in UI and API #14948

@SaschaSchwarzK

Description

@SaschaSchwarzK

NetBox version

v3.7.1

Feature type

Change to existing functionality

Proposed functionality

The only way to find devices that have virtual device context is to get all virtual-device-contexts and extract the list of related devices from that. Similar to the has_primary_ip filter.

Use case

Get the list of devices with have or have not a virtual-device-context with a simple boolean filter.

Database changes

Not required

External dependencies

None

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions