diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-27 09:06:30 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-27 09:06:30 +0100 |
commit | 217c8c47671af5424fbcdacda8538d41168d686c (patch) | |
tree | 8f24a705644050d023e7ba2fa897cc110437890a /tools | |
parent | d72cae799f70aa689484bf6c7647d3de2033783c (diff) | |
download | xen-217c8c47671af5424fbcdacda8538d41168d686c.tar.gz xen-217c8c47671af5424fbcdacda8538d41168d686c.tar.bz2 xen-217c8c47671af5424fbcdacda8538d41168d686c.zip |
Implement missing Xen API method Console.get_other_config.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xend/XendAPI.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/python/xen/xend/XendAPI.py b/tools/python/xen/xend/XendAPI.py index 9acf83adc5..ff48d73976 100644 --- a/tools/python/xen/xend/XendAPI.py +++ b/tools/python/xen/xend/XendAPI.py @@ -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() |