xenserver: Display managers referenced by 'manager_options' in xsconsole.
authorAndrew Evans <aevans@nicira.com>
Mon, 7 Feb 2011 20:40:01 +0000 (12:40 -0800)
committerAndrew Evans <aevans@nicira.com>
Tue, 8 Feb 2011 18:43:59 +0000 (10:43 -0800)
xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py

index 015f4cc007a0fe75479dbd630bbf79fecfabb0ba..ae91d6379777758105583c8f33da8e44364cd6d3 100644 (file)
@@ -304,8 +304,7 @@ class XSFeatureVSwitch:
         if dbController == "":
             dbController = Lang("<None>")
         inPane.AddStatusField(Lang("Controller (config)", 20), dbController)
-        controller = VSwitchConfig.Get("get Open_vSwitch . managers")
-        controller = controller.strip('[]"')
+        controller = VSwitchConfig.Get("get-manager")
 
         if controller == "":
             controller = Lang("<None>")