@Test public void testSetControllers() throws Exception { }
@Override public void setControllers(List<ControllerInfo> controllers) { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); if (!clientService.getControllers(handler().data().deviceId()) .equals(ImmutableSet.copyOf(controllers))) { clientService.setControllersWithDeviceId(handler(). data().deviceId(), controllers); } }
OvsdbControllerConfig extends AbstractHandlerBehaviour implements ControllerConfig { @Override public void setControllers(List<ControllerInfo> controllers) { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); if (!clientService.getControllers(handler().data().deviceId()) .equals(ImmutableSet.copyOf(controllers))) { clientService.setControllersWithDeviceId(handler(). data().deviceId(), controllers); } } }
OvsdbControllerConfig extends AbstractHandlerBehaviour implements ControllerConfig { @Override public void setControllers(List<ControllerInfo> controllers) { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); if (!clientService.getControllers(handler().data().deviceId()) .equals(ImmutableSet.copyOf(controllers))) { clientService.setControllersWithDeviceId(handler(). data().deviceId(), controllers); } }  }
OvsdbControllerConfig extends AbstractHandlerBehaviour implements ControllerConfig { @Override public void setControllers(List<ControllerInfo> controllers) { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); if (!clientService.getControllers(handler().data().deviceId()) .equals(ImmutableSet.copyOf(controllers))) { clientService.setControllersWithDeviceId(handler(). data().deviceId(), controllers); } }  @Override List<ControllerInfo> getControllers(); @Override void setControllers(List<ControllerInfo> controllers); }
OvsdbControllerConfig extends AbstractHandlerBehaviour implements ControllerConfig { @Override public void setControllers(List<ControllerInfo> controllers) { DriverHandler handler = handler(); OvsdbClientService clientService = getOvsdbClientService(handler); if (!clientService.getControllers(handler().data().deviceId()) .equals(ImmutableSet.copyOf(controllers))) { clientService.setControllersWithDeviceId(handler(). data().deviceId(), controllers); } }  @Override List<ControllerInfo> getControllers(); @Override void setControllers(List<ControllerInfo> controllers);  }