[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Use new instance store to resolve network uuid to bridge name
# HG changeset patch # User Tom Wilkie <tom.wilkie@xxxxxxxxx> # Date 1177512154 -3600 # Node ID 2fe1f293e52d381fedd1648d3d6da47e11f2bac5 # Parent 26b80f4523e55f0311f4ae5eb6734d4556c6b768 Use new instance store to resolve network uuid to bridge name signed-off-by: Tom Wilkie <tom.wilkie@xxxxxxxxx> --- tools/python/xen/xend/XendConfig.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 26b80f4523e5 -r 2fe1f293e52d tools/python/xen/xend/XendConfig.py --- a/tools/python/xen/xend/XendConfig.py Wed Apr 25 15:39:48 2007 +0100 +++ b/tools/python/xen/xend/XendConfig.py Wed Apr 25 15:42:34 2007 +0100 @@ -22,6 +22,7 @@ import types from xen.xend import sxp from xen.xend import uuid +from xen.xend import XendAPIStore from xen.xend.XendError import VmError from xen.xend.XendDevices import XendDevices from xen.xend.PrettyPrint import prettyprintstring @@ -1050,8 +1051,7 @@ class XendConfig(dict): if cfg_xenapi.get('name'): dev_info['name'] = cfg_xenapi.get('name') if cfg_xenapi.get('network'): - from xen.xend.XendNode import XendAPIInstanceStore - network = XendAPIInstanceStore.get( + network = XendAPIStore.get( cfg_xenapi.get('network'), 'network') dev_info['bridge'] = network.get_name_label() _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |