Page MenuHomeVyOS Platform

Bgp listen-range wrong commit message
Closed, ResolvedPublicBUG


Create peer-group and listen range

set protocols bgp 64501 peer-group FOO
set protocols bgp 64501 listen range peer-group 'FOO'

Commit and it tells that range does not exist.

vyos@r2-roll# commit
Peer-group "FOO" for listen range "" does not exist!
[[protocols bgp 64501]] failed
Commit failed

The real fail reason:

% Specify remote-as or peer-group remote AS firs

So it expected option "remote-as" for peer-group

vyos@r2-roll# set protocols bgp 64501 peer-group FOO remote-as 65002
vyos@r2-roll# commit


Difficulty level
Easy (less than an hour)
VyOS 1.4-rolling-202102162107
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

Something wrong with that check


vyos@r-roll01# commit
[ protocols bgp 64501 ]
{'listen': {'range': {'': {'peer_group': 'FOO'}}},
 'peer_group': {'FOO': {}}}

But "dict_search(f'peer_group.{peer_group}', asn_config)"