Page MenuHomeVyOS Platform

vrf: prevent deletion if instance referenced in PBR
Closed, ResolvedPublicBUG

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?
Perfectly compatible
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.Jan 10 2026, 8:28 PM
c-po moved this task from Need Triage to Completed on the VyOS Rolling board.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.