Removing STP from OVS bridge

vertigo2049

Active Member
Jul 24, 2018
17
0
41
47
What is the best way to restart the OVS bridge after removing STP?

Bash:
auto vmbr1
iface vmbr1 inet static
    address  10.0.70.xxx
    netmask  255.255.255.0
    ovs_type OVSBridge
        mtu 1450
        post-up ovs-vsctl set bridge vmbr1 stp_enable=true
        post-up ovs-vsctl add-port vmbr1 gre0 -- set interface gre0 type=gre options:remote_ip='xxx.xxx.xxx.xxx'
        post-up ovs-vsctl add-port vmbr1 gre1 -- set interface gre1 type=gre options:remote_ip='yyy.yyy.yyy.yyy'
        post-up ovs-vsctl add-port vmbr1 gre2 -- set interface gre2 type=gre options:remote_ip='zzz.zzz.zzz.zzz'

I was thinking;
ovs-vsctl del-br vmbr1 ovs-vsctl add-br vmbr1
 
Last edited:
I answer my own question:

Only way to make this happen cleanly was to remove the line from the interfaces file on each node and reboot.
Trying to interact with OVS via the CLI just caused problems.