Re: [ovs-dev] How to set forwarding delay of OVS bridge

2014-06-20 Thread Justin Pettit
On Fri, Jun 20, 2014 at 4:18 PM, Changbin Liu wrote: > Right, I tried other values like 4 and 30, same thing, still 15 seconds > delay. When I try it, I see 11 seconds as the minimum based on your other configuration values. According to this definition from the spec, 11 seconds is correct bas

Re: [ovs-dev] How to set forwarding delay of OVS bridge

2014-06-20 Thread Changbin Liu
Right, I tried other values like 4 and 30, same thing, still 15 seconds delay. I also wonder why it must be 4-30 seconds. Linux bridge supports setting forwarding delay to 0, so that VM live migration won't have network disruptions. Changbin On Friday, June 20, 2014, Justin Pettit wrote: > On

Re: [ovs-dev] How to set forwarding delay of OVS bridge

2014-06-20 Thread Justin Pettit
On Thu, Jun 19, 2014 at 8:56 PM, Changbin Liu wrote: > ovs-vsctl settting forwarding delay does not seem to be working. > Forwarding delay is always 15 seconds. > > # ovs-vsctl set bridge obr2 other_config:stp-forward-delay=0 > As documented in ovs-vswitchd.conf.db (and the STP specification), t

Re: [ovs-dev] How to set forwarding delay of OVS bridge

2014-06-19 Thread Changbin Liu
ovs-vsctl settting forwarding delay does not seem to be working. Forwarding delay is always 15 seconds. # ovs-vsctl set bridge obr2 other_config:stp-forward-delay=0 # tcpdump -vvv -i br2 tcpdump: listening on br2, link-type EN10MB (Ethernet), capture size 65535 bytes 03:55:30.833907 STP 802.1d, Co

Re: [ovs-dev] How to set forwarding delay of OVS bridge

2014-06-19 Thread Justin Pettit
The ovs-vsctl man page has some examples of configuring STP. It should be easy to extrapolate how configure the forwarding delay with the "stp-forward-delay" configuration field described in the ovs-vswitchd.conf.db man page. --Justin On Thu, Jun 19, 2014 at 1:07 PM, Changbin Liu wrote: > Hi

[ovs-dev] How to set forwarding delay of OVS bridge

2014-06-19 Thread Changbin Liu
Hi Folks, I am wondering whether there is a command to set the forwarding delay of OVS bridge. In Linux bridge, there is "brctl setfd" to set the forwarding delay. The motivation is that when doing live migration of a VM which is attached to OVS bridge, I need to make sure the Gratuitous ARP will