Page MenuHomeVyOS Platform

Bgp not possible to delete bgp route-map
Closed, ResolvedPublicBUG

Description

To reproduce

set policy route-map FO rule 10 action 'deny'
set protocols bgp 64501 neighbor 203.0.113.1 remote-as '65001'
set protocols bgp 64501 route-map 'FO'
commit

We have zebra config, out of protocol bgp.

!
ip protocol bgp route-map FO
!
line vty
!

Delete protocols

vyos@r2-roll# delete protocols 
[edit]
vyos@r2-roll# commit
[edit]

Bgp route-map still present in the configuration

!
ip protocol bgp route-map FO
!
line vty
!

Some time ago, it was a workaround for it.
https://github.com/vyos/vyos-1x/commit/9cb85e90574e31d09fc1ed4e1c774221d0f05f5d#diff-a6bfa81633be09b840b1a0e164572849a4b8df4c7523c2d9a1230e770e8705dd

It can be affected for all protocols.

Details

Difficulty level
Normal (likely a few hours)
Version
VyOS 1.4-rolling-202102162107
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

c-po changed the task status from Open to In progress.Apr 10 2021, 9:22 PM
c-po claimed this task.
c-po triaged this task as Low priority.