Skip to content

Commit

Permalink
xenserver: Fix key used to identify network UUID
Browse files Browse the repository at this point in the history
The "dump-vif-details" script adds the network UUID to the
ovs-vswitchd.conf file.  Unfortunately, it wrote the key as
"network-uuid", but the code that retrieves it for the management
protocol checked our "net-uuid".  The script now uses the key
"net-uuid".

Thanks to Natasha for catching the problem.
  • Loading branch information
Justin Pettit committed Jun 12, 2009
1 parent 986b77c commit 91b4748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xenserver/root_vswitch_scripts_dump-vif-details
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def dump_vif_info(domid, devid, vif_ref):
vm_rec = session.xenapi.VM.get_record(vif_rec["VM"])

# Data to allow vNetManager to associate VIFs with xapi data
sys.stdout.write('--add=port.vif%s.%s.network-uuid=%s '
sys.stdout.write('--add=port.vif%s.%s.net-uuid=%s '
% (domid, devid, net_rec["uuid"]))
sys.stdout.write('--add=port.vif%s.%s.vif-mac=%s '
% (domid, devid, vif_rec["MAC"]))
Expand Down

0 comments on commit 91b4748

Please sign in to comment.