CumulusNetworks / ifupdown2

GNU General Public License v2.0
160 stars 75 forks source link

`ovs_bridge` is not applied for fake bridges #313

Open lachbaer opened 2 days ago

lachbaer commented 2 days ago

An OVS fake bridge with VLAN ID 100 should be configured like this.

auto vmbr1
iface vmbr1 inet manual
        ovs_type OVSBridge
        ovs_bridge vmbr0
        ovs_options 100

However this fails, because the parent vmbr0 is not applied to the ovs-vsctl add-br command.

lachbaer commented 2 days ago

The current workaround is to put the parent bridge and VLAN ID in the ovs_options parameter.

auto vmbr1
iface vmbr1 inet manual
        ovs_type OVSBridge
        ovs_bridge vmbr0
        ovs_options vmbr0 100