Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: Linux
Platform: PC
-
3958
-
Normal
Description
As per OpenFlow Spec 1.3 section A.3.7 Packet-Out Message:
uint32_t in_port; /* Packet's input port or OFPP_CONTROLLER. */
But floodPacket function at l2switch/arphandler/core/PacketDispatcher.java line 102 sets in_port as controllerNodeConnector which in turns sets OFPP_LOCAL instead of input port or OFPP_CONTROLLER.
Solution:
change sendPacketOut(payload, controllerNodeConnector, ncRef);
to
sendPacketOut(payload, origIngress, ncRef);
which will set input port.