[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-git
Subject:    [ovs-git] Open vSwitch: INSTALL: Add documentaion for hot upgrades. (branch-1.11)
From:       dev () openvswitch ! org (dev at openvswitch ! org)
Date:       2013-05-31 17:04:39
Message-ID: E1UiSkp-0001Ge-Qz () git ! openvswitch ! org
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.11 has been updated
       via  1541769aaeffc3e008f42571d3d338ff25bdaf86 (commit)
       via  b88f79ce33614373f77bace26f92a1c562aae4e8 (commit)
       via  feb31ac49f6d4af49c8d73d27a0aba9827412709 (commit)
       via  80618629008bd9ab8b9fa428b16def9d9134c6b2 (commit)
      from  21a647f72908090793dab9a842476be07b2c3ee2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1541769aaeffc3e008f42571d3d338ff25bdaf86
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1541769aaeffc3e008f42571d3d338ff25bdaf86
                
Author: Gurucharan Shetty <gshetty at nicira.com>
		
INSTALL: Add documentaion for hot upgrades.
		
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


commit b88f79ce33614373f77bace26f92a1c562aae4e8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b88f79ce33614373f77bace26f92a1c562aae4e8
                
Author: Gurucharan Shetty <gshetty at nicira.com>
		
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 at nicira.com>


commit feb31ac49f6d4af49c8d73d27a0aba9827412709
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=feb31ac49f6d4af49c8d73d27a0aba9827412709
                
Author: Gurucharan Shetty <gshetty at nicira.com>
		
ovs-ctl.in: Add manager after restoring flows.
		
Currently we are adding the manager after starting ovs-vswitchd.
Instead, add the manager after flow restore is completed.

Bug #16086.
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


commit 80618629008bd9ab8b9fa428b16def9d9134c6b2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=80618629008bd9ab8b9fa428b16def9d9134c6b2
                
Author: Gurucharan Shetty <gshetty at nicira.com>
		
ovs-vswitchd: An option to wait for userspace flow restore to complete.
		
While upgrading openvswitch, it helps to restore openflow flows before
starting packet processing.  Typically we want to restart openvswitch,
add the openflow flows and then start packet processing.

To do this, we look for the other_config:flow-restore-wait column
in the Open_vSwitch table during startup. If set as true, we disable
receiving packets from the datapath, expiring or flushing flows and
running any periodic ofproto activities. This option does not prevent
the addition and deletion of ports. Once this option is set to false,
we return to normal processing.

An upcoming commit will use this feature in Open vSwitch startup scripts.

Bug #16086.
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 INSTALL                |   42 +++++++++++++++++++++++++++++++++++++++
 ofproto/ofproto-dpif.c |   49 +++++++++++++++++++++++++++++++++++++++++++---
 ofproto/ofproto.c      |   16 +++++++++++++++
 ofproto/ofproto.h      |    2 ++
 utilities/ovs-ctl.in   |   47 ++++++++++++++++++++++++++++++++------------
 vswitchd/bridge.c      |    7 +++++++
 vswitchd/vswitch.xml   |   51 ++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 199 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
Open vSwitch


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic