use of org.onosproject.net.packet.OutboundPacket in project fabric-tna by stratum.
the class FabricUpfProgrammable method sendPacketOut.
@Override
public void sendPacketOut(ByteBuffer data) {
if (!setupBehaviour("sendPacketOut()")) {
return;
}
final OutboundPacket pkt = new DefaultOutboundPacket(deviceId, // Use TABLE logical port to have pkt routed via pipeline tables.
DefaultTrafficTreatment.builder().setOutput(PortNumber.TABLE).build(), data);
packetService.emit(pkt);
}
Aggregations