@Service public class FlowObjectiveCompositionManager extends Object implements org.onosproject.net.flowobjective.FlowObjectiveService
| Modifier and Type | Class and Description |
|---|---|
static class |
FlowObjectiveCompositionManager.PolicyOperator |
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.cluster.ClusterService |
clusterService |
protected org.onosproject.net.driver.DefaultDriverProviderService |
defaultDriverService |
protected org.onosproject.net.device.DeviceService |
deviceService |
protected org.onosproject.net.driver.DriverService |
driverService |
protected org.onosproject.net.flowobjective.FlowObjectiveStore |
flowObjectiveStore |
protected org.onosproject.net.flow.FlowRuleService |
flowRuleService |
protected org.onosproject.net.group.GroupService |
groupService |
static int |
INSTALL_RETRY_ATTEMPTS |
static long |
INSTALL_RETRY_INTERVAL |
protected org.onosproject.mastership.MastershipService |
mastershipService |
protected org.onlab.osgi.ServiceDirectory |
serviceDirectory |
| Constructor and Description |
|---|
FlowObjectiveCompositionManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
int |
allocateNextId() |
protected void |
deactivate() |
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) |
static String |
forwardingObjectiveToString(org.onosproject.net.flowobjective.ForwardingObjective forwardingObjective) |
List<String> |
getNextMappings() |
List<String> |
getPendingNexts() |
void |
initPolicy(String policy) |
void |
next(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.flowobjective.NextObjective nextObjective) |
public static final int INSTALL_RETRY_ATTEMPTS
public static final long INSTALL_RETRY_INTERVAL
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.driver.DriverService driverService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.device.DeviceService deviceService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.mastership.MastershipService mastershipService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.ClusterService clusterService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.flow.FlowRuleService flowRuleService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.group.GroupService groupService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.flowobjective.FlowObjectiveStore flowObjectiveStore
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.driver.DefaultDriverProviderService defaultDriverService
protected org.onlab.osgi.ServiceDirectory serviceDirectory
@Activate protected void activate()
@Deactivate protected void deactivate()
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(String policy)
initPolicy in interface org.onosproject.net.flowobjective.FlowObjectiveServicepublic static String forwardingObjectiveToString(org.onosproject.net.flowobjective.ForwardingObjective forwardingObjective)
public List<String> getNextMappings()
getNextMappings in interface org.onosproject.net.flowobjective.FlowObjectiveService