Package org.onosproject.net.pi.service
Interface PiPipeconfWatchdogService
- 
- All Superinterfaces:
- ListenerService<PiPipeconfWatchdogEvent,PiPipeconfWatchdogListener>
 
 @Beta public interface PiPipeconfWatchdogService extends ListenerService<PiPipeconfWatchdogEvent,PiPipeconfWatchdogListener> Service that periodically probes pipeline programmable devices, to check that their pipeline is configured with the expected pipeconf. It emits events about pipeline status changes.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classPiPipeconfWatchdogService.PipelineStatusStatus of a device pipeline.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description PiPipeconfWatchdogService.PipelineStatusgetStatus(DeviceId deviceId)Returns the last known pipeline status of the given device.voidtriggerProbe(DeviceId deviceId)Asynchronously triggers a probe task that checks the device pipeline status and, if required, configures it with the pipeconf associated to this device (viaPiPipeconfService.bindToDevice(PiPipeconfId, DeviceId)).- 
Methods inherited from interface org.onosproject.event.ListenerServiceaddListener, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
triggerProbevoid triggerProbe(DeviceId deviceId) Asynchronously triggers a probe task that checks the device pipeline status and, if required, configures it with the pipeconf associated to this device (viaPiPipeconfService.bindToDevice(PiPipeconfId, DeviceId)).- Parameters:
- deviceId- device to probe
 
 - 
getStatusPiPipeconfWatchdogService.PipelineStatus getStatus(DeviceId deviceId) Returns the last known pipeline status of the given device.- Parameters:
- deviceId- device ID
- Returns:
- pipeline status
 
 
- 
 
-