Page MenuHomeVyOS Platform

"redistribute table" option in BGP does not work correctly
Closed, ResolvedPublicBUG

Description

set protocols bgp system-as 100
set protocols bgp address-family ipv4-unicast redistribute table 239

Renders

address-family ipv4 unicast
  redistribute table 
 exit-address-family

Expected

address-family ipv4 unicast
  redistribute table 239
 exit-address-family

The issue is that the table ID is not properly retrieved from the dict in https://github.com/vyos/vyos-1x/blob/5ddcfdb4c9352e1178f275eeb317b049795fd1a8/data/templates/frr/bgpd.frr.j2#L310-L315
Also FRRouting supports redistributing multiple non-main tables into BGP, this is a backwards compatible change/fix which will ba added also to VyOS 1.4

There also have not been any smoketest for redistribute table which will be added during bugfix, too

Details

Version
1.4.1
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)
Forum thread
https://forum.vyos.io/t/redistribute-table-for-bgp-not-working/16078

Event Timeline

c-po changed the task status from Open to In progress.
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po moved this task from Open to Finished on the VyOS 1.5 Circinus board.
dmbaturin renamed this task from bgp: can not redistribute optional routing table to "redistribute table" option in BGP does not work correctly.Mar 12 2025, 4:35 PM