Esempio n. 1
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)
Esempio n. 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)
Esempio n. 3
0
 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)
Esempio n. 4
0
 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)