summaryrefslogtreecommitdiffstats
path: root/nova/manager.py
diff options
context:
space:
mode:
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 0694907bd..56ba7d3f6 100644
--- a/nova/manager.py
+++ b/nova/manager.py
@@ -43,3 +43,10 @@ class Manager(object):
def periodic_tasks(self, context=None):
"""Tasks to be run at a periodic interval"""
yield
+
+ 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