public interface PortPairGroupService extends org.onosproject.event.ListenerService<PortPairGroupEvent,PortPairGroupListener>
| Modifier and Type | Method and Description |
|---|---|
boolean |
createPortPairGroup(PortPairGroup portPairGroup)
Creates a PortPairGroup in the store.
|
boolean |
exists(PortPairGroupId portPairGroupId)
Returns if the port pair group is existed.
|
PortPairGroup |
getPortPairGroup(PortPairGroupId portPairGroupId)
Returns the portPairGroup with the given identifier.
|
int |
getPortPairGroupCount()
Returns the number of port pair groups known to the system.
|
Iterable<PortPairGroup> |
getPortPairGroups()
Returns an iterable collection of the currently known port pair groups.
|
boolean |
removePortPairGroup(PortPairGroupId portPairGroupId)
Deletes portPairGroup by given portPairGroupId.
|
boolean |
updatePortPairGroup(PortPairGroup portPairGroup)
Updates the portPairGroup in the store.
|
boolean exists(PortPairGroupId portPairGroupId)
portPairGroupId - port pair group identifierint getPortPairGroupCount()
Iterable<PortPairGroup> getPortPairGroups()
PortPairGroup getPortPairGroup(PortPairGroupId portPairGroupId)
portPairGroupId - port pair group identifierboolean createPortPairGroup(PortPairGroup portPairGroup)
portPairGroup - the port pair group to createboolean updatePortPairGroup(PortPairGroup portPairGroup)
portPairGroup - the port pair group to updateboolean removePortPairGroup(PortPairGroupId portPairGroupId)
portPairGroupId - id of port pair group to remove