use of org.onosproject.fnl.intf.NetworkDiagnosticService in project onos by opennetworkinglab.
the class TsCheckLoop method doExecute.
@Override
protected void doExecute() {
NetworkDiagnosticService service = getService(NetworkDiagnosticService.class);
DeviceService ds = getService(DeviceService.class);
HostService hs = getService(HostService.class);
FlowRuleService frs = getService(FlowRuleService.class);
LinkService ls = getService(LinkService.class);
service.findAnomalies(NetworkDiagnostic.Type.LOOP).forEach(loop -> print(loop.toString()));
}
use of org.onosproject.fnl.intf.NetworkDiagnosticService in project onos by opennetworkinglab.
the class TsAllAnomalies method doExecute.
@Override
protected void doExecute() {
NetworkDiagnosticService service = getService(NetworkDiagnosticService.class);
service.findAnomalies().forEach(a -> print(a.toString()));
}
Aggregations