コード例 #1
0
ファイル: manager.py プロジェクト: AsherBond/dodai-compute
    def periodic_tasks(self, context=None):
        """Pass data back to the scheduler at a periodic interval."""
        if self.last_capabilities:
            LOG.debug(_('Notifying Schedulers of capabilities ...'))
            api.update_service_capabilities(context, self.service_name,
                                self.host, self.last_capabilities)

        super(SchedulerDependentManager, self).periodic_tasks(context)
コード例 #2
0
    def periodic_tasks(self, context=None):
        """Pass data back to the scheduler at a periodic interval."""
        if self.last_capabilities:
            LOG.debug(_('Notifying Schedulers of capabilities ...'))
            api.update_service_capabilities(context, self.service_name,
                                            self.host, self.last_capabilities)

        super(SchedulerDependentManager, self).periodic_tasks(context)
コード例 #3
0
ファイル: manager.py プロジェクト: bopopescu/openstack-12
 def _publish_service_capabilities(self, context):
     """Pass data back to the scheduler at a periodic interval."""
     if self.last_capabilities:
         LOG.debug(_('Notifying Schedulers of capabilities ...'))
         api.update_service_capabilities(context, self.service_name,
                                         self.host, self.last_capabilities)
コード例 #4
0
ファイル: manager.py プロジェクト: usc-isi/extra-specs
 def _publish_service_capabilities(self, context):
     """Pass data back to the scheduler at a periodic interval."""
     if self.last_capabilities:
         LOG.debug(_('Notifying Schedulers of capabilities ...'))
         api.update_service_capabilities(context, self.service_name,
                             self.host, self.last_capabilities)