public interface PortChainService extends org.onosproject.event.ListenerService<PortChainEvent,PortChainListener>
| Modifier and Type | Method and Description |
|---|---|
boolean |
createPortChain(PortChain portChain)
Creates a PortChain in the store.
|
boolean |
exists(PortChainId portChainId)
Returns if the port chain is existed.
|
PortChain |
getPortChain(PortChainId portChainId)
Returns the portChain with the given identifier.
|
int |
getPortChainCount()
Returns the number of port chains known to the system.
|
Iterable<PortChain> |
getPortChains()
Returns an iterable collection of the currently known port chains.
|
boolean |
removePortChain(PortChainId portChainId)
Deletes portChain by given portChainId.
|
boolean |
updatePortChain(PortChain portChain)
Updates the portChain in the store.
|
boolean exists(PortChainId portChainId)
portChainId - port chain identifierint getPortChainCount()
Iterable<PortChain> getPortChains()
PortChain getPortChain(PortChainId portChainId)
portChainId - port chain identifierboolean createPortChain(PortChain portChain)
portChain - the port chain to createboolean updatePortChain(PortChain portChain)
portChain - the port chain to updateboolean removePortChain(PortChainId portChainId)
portChainId - id of port chain to remove