public class VirtualNetworkFlowObjectiveManager extends AbstractVnetService implements org.onosproject.net.flowobjective.FlowObjectiveService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.net.device.DeviceService |
deviceService |
protected org.onosproject.net.flowobjective.FlowObjectiveStore |
flowObjectiveStore |
protected org.onosproject.net.flow.FlowRuleService |
flowRuleService |
static int |
INSTALL_RETRY_ATTEMPTS |
static long |
INSTALL_RETRY_INTERVAL |
protected VirtualNetworkFlowObjectiveStore |
virtualFlowObjectiveStore |
manager, networkId, serviceDirectory| Constructor and Description |
|---|
VirtualNetworkFlowObjectiveManager(VirtualNetworkService manager,
NetworkId networkId) |
| Modifier and Type | Method and Description |
|---|---|
int |
allocateNextId() |
void |
filter(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.flowobjective.FilteringObjective filteringObjective) |
void |
forward(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.flowobjective.ForwardingObjective forwardingObjective) |
java.util.List<java.lang.String> |
getNextMappings() |
java.util.Map<org.apache.commons.lang3.tuple.Pair<java.lang.Integer,org.onosproject.net.DeviceId>,java.util.List<java.lang.String>> |
getNextMappingsChain() |
java.util.List<java.lang.String> |
getPendingFlowObjectives() |
void |
initPolicy(java.lang.String policy) |
void |
next(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.flowobjective.NextObjective nextObjective) |
networkIdpublic static final int INSTALL_RETRY_ATTEMPTS
public static final long INSTALL_RETRY_INTERVAL
protected org.onosproject.net.device.DeviceService deviceService
protected org.onosproject.net.flow.FlowRuleService flowRuleService
protected VirtualNetworkFlowObjectiveStore virtualFlowObjectiveStore
protected org.onosproject.net.flowobjective.FlowObjectiveStore flowObjectiveStore
public VirtualNetworkFlowObjectiveManager(VirtualNetworkService manager, NetworkId networkId)
public void filter(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.flowobjective.FilteringObjective filteringObjective)
filter in interface org.onosproject.net.flowobjective.FlowObjectiveServicepublic void forward(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.flowobjective.ForwardingObjective forwardingObjective)
forward in interface org.onosproject.net.flowobjective.FlowObjectiveServicepublic void next(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.flowobjective.NextObjective nextObjective)
next in interface org.onosproject.net.flowobjective.FlowObjectiveServicepublic int allocateNextId()
allocateNextId in interface org.onosproject.net.flowobjective.FlowObjectiveServicepublic void initPolicy(java.lang.String policy)
initPolicy in interface org.onosproject.net.flowobjective.FlowObjectiveServicepublic java.util.Map<org.apache.commons.lang3.tuple.Pair<java.lang.Integer,org.onosproject.net.DeviceId>,java.util.List<java.lang.String>> getNextMappingsChain()
getNextMappingsChain in interface org.onosproject.net.flowobjective.FlowObjectiveServicepublic java.util.List<java.lang.String> getNextMappings()
getNextMappings in interface org.onosproject.net.flowobjective.FlowObjectiveServicepublic java.util.List<java.lang.String> getPendingFlowObjectives()
getPendingFlowObjectives in interface org.onosproject.net.flowobjective.FlowObjectiveService