DanSheps / netbox-routing

A Netbox Routing plugin
Apache License 2.0
50 stars 6 forks source link

Add ability to select devices through filter in static routes #18

Open PaulR282 opened 5 months ago

PaulR282 commented 5 months ago

Plugin version

v1.2

NetBox version

v4.0.5

Feature type

Change to existing functionality

Proposed functionality

Add the ability to filter for devices in static routes

Use case

Setting a default route, e.g. for all devices with a specific role, is currently not really possible if you have a lot of devices

Database changes

No response

External dependencies

No response

DanSheps commented 2 months ago

Unfortunately I don't think this is something we can support on the model directly. I want to try and minimize the number of Generic Foreign keys or additional relations on the static route model.

We could probably create a companion view down the line to allow this sort of bulk assignment however.