[ovs-git] Open vSwitch: ofproto: Fix ofport allocation. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Nov 20 22:27:17 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  4780f13745796a22ac1971bb9bf90a39317d7094 (commit)
      from  ee4dd8eb947b13dfc76f7898e9929d58b48ce03c (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 4780f13745796a22ac1971bb9bf90a39317d7094
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4780f13745796a22ac1971bb9bf90a39317d7094
Author: Gurucharan Shetty <gshetty at nicira.com>
		
ofproto: Fix ofport allocation.
		
Currently running the following 3 commands results
in vswitchd running in an infinite loop.

ovs-vsctl add-port br1 port1 -- set interface port1 \
type=internal ofport_request=1
ovs-vsctl add-port br1 port2 -- set interface port2 \
type=internal ofport_request=2
ovs-vsctl add-port br1 port3 -- set interface port3 \
type=internal

This patch lets us go through all the possible ofport
values to find a free ofport.

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


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

Summary of changes:
 ofproto/ofproto.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list