summaryrefslogtreecommitdiffstats
path: root/nova/manager.py
diff options
context:
space:
mode:
authorTodd Willey <todd@ansolabs.com>2010-09-28 23:38:32 -0400
committerTodd Willey <todd@ansolabs.com>2010-09-28 23:38:32 -0400
commitb784836118d5900330c76863decd504ec7bd6a77 (patch)
tree8afdc39565488b872ed5360da340ea8284ad5ec1 /nova/manager.py
parentc4df3d63c83c073664a9ed0abaefe2adbe4cd061 (diff)
parent3ebea539c25f913a22f86e7dd500bf5d7771614f (diff)
downloadnova-b784836118d5900330c76863decd504ec7bd6a77.tar.gz
nova-b784836118d5900330c76863decd504ec7bd6a77.tar.xz
nova-b784836118d5900330c76863decd504ec7bd6a77.zip
Merge trunk and fix test.
Diffstat (limited to 'nova/manager.py')
-rw-r--r--nova/manager.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/nova/manager.py b/nova/manager.py
index e9aa50c56..94e4ae959 100644
--- a/nova/manager.py
+++ b/nova/manager.py
@@ -37,3 +37,10 @@ class Manager(object):
if not db_driver:
db_driver = FLAGS.db_driver
self.db = utils.import_object(db_driver) # pylint: disable-msg=C0103
+
+ def init_host(self):
+ """Do any initialization that needs to be run if this is a standalone service.
+
+ Child classes should override this method.
+ """
+ pass