[ovs-dev] [PATCH 1 of 5] Use first-class pool vswitch controller configuration field
Ian Campbell
ian.campbell at citrix.com
Wed Sep 30 10:57:20 UTC 2009
This has been implemented in our vswitch branch to trunk so use it
instead of the other-config key.
diff -r 5bcb363edb74 -r 80a429c440d0 xenserver/etc_xapi.d_plugins_vswitch-cfg-update
--- a/xenserver/etc_xapi.d_plugins_vswitch-cfg-update Tue Sep 22 10:17:44 2009 -0700
+++ b/xenserver/etc_xapi.d_plugins_vswitch-cfg-update Wed Sep 30 11:17:45 2009 +0100
@@ -53,7 +53,7 @@
raise XenAPIPlugin.Failure("MORE_THAN_ONE_POOL_FOR_HOST", [])
pool = session.xenapi.pool.get_record(pools[0])
try:
- controller = pool["other_config"]["vSwitchController"]
+ controller = pool["vswitch_controller"]
except KeyError, e:
controller = ""
currentController = vswitchCurrentController()
More information about the dev
mailing list