final Object connectionDistinguisher) {
PacketReceivedBuilder packetReceivedBuilder = new PacketReceivedBuilder();
- Uint64 datapathId = deviceInfo.getDatapathId();
// TODO: connection cookie from connection distinguisher
packetReceivedBuilder.setPayload(input.getData());
}
// Try to create the NodeConnectorRef
- Uint64 dataPathId = deviceInfo.getDatapathId();
+ final var dataPathId = deviceInfo.getDatapathId();
NodeConnectorRef nodeConnectorRef = NodeConnectorRefToPortTranslator.toNodeConnectorRef(input, dataPathId);
// If we was able to create NodeConnectorRef, use it
if (input.getMatch() != null) {
org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.packet.received.Match packetInMatch
- = getPacketInMatch(input, datapathId);
+ = getPacketInMatch(input, dataPathId);
packetReceivedBuilder.setMatch(packetInMatch);
}