Page MenuHomeVyOS Platform

[1.3.6->1.4.0-epa2 Migration] BGP "set community" missing
Closed, ResolvedPublicBUG

Description

With the following route-map in 1.3.6:-

set policy route-map bgp-local-no-export rule 10 action 'permit'
set policy route-map bgp-local-no-export rule 10 set community 'no-export'

and then migrating to 1.4.0-epa2, the route-map becomes:-

set policy route-map bgp-local-no-export rule 10 action 'permit'
set policy route-map bgp-local-no-export rule 10 set

The community name has been lost.

The expected config should probably be:-

set policy route-map bgp-local-no-export rule 10 action 'permit'
set policy route-map bgp-local-no-export rule 10 set community replace 'no-export'

The same misbehaviour occurred on 1.4.0-epa1, and was rather difficult to spot in a large config without running "diff" between the old and new.

Details

Version
1.4.0-epa2
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

a.apostoliuk changed the task status from Open to In progress.Mar 18 2024, 9:40 AM
a.apostoliuk claimed this task.
a.apostoliuk changed the task status from In progress to Needs testing.Mar 22 2024, 12:15 PM
a.apostoliuk closed this task as Resolved.
a.apostoliuk moved this task from Open to Finished on the VyOS 1.4 Sagitta board.
a.apostoliuk moved this task from Open to Finished on the VyOS 1.5 Circinus board.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).