Merge "nova-compute sends its capabilities to schedulers ASAP"

This commit is contained in:
Jenkins 2012-10-24 20:56:24 +00:00 committed by Gerrit Code Review
commit 1123c87e58

View File

@ -339,6 +339,9 @@ class ComputeManager(manager.SchedulerDependentManager):
if FLAGS.defer_iptables_apply:
self.driver.filter_defer_apply_off()
self._report_driver_status(context)
self._publish_service_capabilities(context)
def _get_power_state(self, context, instance):
"""Retrieve the power state for the given instance."""
LOG.debug(_('Checking state'), instance=instance)