@Service public class DefaultCordVtnPipeline extends Object implements CordVtnPipeline
| 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 |
PRIORITY_DEFAULT, PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MANAGEMENT, PRIORITY_ZERO, TABLE_ACCESS, TABLE_DST, TABLE_IN_PORT, TABLE_IN_SERVICE, TABLE_TUNNEL_IN, TABLE_VLAN, TABLE_ZERO, VLAN_WAN| Constructor and Description |
|---|
DefaultCordVtnPipeline() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
void |
cleanupPipeline()
Clean up the pipeline for all nodes.
|
protected void |
deactivate() |
void |
initPipeline(CordVtnNode node)
Initializes the pipeline for the supplied node.
|
void |
processFlowRule(boolean install,
org.onosproject.net.flow.FlowRule rule)
Processes the given flow rule.
|
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
@Activate protected void activate()
@Deactivate protected void deactivate()
public void cleanupPipeline()
CordVtnPipelinecleanupPipeline in interface CordVtnPipelinepublic void initPipeline(CordVtnNode node)
CordVtnPipelineinitPipeline in interface CordVtnPipelinenode - cordvtn nodepublic void processFlowRule(boolean install,
org.onosproject.net.flow.FlowRule rule)
CordVtnPipelineprocessFlowRule in interface CordVtnPipelineinstall - install or removerule - flow rule to processCopyright © 2018. All rights reserved.