Able to delete VRF when it is referenced in PBR

,

Hey everyone,

I am using vyos versions 1.5-stream-2025-Q2 and 2025.11 and I have a policy based route configuration. The PBR has a rule that references a vrf, which is part of my network topology. I have noticed in the above latest vyos versions, I am able to delete the vrf completely even though the vrf is referenced in the policy based route rule.

My expectation and understanding is that, the vrf shouldn’t be allowed to deleted if it is referenced in a PBR rule.

Please let me know if I’m missing something here or is that the expected behaviour.

Thank you for the help in advance.

Mugunthan Krishnan

Thanks for reporting. Tracked as ⚓ T8169 Able to delete VRF when it is referenced in PBR

Thank you for the very quick response @c-po. Would the fix be released in a future release or would it also be patched in the versions - 1.5-stream-2025-Q2 and 2025.11?