25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
|
# HG changeset patch
|
||
|
# User kfraser@localhost.localdomain
|
||
|
# Date 1185523590 -3600
|
||
|
# Node ID 2450743f51b2b2a41d4cd112c1cc635c81d912e4
|
||
|
# Parent e63b331d869892fed2c6f582642a6771c1bda613
|
||
|
Implement missing Xen API method Console.get_other_config.
|
||
|
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
|
||
|
|
||
|
diff -r e63b331d8698 -r 2450743f51b2 tools/python/xen/xend/XendAPI.py
|
||
|
--- a/tools/python/xen/xend/XendAPI.py Fri Jul 27 09:06:10 2007 +0100
|
||
|
+++ b/tools/python/xen/xend/XendAPI.py Fri Jul 27 09:06:30 2007 +0100
|
||
|
@@ -2394,6 +2394,12 @@ class XendAPI(object):
|
||
|
vm = xendom.get_vm_with_dev_uuid('console', console_ref)
|
||
|
return xen_api_success(vm.get_uuid())
|
||
|
|
||
|
+ def console_get_other_config(self, session, console_ref):
|
||
|
+ xendom = XendDomain.instance()
|
||
|
+ return xen_api_success(xendom.get_dev_property_by_uuid('console',
|
||
|
+ console_ref,
|
||
|
+ 'other_config'))
|
||
|
+
|
||
|
# object methods
|
||
|
def console_get_record(self, session, console_ref):
|
||
|
xendom = XendDomain.instance()
|