I am trying to create a new bridge interface, but when I add a member, it fails.
Using the bridge to pass layer 2 traffic from one interface to another.
Here is the addition:
+bridge br0 {
+ member {
+ interface eth2:1000 {
+ }
+ }
+}
And the error:
vyos@vyos# commit
[ interfaces bridge br0 ]
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
https://support.vyos.io/
- Make sure you are running the latest version of VyOS available at:
https://vyos.net/get/
- Consult the community forum to see how to handle this issue:
https://forum.vyos.io
- Join us on Slack where our users exchange help and advice:
https://vyos.slack.com
When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
business policy requires it)
- and include all the information presented below
Report time: 2022-01-25 21:17:32
Image version: VyOS 1.4-rolling-202112121334
Release train: sagitta
Built by: autobuild@vyos.net
Built on: Sun 12 Dec 2021 13:34 UTC
Build UUID: 8cc33c20-bc4b-4d6f-801d-498db46fed9c
Build commit ID: 8cf4aba9332095
Architecture: x86_64
Boot via: installed image
System type: bare metal
Hardware vendor: Supermicro
Hardware model: H8SCM
Hardware S/N: 1234567890
Hardware UUID: 49434d53-0200-90a4-2500-a4902500febf
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-bridge.py", line 169, in <module>
c = get_config()
File "/usr/libexec/vyos/conf_mode/interfaces-bridge.py", line 93, in get_config
tmp = has_address_configured(conf, interface)
File "/usr/lib/python3/dist-packages/vyos/validate.py", line 255, in has_address_configured
intfpath = 'interfaces ' + Section.get_config_path(intf)
TypeError: can only concatenate str (not "bool") to str
[[interfaces bridge br0]] failed
Commit failed