Page MenuHomePhabricator

Can't delete a route-map "set as-path-exclude" option
Closed, ResolvedPublicBUG

Description

Hey,

I want to delete a route-map rule that contains an as-path-exclude.
However, If I want to delete the complete rule, I get the error "% Command incomplete: no set as-path exclude".

Config:

vyos@rs0-ffm01# show policy route-map ImportEdge rule 50
action permit
set {
    as-path-exclude 65000
}

Return:

vyos@rs0-ffm01# del policy route-map ImportEdge rule 50
[edit]
vyos@rs0-ffm01# commit
[ policy route-map ImportEdge rule 50 set as-path-exclude 65000 ]
% Command incomplete: no set as-path exclude

[[policy route-map ImportEdge]] failed
Commit failed

It seems like VyOS uses a syntax, that FRR does not know.

Details

Difficulty level
Easy (less than an hour)
Version
1.2.0-RC6
Why the issue appeared?
Issues in third-party code
syncer assigned this task to dmbaturin.
syncer added a subscriber: syncer.

Should be simple to fix

syncer triaged this task as Normal priority.Nov 11 2018, 7:20 PM
dmbaturin renamed this task from Can't delete route-map if using as-path-exclude to Can't delete a route-map "set as-path-exclude" option.Mon, Nov 12, 12:51 AM
dmbaturin closed this task as Resolved.
dmbaturin changed Why the issue appeared? from Will be filled on close to Issues in third-party code.