Example #1
0
 def reconcile_device(self, device):
     log.info('reconcile-device', device_id=device.id)
     self.devices_handlers[device.id] = BrcmOpenomciOnuHandler(
         self, device.id)
     reactor.callLater(0, self.devices_handlers[device.id].reconcile,
                       device)
Example #2
0
 def adopt_device(self, device):
     log.info('adopt_device', device_id=device.id)
     self.devices_handlers[device.id] = BrcmOpenomciOnuHandler(
         self, device.id)
     reactor.callLater(0, self.devices_handlers[device.id].activate, device)
     return device