Page MenuHomeVyOS Platform

VPP add a bridge without members leads Traceback error
Closed, ResolvedPublicBUG

Description

VPP add a bridge without members leads Traceback error
To reproduce:

set interfaces vpp bridge vppbr10
set vpp settings interface eth1
set vpp settings poll-sleep-usec '2341'

commit:

vyos@r14# commit
[ vpp ]

WARNING: NOTE: Current dataplane capacity (estimated): 2.1 M IPv4
routes. Exceeding these values will lead to a dataplane out-of-memory
condition and a crash. Extensive use of features like ACLs, NAT and
others may reduce the numbers above. Please read the documentation for
details: https://docs.vyos.io/


[ interfaces vpp bridge vppbr10 ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/services/vyos-configd", line 157, in run_script
    script.apply(c)
  File "/usr/libexec/vyos/conf_mode/vpp_interfaces_bridge.py", line 131, in apply
    bridge.update(config)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/vpp/bridge.py", line 127, in update
    config.get('member', {}).get('interface', []).items()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'items'

[[interfaces vpp bridge vppbr10]] failed
Commit failed
[edit]
vyos@r14#

Delete VPP:

vyos@r14# delete vpp
[edit]
vyos@r14# commit
[ vpp ]
VPP cannot be removed while VPP interfaces exist. Remove all "interfaces
vpp" first!
delete [ vpp ] failed
[ interfaces vpp bridge vppbr10 ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/services/vyos-configd", line 157, in run_script
    script.apply(c)
  File "/usr/libexec/vyos/conf_mode/vpp_interfaces_bridge.py", line 131, in apply
    bridge.update(config)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/vpp/bridge.py", line 127, in update
    config.get('member', {}).get('interface', []).items()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'items'

[[interfaces vpp bridge vppbr10]] failed
Commit failed
[edit]
vyos@r14#

Details

Version
VyOS 2026.03.05-1418-integration
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)