summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2010-12-22 21:38:44 +0000
committerVishvananda Ishaya <vishvananda@gmail.com>2010-12-22 21:38:44 +0000
commitd0807b0e7290bcb1dfd7449470bc2def903272be (patch)
tree6aec6658eb298fbcc5acfa011c925ff44ea771ba /nova/compute
parent9e42bc18a12fe19ae333a3447d153bf3796d54d7 (diff)
parenteb64fe72160ca7c68809eaf0af91768f4eb5d8e8 (diff)
downloadnova-d0807b0e7290bcb1dfd7449470bc2def903272be.tar.gz
nova-d0807b0e7290bcb1dfd7449470bc2def903272be.tar.xz
nova-d0807b0e7290bcb1dfd7449470bc2def903272be.zip
merged trunk
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/manager.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index 923378352..de114bdeb 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -68,6 +68,12 @@ class ComputeManager(manager.Manager):
self.volume_manager = utils.import_object(FLAGS.volume_manager)
super(ComputeManager, self).__init__(*args, **kwargs)
+ def init_host(self):
+ """Do any initialization that needs to be run if this is a
+ standalone service.
+ """
+ self.driver.init_host()
+
def _update_state(self, context, instance_id):
"""Update the state of an instance from the driver info."""
# FIXME(ja): include other fields from state?