mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Implement missing Xen API method Console.get_other_config.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
This commit is contained in:
1 parent
d72cae799f
commit
217c8c4767
1 file changed
+6
@@ -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()
|
||||
|
||||