[ovs-git] Open vSwitch: vswitchd: Remove port from datapath if it becomes non-operational (master)

dev at openvswitch.org dev at openvswitch.org
Mon Apr 9 17:45:09 UTC 2012


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, master has been updated
       via  a65084987b743fbeaf9a5376ea0fe99454912186 (commit)
       via  53509ad55c16816d7a88a5695853555c7ef3572e (commit)
      from  e385ef551a09abcba77810bcea0eb3ca559c09a3 (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 a65084987b743fbeaf9a5376ea0fe99454912186
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a65084987b743fbeaf9a5376ea0fe99454912186
Author: Ansis Atteka <aatteka at nicira.com>
		
vswitchd: Remove port from datapath if it becomes non-operational
		
If kernel module rejects config changes then vswitchd sets the ofport
column to -1, but does not remove the non-operational port from the
datapath. This patch fixes this problem.

ovs-vsctl add-br ovsbr
ovs-vsctl add-port ovsbr p1
ovs-vsctl add-port ovsbr p2
ovs-vsctl set Interface p1 options:remote_ip=2.1.1.1 options:key=123 type=gre
ovs-vsctl set Interface p2 options:remote_ip=1.1.1.1 options:key=123 type=gre
ovs-vsctl set Interface p2 options:remote_ip=2.1.1.1 options:key=123 type=gre
ovs-dpctl show #observe that p2 does not appear here anymore

Signed-off-by: Ansis Atteka <aatteka at nicira.com>


commit 53509ad55c16816d7a88a5695853555c7ef3572e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=53509ad55c16816d7a88a5695853555c7ef3572e
Author: Ansis Atteka <aatteka at nicira.com>
		
datapath: Do not send notification if ovs_vport_set_options() failed
		
There is no need to send a notification if ovs_vport_set_options() failed
and ovs_vport_cmd_set() did not change anything.

Issue#10285

Signed-off-by: Ansis Atteka <aatteka at nicira.com>


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

Summary of changes:
 datapath/datapath.c |    2 ++
 vswitchd/bridge.c   |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list