Exemple #1
0
    def health(self):
        """
        Return a 3-state health status using the voltha.HealthStatus message.

        :return: Deferred or direct return with voltha.HealthStatus message
        """
        log.debug('get health', interface=self.interface)
        return HealthStatus(state=HealthStatus.HealthState.HEALTHY)
Exemple #2
0
 def health(self):
     return HealthStatus(state=HealthStatus.HealthState.HEALTHY)