Skip to content

Remove the device_role & device_role_id filters for devices #15099

Closed
@jeremystretch

Description

@jeremystretch

Proposed Changes

Remove the following filters for devices:

  • device_role (replaced by role)
  • device_role_id (replaced by role_id)

Justification

The device_role field on the Device model was renamed to role under #6391 in NetBox v3.6. These filters were retained for backward compatibility through v3.7 but are now obsolete.

Impact

Any API consumers still using these filters will need to be updated to use the new filters listed above.

Metadata

Metadata

Assignees

Labels

breaking changeThis change modifies or removes some previously documented functionalitystatus: acceptedThis issue has been accepted for implementationtype: deprecationRemoval of existing functionality or behavior

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions