From 91b47481fc1514f2f969cf22dc69908f5f1a09fc Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Thu, 11 Jun 2009 18:30:41 -0700 Subject: [PATCH] xenserver: Fix key used to identify network UUID 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. --- xenserver/root_vswitch_scripts_dump-vif-details | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenserver/root_vswitch_scripts_dump-vif-details b/xenserver/root_vswitch_scripts_dump-vif-details index 8ec845f1a..b0ceb4054 100755 --- a/xenserver/root_vswitch_scripts_dump-vif-details +++ b/xenserver/root_vswitch_scripts_dump-vif-details @@ -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"])) -- 2.43.0