@Test public void testGetControllers() throws Exception { }
@Override public List<ControllerInfo> getControllers() { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); Set<ControllerInfo> controllers = clientService.getControllers( handler().data().deviceId()); return new ArrayList<>(controllers); }
OvsdbControllerConfig extends AbstractHandlerBehaviour implements ControllerConfig { @Override public List<ControllerInfo> getControllers() { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); Set<ControllerInfo> controllers = clientService.getControllers( handler().data().deviceId()); return new ArrayList<>(controllers); } }
OvsdbControllerConfig extends AbstractHandlerBehaviour implements ControllerConfig { @Override public List<ControllerInfo> getControllers() { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); Set<ControllerInfo> controllers = clientService.getControllers( handler().data().deviceId()); return new ArrayList<>(controllers); }  }
OvsdbControllerConfig extends AbstractHandlerBehaviour implements ControllerConfig { @Override public List<ControllerInfo> getControllers() { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); Set<ControllerInfo> controllers = clientService.getControllers( handler().data().deviceId()); return new ArrayList<>(controllers); }  @Override List<ControllerInfo> getControllers(); @Override void setControllers(List<ControllerInfo> controllers); }
OvsdbControllerConfig extends AbstractHandlerBehaviour implements ControllerConfig { @Override public List<ControllerInfo> getControllers() { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); Set<ControllerInfo> controllers = clientService.getControllers( handler().data().deviceId()); return new ArrayList<>(controllers); }  @Override List<ControllerInfo> getControllers(); @Override void setControllers(List<ControllerInfo> controllers);  }