Skip to contentSkip to conversation

XM/XenAPI: Enable console other_config to be passed through Xen API

PATCH New Yosuke Iwamatsu 1 participant 1 message May 7, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 XM/XenAPI: Enable console other_config to be passed through Xen API

Currently console class's "other_config" parameters (such as "vnclisten" and "vncpasswd")
are not passed to xend when creating a domain by xm command through xen-api. The attached patch fixes this problem.

Regards,
-----------------------
Yosuke Iwamatsu
NEC Corporation

XM/XenAPI: Enable Console other_config parameters to be passed through Xen API.

tools/python/xen/xm/xenapi_create.py +2 -2
diff -r cc953475ab14 tools/python/xen/xm/xenapi_create.py
@@ -485,9 +485,9 @@ class xenapi_create:
                 vm_ref,
             "protocol":
                 console.attributes["protocol"].value,
-            "other_params":
+            "other_config":
                 get_child_nodes_as_dict(console,
-                  "other_param", "key", "value")
+                  "other_config", "key", "value")
             }
 
         return server.xenapi.console.create(console_record)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel