netbox-community / netbox-bgp

NetBox plugin for BGP related objects documentation
Apache License 2.0
250 stars 52 forks source link

Filter IP Family prefix lists on Routing-policy rules #187

Closed iribarrem closed 6 months ago

iribarrem commented 7 months ago

NetBox version 3.7.4 Describe the bug When creating a routing policy rule, there's one field for matching IPv4 Prefix Lists and another for IPv6 Prefix Lists, but all prefix lists from both families are shown on both dropdowns and are accepted.

Expected behavior As when creating a prefix list it's mandatory to select the family, it should enforce correct family on route-policy rules matching, filtering what can be added on each field.