Device Filter - Virtual Chassis #2589

Closed
opened 2025-12-29 18:20:10 +01:00 by adam · 2 comments
Owner

Originally created by @darcynz on GitHub (May 6, 2019).

Environment

Python version: 3.6
NetBox version: 2.5.11)

Proposed Functionality

Would like the ability to filter devices that are virtual chassis.
something like:

http://netbox/api/dcim/devices/?virtual_chassis_id=True

Use Case

Easier to provide ('brief') list of devices that are virtual chassis via url filter query. This would enable requests/queryies against the Netbox device list from other tools (eg Prime).

Database Changes

None

External Dependencies

None

Originally created by @darcynz on GitHub (May 6, 2019). ## Environment Python version: 3.6 NetBox version: 2.5.11) ## Proposed Functionality Would like the ability to filter devices that are virtual chassis. something like: http://netbox/api/dcim/devices/?virtual_chassis_id=True ## Use Case Easier to provide ('brief') list of devices that are virtual chassis via url filter query. This would enable requests/queryies against the Netbox device list from other tools (eg Prime). ## Database Changes None ## External Dependencies None
adam added the status: acceptedtype: feature labels 2025-12-29 18:20:10 +01:00
adam closed this issue 2025-12-29 18:20:10 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 29, 2019):

virtual_chassis_id is the filter used to identify a particular virtual chassis. A new filter would need to be introduced if determining virtual chassis membership as a boolean.

@jeremystretch commented on GitHub (May 29, 2019): `virtual_chassis_id` is the filter used to identify a particular virtual chassis. A new filter would need to be introduced if determining virtual chassis membership as a boolean.
Author
Owner

@jeremystretch commented on GitHub (Jun 24, 2019):

Adding a boolean filter named virtual_chassis_member.

@jeremystretch commented on GitHub (Jun 24, 2019): Adding a boolean filter named `virtual_chassis_member`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2589