@Service(value=CordVtnPipeline.class) public final class CordVtnPipeline extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.core.CoreService |
coreService |
protected org.onosproject.net.device.DeviceService |
deviceService |
protected org.onosproject.net.flow.FlowRuleService |
flowRuleService |
protected org.slf4j.Logger |
log |
static int |
PRIORITY_DEFAULT |
static int |
PRIORITY_HIGH |
static int |
PRIORITY_LOW |
static int |
PRIORITY_MANAGEMENT |
static int |
PRIORITY_ZERO |
static int |
TABLE_ACCESS_TYPE |
static int |
TABLE_DST_IP |
static int |
TABLE_IN_PORT |
static int |
TABLE_IN_SERVICE |
static int |
TABLE_TUNNEL_IN |
static int |
TABLE_VLAN |
static int |
TABLE_ZERO |
static org.onlab.packet.VlanId |
VLAN_WAN |
static int |
VXLAN_UDP_PORT |
| Constructor and Description |
|---|
CordVtnPipeline() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
protected void |
deactivate() |
void |
flushRules()
Flush flows installed by this application.
|
void |
initPipeline(CordVtnNode node,
org.onosproject.net.PortNumber dpPort,
org.onosproject.net.PortNumber tunnelPort)
Installs table miss rule to a give device.
|
void |
processFlowRule(boolean install,
org.onosproject.net.flow.FlowRule rule) |
org.onosproject.net.flow.instructions.ExtensionTreatment |
tunnelDstTreatment(org.onosproject.net.DeviceId deviceId,
org.onlab.packet.Ip4Address remoteIp) |
protected final org.slf4j.Logger log
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.flow.FlowRuleService flowRuleService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.device.DeviceService deviceService
public static final int TABLE_ZERO
public static final int TABLE_IN_PORT
public static final int TABLE_ACCESS_TYPE
public static final int TABLE_IN_SERVICE
public static final int TABLE_DST_IP
public static final int TABLE_TUNNEL_IN
public static final int TABLE_VLAN
public static final int PRIORITY_MANAGEMENT
public static final int PRIORITY_HIGH
public static final int PRIORITY_DEFAULT
public static final int PRIORITY_LOW
public static final int PRIORITY_ZERO
public static final int VXLAN_UDP_PORT
public static final org.onlab.packet.VlanId VLAN_WAN
@Activate protected void activate()
@Deactivate protected void deactivate()
public void flushRules()
public void initPipeline(CordVtnNode node, org.onosproject.net.PortNumber dpPort, org.onosproject.net.PortNumber tunnelPort)
node - cordvtn nodedpPort - data plane port numbertunnelPort - tunnel port numberpublic void processFlowRule(boolean install,
org.onosproject.net.flow.FlowRule rule)
public org.onosproject.net.flow.instructions.ExtensionTreatment tunnelDstTreatment(org.onosproject.net.DeviceId deviceId,
org.onlab.packet.Ip4Address remoteIp)
Copyright © 2016. All rights reserved.