public interface PortPairService extends org.onosproject.event.ListenerService<PortPairEvent,PortPairListener>
| Modifier and Type | Method and Description |
|---|---|
boolean |
createPortPair(PortPair portPair)
Creates a PortPair in the store.
|
boolean |
exists(PortPairId portPairId)
Returns if the port pair is existed.
|
PortPair |
getPortPair(PortPairId portPairId)
Returns the portPair with the given identifier.
|
int |
getPortPairCount()
Returns the number of port pairs known to the system.
|
Iterable<PortPair> |
getPortPairs()
Returns an iterable collection of the currently known port pairs.
|
boolean |
removePortPair(PortPairId portPairId)
Deletes portPair by given portPairId.
|
boolean |
updatePortPair(PortPair portPair)
Updates the portPair in the store.
|
boolean exists(PortPairId portPairId)
portPairId - port pair identifierint getPortPairCount()
Iterable<PortPair> getPortPairs()
PortPair getPortPair(PortPairId portPairId)
portPairId - port pair identifierboolean createPortPair(PortPair portPair)
portPair - the port pair to createboolean updatePortPair(PortPair portPair)
portPair - the port pair to updateboolean removePortPair(PortPairId portPairId)
portPairId - id of port pair to remove