public final class L2ForwardServiceImpl extends Object implements L2ForwardService
| Constructor and Description |
|---|
L2ForwardServiceImpl(org.onosproject.core.ApplicationId appId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
programLocalBcastRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
org.onosproject.net.PortNumber inPort,
Iterable<org.onosproject.net.PortNumber> localVmPorts,
Iterable<org.onosproject.net.PortNumber> localTunnelPorts,
org.onosproject.net.flowobjective.Objective.Operation type)
The local broadcast rule that message matches Table(50).
|
void |
programLocalOut(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
org.onosproject.net.PortNumber outPort,
org.onlab.packet.MacAddress sourceMac,
org.onosproject.net.flowobjective.Objective.Operation type)
The local out rule that message matches Table(50).
|
void |
programTunnelBcastRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
Iterable<org.onosproject.net.PortNumber> localVmPorts,
Iterable<org.onosproject.net.PortNumber> localTunnelPorts,
org.onosproject.net.flowobjective.Objective.Operation type)
The tunnel broadcast rule that message matches Table(50).
|
void |
programTunnelOut(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
org.onosproject.net.PortNumber tunnelOutPort,
org.onlab.packet.MacAddress dstMac,
org.onosproject.net.flowobjective.Objective.Operation type,
org.onlab.packet.IpAddress ipAddress)
The tunnel out rule that message matches Table(50).
|
public static final Integer GROUP_ID
public L2ForwardServiceImpl(org.onosproject.core.ApplicationId appId)
appId - the application id of vtnpublic void programLocalBcastRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
org.onosproject.net.PortNumber inPort,
Iterable<org.onosproject.net.PortNumber> localVmPorts,
Iterable<org.onosproject.net.PortNumber> localTunnelPorts,
org.onosproject.net.flowobjective.Objective.Operation type)
L2ForwardServiceprogramLocalBcastRules in interface L2ForwardServicedeviceId - Device IdsegmentationId - the vnid of the host belong toinPort - the ingress port of the hostlocalVmPorts - the local ports of the network which connect hostlocalTunnelPorts - the tunnel pors of the devicetype - the operation of the flowpublic void programTunnelBcastRules(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
Iterable<org.onosproject.net.PortNumber> localVmPorts,
Iterable<org.onosproject.net.PortNumber> localTunnelPorts,
org.onosproject.net.flowobjective.Objective.Operation type)
L2ForwardServiceprogramTunnelBcastRules in interface L2ForwardServicedeviceId - Device IdsegmentationId - the vnid of the host belong tolocalVmPorts - the local ports of the network which connect hostlocalTunnelPorts - the tunnel pors of the devicetype - the operation of the flowpublic void programLocalOut(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
org.onosproject.net.PortNumber outPort,
org.onlab.packet.MacAddress sourceMac,
org.onosproject.net.flowobjective.Objective.Operation type)
L2ForwardServiceprogramLocalOut in interface L2ForwardServicedeviceId - Device IdsegmentationId - the vnid of the host belong tooutPort - the ingress port of the hostsourceMac - the mac of the hosttype - the operation of the flowpublic void programTunnelOut(org.onosproject.net.DeviceId deviceId,
org.onosproject.vtnrsc.SegmentationId segmentationId,
org.onosproject.net.PortNumber tunnelOutPort,
org.onlab.packet.MacAddress dstMac,
org.onosproject.net.flowobjective.Objective.Operation type,
org.onlab.packet.IpAddress ipAddress)
L2ForwardServiceprogramTunnelOut in interface L2ForwardServicedeviceId - Device IdsegmentationId - the vnid of the host belong totunnelOutPort - the port of the tunneldstMac - the mac of the hosttype - the operation of the flowipAddress - the ipAddress of the nodeCopyright © 2016. All rights reserved.