public interface GroupTracker
Facilitates:
When sending messages, MessageFutures are used to allow the caller
to determine the outcome of the request either synchronously or
asynchronously, at their preference.
| Modifier and Type | Method and Description |
|---|---|
List<MBodyGroupDescStats> |
getGroupDescription(DataPathId dpid)
Returns the group descriptions from the specified datapath.
|
MBodyGroupDescStats |
getGroupDescription(DataPathId dpid,
GroupId groupId)
Returns the group description for the given group ID, from the
specified datapath.
|
MBodyGroupFeatures |
getGroupFeatures(DataPathId dpid)
Returns the supported group features for the specified datapath.
|
List<MBodyGroupStats> |
getGroupStats(DataPathId dpid)
Returns the group statistics from the specified datapath.
|
MBodyGroupStats |
getGroupStats(DataPathId dpid,
GroupId groupId)
Returns the group statistics for the given group ID, from the specified
datapath.
|
MessageFuture |
sendGroupMod(OfmGroupMod groupMod,
DataPathId dpid)
Sends the given GroupMod message to the specified datapath.
|
List<MBodyGroupDescStats> getGroupDescription(DataPathId dpid)
Note that this is a synchronous call that blocks until all the group description replies have returned from the datapath.
dpid - the target datapathNullPointerException - if dpid is nullNotFoundException - if the specified datapath does not existVersionMismatchException - if datapath is not
OpenFlow 1.3 compliantMBodyGroupDescStats getGroupDescription(DataPathId dpid, GroupId groupId)
Note that this is a synchronous call that blocks until the group description reply has returned from the datapath.
dpid - the target datapathgroupId - the ID of the groupNullPointerException - if either parameter is nullNotFoundException - if the specified datapath or group
does not existVersionMismatchException - if datapath is not
OpenFlow 1.3 compliantList<MBodyGroupStats> getGroupStats(DataPathId dpid)
Note that this is a synchronous call that blocks until all the group statistics replies have returned from the datapath.
dpid - the target datapathNullPointerException - if dpid is nullNotFoundException - if the specified datapath does not existVersionMismatchException - if datapath is not
OpenFlow 1.3 compliantMBodyGroupStats getGroupStats(DataPathId dpid, GroupId groupId)
Note that this is a synchronous call that blocks until the group statistics reply has returned from the datapath.
dpid - the target datapathgroupId - the target group IDNullPointerException - if either parameter is nullNotFoundException - if the specified datapath or group
does not existVersionMismatchException - if datapath is not
OpenFlow 1.3 compliantMBodyGroupFeatures getGroupFeatures(DataPathId dpid)
Note that this is a synchronous call that blocks until the group features reply has returned from the datapath.
dpid - the target datapathNullPointerException - if dpid id nullNotFoundException - if the specified datapath does not existVersionMismatchException - if datapath is not
OpenFlow 1.3 compliantMessageFuture sendGroupMod(OfmGroupMod groupMod, DataPathId dpid) throws OpenflowException
Adds the group entry to the specified datapath if the message's
command is ADD.
Modifies the group entry on the specified datapath if the message's
command is MODIFY.
Deletes the group entry from the specified datapath if the message's
command is DELETE.
groupMod - the GroupMod message to senddpid - the target datapathNullPointerException - if either parameter is nullIllegalArgumentException - if groupMod is mutableNotFoundException - if the specified datapath does not existOpenflowException - if there was an issue sending the messageGroupModCommandCopyright © 2014. All Rights Reserved.