ia64/xen-unstable

changeset 5251:9d463569c705

bitkeeper revision 1.1159.258.162 (429d8356O4B1x4zcoZgFnPVsJ5OKMQ)

XendDomainConfig.py is not used.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Wed Jun 01 09:43:50 2005 +0000 (2005-06-01)
parents 49476fed0296
children f1a349430345 073dc14d65f6
files .rootkeys tools/python/xen/xend/XendDomainConfig.py
line diff
     1.1 --- a/.rootkeys	Tue May 31 13:32:53 2005 +0000
     1.2 +++ b/.rootkeys	Wed Jun 01 09:43:50 2005 +0000
     1.3 @@ -562,7 +562,6 @@ 40c9c468t6iIKTjwuYoe-UMCikDcOQ tools/pyt
     1.4  40c9c468WnXs6eOUSff23IIGI4kMfQ tools/python/xen/xend/XendDB.py
     1.5  40eee3a0sPO-WUu34uHUXOC7HliDGw tools/python/xen/xend/XendDmesg.py
     1.6  40c9c468fSl3H3IypyT0ppkbb0ZT9A tools/python/xen/xend/XendDomain.py
     1.7 -40c9c468bbKq3uC7_fuNUkiMMjArdw tools/python/xen/xend/XendDomainConfig.py
     1.8  40c9c4685ykq87_n1kVUbMr9flx9fg tools/python/xen/xend/XendDomainInfo.py
     1.9  40f50d99YiiaMI1fZBh1VCDFLD57qg tools/python/xen/xend/XendError.py
    1.10  40ffc44eGsgTEY355E3nN4mPLZHhMQ tools/python/xen/xend/XendLogging.py
     2.1 --- a/tools/python/xen/xend/XendDomainConfig.py	Tue May 31 13:32:53 2005 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,44 +0,0 @@
     2.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
     2.5 -
     2.6 -"""Handler for persistent domain configs.
     2.7 -
     2.8 -"""
     2.9 -
    2.10 -import sxp
    2.11 -import XendDB
    2.12 -import XendDomain
    2.13 -
    2.14 -__all__ = [ "XendDomainConfig" ]
    2.15 -
    2.16 -class XendDomainConfig:
    2.17 -
    2.18 -    dbpath = 'config'
    2.19 -
    2.20 -    def __init__(self):
    2.21 -        self.db = XendDB.XendDB(self.dbpath)
    2.22 -
    2.23 -    def domain_config_ls(self, path):
    2.24 -        return self.db.ls(path)
    2.25 -
    2.26 -    def domain_config_create(self, path, sxpr):
    2.27 -        self.db.save(path, sxpr)
    2.28 -        pass
    2.29 -
    2.30 -    def domain_config_delete(self, path):
    2.31 -        self.db.delete(path)
    2.32 -
    2.33 -    def domain_config_instance(self, path):
    2.34 -        """Create a domain from a config.
    2.35 -        """
    2.36 -        config = self.db.fetch(path)
    2.37 -        xd = XendDomain.instance()
    2.38 -        newdom = xd.domain_create(config)
    2.39 -        return newdom
    2.40 -
    2.41 -def instance():
    2.42 -    global inst
    2.43 -    try:
    2.44 -        inst
    2.45 -    except:
    2.46 -        inst = XendDomainConfig()
    2.47 -    return inst