Page MenuHomeVyOS Platform

Bgp neighbor peer-group without peer-group fail
Closed, ResolvedPublicBUG

Description

To reproduce.
Add neighbor to peer-group which don't exist.

vyos@r2-roll# set protocols bgp 64501 neighbor 203.0.113.1 peer-group FOO
[edit]
vyos@r2-roll# commit
[ protocols bgp 64501 ]
VyOS had an issue completing a command.

Report Time:      2021-02-17 13:30:24
Image Version:    VyOS 1.4-rolling-202102162107
Release Train:    sagitta

Built by:         autobuild@vyos.net
Built on:         Tue 16 Feb 2021 21:07 UTC
Build UUID:       ea5a7b58-7900-4ef9-817b-1726c5c0b718
Build Commit ID:  176dd5eeb5c3be


Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 195, in <module>
    verify(c)
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 98, in verify
    if peer_group not in asn_config['peer_group']:
KeyError: 'peer_group'



[[protocols bgp 64501]] failed
Commit failed
[edit]

Details

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

Event Timeline

Viacheslav removed a project: VyOS 1.3 Equuleus.
Viacheslav changed the subtype of this task from "Feature Request" to "Bug".
Viacheslav changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
Viacheslav changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Viacheslav changed the task status from Open to Needs testing.Feb 26 2021, 11:18 PM