sw test tool: fix missing to receive error of PacketOut
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 <watanabe.fumitaka1@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
98f5c2aad0
commit
81322b7a0a
@ -545,7 +545,8 @@ class OfTester(app_manager.RyuApp):
|
|||||||
def _test_unmatch_packet_send(self, pkt):
|
def _test_unmatch_packet_send(self, pkt):
|
||||||
# Send a packet from the OpenFlow Switch.
|
# Send a packet from the OpenFlow Switch.
|
||||||
self.logger.debug("send_packet:[%s]", packet.Packet(pkt[KEY_INGRESS]))
|
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.
|
# Wait OFPBarrierReply.
|
||||||
xid = self.tester_sw.send_barrier_request()
|
xid = self.tester_sw.send_barrier_request()
|
||||||
|
Loading…
Reference in New Issue
Block a user