[ovs-git] Open vSwitch: ovs-xapi-sync: Handle multiple xs-network-uuids for xs 6.1. (master)

dev at openvswitch.org dev at openvswitch.org
Mon May 20 17:29:14 UTC 2013


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  19af927238fbeaa664c504dab565e9b8c85cb8b4 (commit)
      from  7c54c27f204ac9c7870ffab81aeba4d02336553a (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 19af927238fbeaa664c504dab565e9b8c85cb8b4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=19af927238fbeaa664c504dab565e9b8c85cb8b4
Author: Gurucharan Shetty <gshetty at nicira.com>
		
ovs-xapi-sync: Handle multiple xs-network-uuids for xs 6.1.
		
For xenservers with version less than 6.1, interface reconfiguration
happened through interface-reconfigure scripts in this repo. In cases
where there were multiple xs-network-uuids for a single bridge,
interface-reconfigure script would add the network uuid associated
with the non-VLAN network as the first record. ovs-xapi-sync would
just blindly use the first record to create the bridge-id

But it looks like for xenserver 6.1, interface-reconfigure script
is no longer used and xenserver natively writes the xs-network-uuids.
So, in ovs-xapi-sync we no longer can copy the first value in
xs-network-uuids as bridge-id. This commit fetches the PIF record
for each xs-network-uuids and the network that does not have a VLAN
associated with it is copied over to bridge-id.

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


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

Summary of changes:
 .../usr_share_openvswitch_scripts_ovs-xapi-sync    |   22 ++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list