Page MenuHomeVyOS Platform

local role attribute can be set multiple times
Open, LowPublicBUG

Description

The local role attribute can be set multiple times and does not get replaced.
I think it's either a missing constraint or a missing feature in the interface definition parser that would enable one to add such a constraint to a node with a leaf.

[edit]
peter@bbr00.nbg.de# set vrf name net protocols bgp neighbor xxx:1::1:5 local-role peer
[edit]
peter@bbr00.nbg.de# compare
[vrf name net protocols bgp neighbor xxx:1::1:5 local-role]
+ peer {
+ }

Expected would be something similar to this:

[edit]
peter@bbr00.nbg.de# set vrf name net protocols bgp neighbor xxx:1::1:5 remote-as xxx222
[edit]
peter@bbr00.nbg.de# compare
[vrf name net protocols bgp neighbor xxx:1::1:5]
- remote-as "xxx292"
+ remote-as "xxx222"

Details

Version
VyOS 2025.10.12-0019-rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)