OpenVPN configuration error: Must specify "local-address" or "bridge-group"

Hey guys, it looks like the bridge-group command was removed but the OpenVPN configurator is still referencing it.

Version: VyOS 1.2-rolling-201908140337
Built by: autobuild@vyos.net
Built on: Wed 14 Aug 2019 03:37 UTC
Build UUID: 5faa22fa-20c2-4c77-b7b4-5f15f8ae577e
Build Commit ID: a7f8455a7f57f6
Architecture: x86_64

Hi, looks like this is a ricochet of the ongoing effort of rewriting the interfaces in the new XML/Python style.

See

Let me see how easy this fix is for you - if it turns out to be to problematic I’ll speed up the rewrite.

Sorry for the inconvenience.

Can you please provide your configuration and the given error message?

Doing a layer 2 bridge across the tunnel. Error is the same as the title of this thread.

set interfaces ethernet eth0 description ‘INSIDE’

set interfaces ethernet eth1 address 10.7.79.1/30
set interfaces ethernet eth1 description ‘OUTSIDE’
set interfaces ethernet eth1 firewall in name ‘OUTSIDE-IN’

set interfaces openvpn vtun0 device-type ‘tap’
set interfaces openvpn vtun0 encryption ‘aes128’
set interfaces openvpn vtun0 hash ‘sha256’
set interfaces openvpn vtun0 local-host 10.7.79.1
set interfaces openvpn vtun0 mode ‘site-to-site’
set interfaces openvpn vtun0 persistent-tunnel
set interfaces openvpn vtun0 protocol ‘udp’
set interfaces openvpn vtun0 remote-host 10.7.79.2
set interfaces openvpn vtun0 shared-secret-key-file ‘/config/auth/openvpn0.key’

set interfaces bridge ‘br0’
set interfaces bridge ‘br0’ member interface eth0
set interfaces bridge ‘br0’ member interface vtun0

Moved forther handling to Phabricator

https://phabricator.vyos.net/T1589