Page MenuHomeVyOS Platform

vrf: prevent deletion if instance referenced in PBR
Open, NormalPublicBUG

Description

image.png (274×609 px, 29 KB)

he 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.

Details

Version
1.5-stream-2025-Q2 and 2025.11
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)
Forum thread
https://forum.vyos.io/t/able-to-delete-vrf-when-it-is-referenced-in-pbr/17242

Event Timeline

c-po claimed this task.
c-po triaged this task as Normal priority.
c-po renamed this task from Able to delete VRF when it is referenced in PBR to vrf: prevent deletion if instance referenced in PBR.Sat, Jan 10, 8:28 PM