Package org.onosproject.net.behaviour
Interface ControllerConfig
-
- All Superinterfaces:
Behaviour
,HandlerBehaviour
public interface ControllerConfig extends HandlerBehaviour
Device behaviour to obtain, set and remove controllers at the device.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.List<ControllerInfo>
getControllers()
Obtain the list of controller which are currently configured.default void
removeControllers(java.util.List<ControllerInfo> controllers)
Remove a list of controllers on a device.void
setControllers(java.util.List<ControllerInfo> controllers)
Set a list of controllers on a device.-
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler
-
-
-
-
Method Detail
-
getControllers
java.util.List<ControllerInfo> getControllers()
Obtain the list of controller which are currently configured.- Returns:
- a list for controller descriptions
-
setControllers
void setControllers(java.util.List<ControllerInfo> controllers)
Set a list of controllers on a device.- Parameters:
controllers
- a list of controller descriptions
-
removeControllers
default void removeControllers(java.util.List<ControllerInfo> controllers)
Remove a list of controllers on a device.- Parameters:
controllers
- a list of controller descriptions
-
-