public class FlowEntryBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FlowEntryBuilder.FlowType |
| Constructor and Description |
|---|
FlowEntryBuilder(org.onosproject.net.DeviceId deviceId,
org.projectfloodlight.openflow.protocol.OFFlowMod fm,
org.onosproject.net.driver.DriverService driverService) |
FlowEntryBuilder(org.onosproject.net.DeviceId deviceId,
org.projectfloodlight.openflow.protocol.OFFlowRemoved removed,
org.onosproject.net.driver.DriverService driverService) |
FlowEntryBuilder(org.onosproject.net.DeviceId deviceId,
org.projectfloodlight.openflow.protocol.OFFlowStatsEntry entry,
org.onosproject.net.driver.DriverService driverService) |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.flow.FlowEntry |
build(org.onosproject.net.flow.FlowEntry.FlowEntryState... state) |
static org.onosproject.net.flow.TrafficTreatment.Builder |
configureTreatmentBuilder(List<org.projectfloodlight.openflow.protocol.action.OFAction> actions,
org.onosproject.net.flow.TrafficTreatment.Builder builder,
org.onosproject.net.driver.DriverHandler driverHandler,
org.onosproject.net.DeviceId deviceId)
Configures traffic treatment builder with a given collection of actions.
|
public FlowEntryBuilder(org.onosproject.net.DeviceId deviceId,
org.projectfloodlight.openflow.protocol.OFFlowStatsEntry entry,
org.onosproject.net.driver.DriverService driverService)
public FlowEntryBuilder(org.onosproject.net.DeviceId deviceId,
org.projectfloodlight.openflow.protocol.OFFlowRemoved removed,
org.onosproject.net.driver.DriverService driverService)
public FlowEntryBuilder(org.onosproject.net.DeviceId deviceId,
org.projectfloodlight.openflow.protocol.OFFlowMod fm,
org.onosproject.net.driver.DriverService driverService)
public org.onosproject.net.flow.FlowEntry build(org.onosproject.net.flow.FlowEntry.FlowEntryState... state)
public static org.onosproject.net.flow.TrafficTreatment.Builder configureTreatmentBuilder(List<org.projectfloodlight.openflow.protocol.action.OFAction> actions, org.onosproject.net.flow.TrafficTreatment.Builder builder, org.onosproject.net.driver.DriverHandler driverHandler, org.onosproject.net.DeviceId deviceId)
actions - a set of OpenFlow actionsbuilder - traffic treatment builderdriverHandler - driver handlerdeviceId - device identifier