* [PATCH][xenapi] Implement missing Console method
@ 2007-07-25 1:07 Jim Fehlig
0 siblings, 0 replies; only message in thread
From: Jim Fehlig @ 2007-07-25 1:07 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 63 bytes --]
Xen API Console.get_other_config implementation.
Regards,
Jim
[-- Attachment #2: xend_console_config.patch --]
[-- Type: text/x-patch, Size: 1138 bytes --]
# HG changeset patch
# User Jim Fehlig <jfehlig@novell.com>
# Date 1185325000 21600
# Node ID a28090124ff1f5d4df8514291dc5e423065b269d
# Parent 1f348e70a5affdea9b44c1e39cd5ef094ad4a0bf
Implement missing Xen API method Console.get_other_config.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
diff -r 1f348e70a5af -r a28090124ff1 tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py Tue Jul 10 11:10:38 2007 +0100
+++ b/tools/python/xen/xend/XendAPI.py Tue Jul 24 18:56:40 2007 -0600
@@ -2371,6 +2371,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()
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-25 1:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-25 1:07 [PATCH][xenapi] Implement missing Console method Jim Fehlig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.