Since transaction ID of PacketOut message is not hold, an error message to this PacketOut is not able to be received. This patch fixes it.
Signed-off-by: WATANABE Fumitaka <[email protected]> --- ryu/tests/switch/tester.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 90bc5aa..f1c132f 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -545,7 +545,8 @@ class OfTester(app_manager.RyuApp): def _test_unmatch_packet_send(self, pkt): # Send a packet from the OpenFlow Switch. self.logger.debug("send_packet:[%s]", packet.Packet(pkt[KEY_INGRESS])) - self.tester_sw.send_packet_out(pkt[KEY_INGRESS]) + xid = self.tester_sw.send_packet_out(pkt[KEY_INGRESS]) + self.send_msg_xids.append(xid) # Wait OFPBarrierReply. xid = self.tester_sw.send_barrier_request() -- 1.7.10.4 ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
