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

dev at openvswitch.org dev at openvswitch.org
Mon Apr 9 18:06:27 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, branch-1.6 has been updated
       via  e0908c95064556f065c5d565f216bd77f3b1c963 (commit)
       via  c59ae2ea5bc31a3620c0b2105f59442013e72ad7 (commit)
      from  661b729bde9f6abdc0f746078f4364b26cf74e07 (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 e0908c95064556f065c5d565f216bd77f3b1c963
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e0908c95064556f065c5d565f216bd77f3b1c963
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 c59ae2ea5bc31a3620c0b2105f59442013e72ad7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c59ae2ea5bc31a3620c0b2105f59442013e72ad7
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

Acked-by: Jesse Gross <jesse at nicira.com>
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