Page MenuHomeVyOS Platform

Policy route-map set table cannot be deleted from the rule
Open, NormalPublicBUG

Description

Route-map set table cannot be deleted from the rule.
To reproduce:

set policy route-map RMAP rule 10 action 'permit'
set policy route-map RMAP rule 10 set table '10'
set policy route-map RMAP rule 10 set local-preference '300'
commit

delete policy route-map RMAP rule 10 set table
commit

commit failed:

vyos@r-left# delete policy route-map RMAP rule 10 set table
[edit]
vyos@r-left# commit

Failed to execute route-map RMAP permit 10  no set table 10 exit "route-
map RMAP permit 10 --  no set table 10 -- exit" we failed to remove this
command % Unknown command:  no set table 10

[[policy]] failed
Commit failed
[edit]
vyos@r-left#

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.5-rolling-202404190019
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)