Added offical pre and post install and having glance use that + the main runner. Some cleanups to the creator of image classes.

This commit is contained in:
Joshua Harlow
2012-01-21 10:58:09 -08:00
parent 86c8e041b6
commit 692d7cd9f4
11 changed files with 51 additions and 34 deletions

View File

@@ -22,6 +22,7 @@ from devstack import utils
LOG = logging.getLogger("devstack.components.quantum")
TYPE = constants.QUANTUM
class QuantumUninstaller(comp.UninstallComponent):
def __init__(self, *args, **kargs):
comp.UninstallComponent.__init__(self)
@@ -48,7 +49,7 @@ class QuantumInstaller(comp.InstallComponent):
def install(self):
pass
def post_install(self):
pass
@@ -68,4 +69,3 @@ class QuantumRuntime(comp.RuntimeComponent):
def restart(self):
pass