Updating DefaultOvsdbClient
- Updating setControllerAuto to use setControllersWithUUID
and cleaned up unnecessary conversions
- Removed commented out code in setControllersWithUUID
- Removed old setControllers method
Change-Id: I1ee89d5237e58b64e880d9a6db4cee16815dd9a8
diff --git a/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/OvsdbClientService.java b/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/OvsdbClientService.java
index 833f5fe..f2ff070 100644
--- a/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/OvsdbClientService.java
+++ b/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/OvsdbClientService.java
@@ -93,18 +93,24 @@
Set<ControllerInfo> getControllers(DeviceId openflowDeviceId);
/**
- * sets the controllers of the node to the ones passed in the list.
+ * Sets the Controllers for the specified bridge.
+ * <p/>
+ * This method will replace the existing controller list with the new controller
+ * list.
*
- * @param bridgeUuid UUid for the bridge we are settings the controls on
- * @param controllers of controllers; empty if no controller is find
+ * @param bridgeUuid bridge uuid
+ * @param controllers list of controllers
*/
void setControllersWithUUID(UUID bridgeUuid, List<ControllerInfo> controllers);
/**
- * sets the controllers of the node to the ones passed in the list.
+ * Sets the Controllers for the specified device.
+ * <p/>
+ * This method will replace the existing controller list with the new controller
+ * list.
*
- * @param deviceId deviceId for the bridge we are settings the controls on
- * @param controllers of controllers; empty if no controller is find
+ * @param deviceId device id (likely Openflow device)
+ * @param controllers list of controllers
*/
void setControllersWithDeviceId(DeviceId deviceId, List<ControllerInfo> controllers);