ia64/xen-unstable

changeset 15657:2450743f51b2

Implement missing Xen API method Console.get_other_config.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
author kfraser@localhost.localdomain
date Fri Jul 27 09:06:30 2007 +0100 (2007-07-27)
parents e63b331d8698
children 5682f899c7ae
files tools/python/xen/xend/XendAPI.py
line diff
     1.1 --- a/tools/python/xen/xend/XendAPI.py	Fri Jul 27 09:06:10 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendAPI.py	Fri Jul 27 09:06:30 2007 +0100
     1.3 @@ -2394,6 +2394,12 @@ class XendAPI(object):
     1.4          vm = xendom.get_vm_with_dev_uuid('console', console_ref)
     1.5          return xen_api_success(vm.get_uuid())
     1.6      
     1.7 +    def console_get_other_config(self, session, console_ref):
     1.8 +        xendom = XendDomain.instance()        
     1.9 +        return xen_api_success(xendom.get_dev_property_by_uuid('console',
    1.10 +                                                               console_ref,
    1.11 +                                                               'other_config'))
    1.12 +    
    1.13      # object methods
    1.14      def console_get_record(self, session, console_ref):
    1.15          xendom = XendDomain.instance()