ovs-ctl.in: Restore flows with vswitchd packet processing disabled.
authorGurucharan Shetty <gshetty@nicira.com>
Tue, 28 May 2013 13:21:56 +0000 (13:21 +0000)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 31 May 2013 00:25:24 +0000 (17:25 -0700)
commit407b147399feb37295ef09395be14a06f7f169ca
treec215c39f24229ef783f94b24bb58ec2644887435
parent1259a0c421cc3c10f0118bbbf4f67286fbb1ae4e
ovs-ctl.in: Restore flows with vswitchd packet processing disabled.

It has been observed that when we upgrade openvswitch with
thousands of openflow flows already established and there is heavy
traffic going through the switch, restoring flows can take a very
long time (8 minutes in one use case) with CPU running at 100%.
This can make the upgrade very expensive.

This commit starts vswitchd by asking it to wait till flow restore is
finished. Once the flows are restored, it resumes normal operations.

Bug #16086.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
utilities/ovs-ctl.in
vswitchd/vswitch.xml