Package org.onosproject.net.group
Interface GroupProgrammable
-
- All Superinterfaces:
Behaviour
,HandlerBehaviour
public interface GroupProgrammable extends HandlerBehaviour
Group programmable device behaviour.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Collection<Group>
getGroups()
Queries the groups from the device.void
performGroupOperation(DeviceId deviceId, GroupOperations groupOps)
Performs the Group operations for the specified device.-
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler
-
-
-
-
Method Detail
-
performGroupOperation
void performGroupOperation(DeviceId deviceId, GroupOperations groupOps)
Performs the Group operations for the specified device.- Parameters:
deviceId
- ID of the devicegroupOps
- operations to be performed
-
getGroups
default java.util.Collection<Group> getGroups()
Queries the groups from the device.- Returns:
- collection of groups
-
-