WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] XendDomainConfig.py is not used.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] XendDomainConfig.py is not used.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Wed, 01 Jun 2005 09:43:50 +0000
Delivery-date: Wed, 01 Jun 2005 13:03:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1896, 2005/06/01 10:43:50+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        XendDomainConfig.py is not used.
        Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



 XendDomainConfig.py |   44 --------------------------------------------
 1 files changed, 44 deletions(-)


diff -Nru a/tools/python/xen/xend/XendDomainConfig.py 
b/tools/python/xen/xend/XendDomainConfig.py
--- a/tools/python/xen/xend/XendDomainConfig.py 2005-06-01 09:03:58 -04:00
+++ /dev/null   Wed Dec 31 16:00:00 196900
@@ -1,44 +0,0 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
-
-"""Handler for persistent domain configs.
-
-"""
-
-import sxp
-import XendDB
-import XendDomain
-
-__all__ = [ "XendDomainConfig" ]
-
-class XendDomainConfig:
-
-    dbpath = 'config'
-
-    def __init__(self):
-        self.db = XendDB.XendDB(self.dbpath)
-
-    def domain_config_ls(self, path):
-        return self.db.ls(path)
-
-    def domain_config_create(self, path, sxpr):
-        self.db.save(path, sxpr)
-        pass
-
-    def domain_config_delete(self, path):
-        self.db.delete(path)
-
-    def domain_config_instance(self, path):
-        """Create a domain from a config.
-        """
-        config = self.db.fetch(path)
-        xd = XendDomain.instance()
-        newdom = xd.domain_create(config)
-        return newdom
-
-def instance():
-    global inst
-    try:
-        inst
-    except:
-        inst = XendDomainConfig()
-    return inst

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>