[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Implement missing Xen API method Console.get_other_config.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1185523590 -3600
# Node ID 2450743f51b2b2a41d4cd112c1cc635c81d912e4
# Parent  e63b331d869892fed2c6f582642a6771c1bda613
Implement missing Xen API method Console.get_other_config.
Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>
---
 tools/python/xen/xend/XendAPI.py |    6 ++++++
 1 files changed, 6 insertions(+)

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()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.