os-ken/ryu/controller
Yusuke Iwase b6e280172a ofp_handler: Output human readable error msg ev log
Currently, the error message event log which is output by ofp_handler.py
is difficult to understand what is wrong in the previous OpenFlow request
message.
This patch improves the readability of this output to find out errors.

*** Output Example ***
EventOFPErrorMsg received.
version=0x4, msg_type=0x1, msg_len=0x4c, xid=0xecc7f07b
 `-- msg_type: OFPT_ERROR(1)
OFPErrorMsg(type=0x4, code=0x9, data=b'\x04\x0e\x00\x58\xec\xc7\xf0\x7b\x00\x0
0\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
x00\x2b\x67\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x0
0\x01\x00\x0c\x80\x00\x18\x04\xc0\xa8\x00\x01\x00\x00\x00\x00')
 |-- type: OFPET_BAD_MATCH(4)
 |-- code: OFPBMC_BAD_PREREQ(9)
 `-- data: version=0x4, msg_type=0xe, msg_len=0x58, xid=0xecc7f07b
     `-- msg_type: OFPT_FLOW_MOD(14)

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-09-10 11:14:58 +09:00
..
__init__.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
conf_switch.py python3: Adapt to new iterator names 2015-06-20 21:19:12 +09:00
controller.py OF: send fin/ack in response to fin packet 2015-07-29 14:57:30 +09:00
dpset.py python3: Adapt to new iterator names 2015-06-20 21:19:12 +09:00
event.py fix bidirectional event confusion 2014-01-23 15:42:51 +09:00
handler.py Python 3: Fix search for bound methods 2015-08-10 10:54:11 +09:00
mac_to_network.py add missing super().__init__() 2012-05-01 08:31:40 +09:00
mac_to_port.py add missing super().__init__() 2012-05-01 08:31:40 +09:00
network.py python3: Adapt to new iterator names 2015-06-20 21:19:12 +09:00
ofp_event.py doc: add components page 2014-05-27 20:24:50 +09:00
ofp_handler.py ofp_handler: Output human readable error msg ev log 2015-09-10 11:14:58 +09:00
tunnels.py log-cleanup: remove an unused logger instance 2013-03-06 01:33:18 +09:00