public interface VirtualNetworkFlowObjectiveStore extends VirtualStore<org.onosproject.net.flowobjective.ObjectiveEvent,org.onosproject.net.flowobjective.FlowObjectiveStoreDelegate>
| Modifier and Type | Method and Description |
|---|---|
int |
allocateNextId(NetworkId networkId)
Allocates a next objective id.
|
Map<Integer,org.onosproject.net.behaviour.NextGroup> |
getAllGroups(NetworkId networkId)
Fetch all groups from the store and their mapping to nextIds.
|
org.onosproject.net.behaviour.NextGroup |
getNextGroup(NetworkId networkId,
Integer nextId)
Fetch a next group from the store.
|
void |
putNextGroup(NetworkId networkId,
Integer nextId,
org.onosproject.net.behaviour.NextGroup group)
Adds a NextGroup to the store, by mapping it to the nextId as key,
and replacing any previous mapping.
|
org.onosproject.net.behaviour.NextGroup |
removeNextGroup(NetworkId networkId,
Integer nextId)
Remove a next group mapping from the store.
|
hasDelegate, setDelegate, unsetDelegatevoid putNextGroup(NetworkId networkId, Integer nextId, org.onosproject.net.behaviour.NextGroup group)
networkId - a virtual network identifiernextId - an integergroup - a next group opaque objectorg.onosproject.net.behaviour.NextGroup getNextGroup(NetworkId networkId, Integer nextId)
networkId - a virtual network identifiernextId - an integer used as keyorg.onosproject.net.behaviour.NextGroup removeNextGroup(NetworkId networkId, Integer nextId)
networkId - a virtual network identifiernextId - the key to remove from the store.Map<Integer,org.onosproject.net.behaviour.NextGroup> getAllGroups(NetworkId networkId)
networkId - a virtual network identifierint allocateNextId(NetworkId networkId)
networkId - a virtual network identifier