public interface ClassifierService
| Modifier and Type | Method and Description |
|---|---|
void |
programArpClassifierRules(org.onosproject.net.DeviceId deviceId,
org.onlab.packet.IpAddress dstIp,
org.onosproject.vtnrsc.SegmentationId actionVni,
org.onosproject.net.flowobjective.Objective.Operation type)
Assemble the Arp Classifier table rules.
|
void |
programL3ExPortClassifierRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber inPort,
org.onlab.packet.IpAddress dstIp,
org.onosproject.net.flowobjective.Objective.Operation type)
Assemble the L3 Classifier table rules which are sended from external port.
|
void |
programL3InPortClassifierRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber inPort,
org.onlab.packet.MacAddress srcMac,
org.onlab.packet.MacAddress dstMac,
org.onosproject.vtnrsc.SegmentationId actionVni,
org.onosproject.net.flowobjective.Objective.Operation type)
Assemble the L3 Classifier table rules which are sended from internal port.
|
void |
programLocalIn(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
org.onosproject.net.PortNumber inPort,
org.onlab.packet.MacAddress srcMac,
org.onosproject.core.ApplicationId appId,
org.onosproject.net.flowobjective.Objective.Operation type)
The port rule that message from host matches Table(0) Match: host mac and
ingress port Action: set vnid and go to L2Forward Table(50).
|
void |
programTunnelIn(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
Iterable<org.onosproject.net.PortNumber> localTunnelPorts,
org.onosproject.net.flowobjective.Objective.Operation type)
The port rule that message from tunnel Table(0) Match: tunnel port and
vnid Action: go to L2Forward Table(50).
|
void programLocalIn(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
org.onosproject.net.PortNumber inPort,
org.onlab.packet.MacAddress srcMac,
org.onosproject.core.ApplicationId appId,
org.onosproject.net.flowobjective.Objective.Operation type)
deviceId - Device IdsegmentationId - the vnid of the host belong toinPort - the ingress port of the hostsrcMac - the mac of the hostappId - the application ID of the vtntype - the operation of the flowvoid programTunnelIn(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
Iterable<org.onosproject.net.PortNumber> localTunnelPorts,
org.onosproject.net.flowobjective.Objective.Operation type)
deviceId - Device IdsegmentationId - the vnid of the host belong tolocalTunnelPorts - the tunnel pors of the devicetype - the operation of the flowvoid programL3ExPortClassifierRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber inPort,
org.onlab.packet.IpAddress dstIp,
org.onosproject.net.flowobjective.Objective.Operation type)
deviceId - Device IdinPort - external portdstIp - floating iptype - the operation type of the flow rulesvoid programL3InPortClassifierRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber inPort,
org.onlab.packet.MacAddress srcMac,
org.onlab.packet.MacAddress dstMac,
org.onosproject.vtnrsc.SegmentationId actionVni,
org.onosproject.net.flowobjective.Objective.Operation type)
deviceId - Device IdinPort - the ingress port of the hostsrcMac - source macdstMac - destination vm gateway macactionVni - the vni of L3 networktype - the operation type of the flow rulesvoid programArpClassifierRules(org.onosproject.net.DeviceId deviceId,
org.onlab.packet.IpAddress dstIp,
org.onosproject.vtnrsc.SegmentationId actionVni,
org.onosproject.net.flowobjective.Objective.Operation type)
deviceId - Device IddstIp - source gateway ipactionVni - the vni of the source network (l2vni)type - the operation type of the flow rulesCopyright © 2016. All rights reserved.