Hi,

On 2015年03月11日 20:25, Sascha Bleidner wrote:
> Hello,
> 
> Is there any documentation available about how to decode OpenFlow error 
> messages? 

Please refer to the "A.4.4 Error Message" of OpenFlow specification.
It is available for download at Open Networking 
Foundation(https://www.opennetworking.org/).

> Right now I am using the following code to receive error messages:
> @set_ev_cls(ofp_event.EventOFPErrorMsg,
>             [HANDSHAKE_DISPATCHER, CONFIG_DISPATCHER, MAIN_DISPATCHER])
> def error_msg_handler(self, ev):
>     msg = ev.msg
>     self.logger.info('OFPErrorMsg received: type=0x%02x code=0x%02x '
>                      'message=%s',
>                      msg.type, msg.code, ryu.utils.hex_array(msg.data))
> 
> But this only gives me the fields such as type and code as hex values, which 
> makes it hard for debugging. 
> Is there a parser method available to get more detailed and especially human 
> readable information from the error message?

Wireshark(1.12.0 and later) can be analyzed OpenFlow protocol.
And it can display OpenFlow Error message as human-readable information.

[Wireshark 1.12.0 Release Notes]
 https://www.wireshark.org/docs/relnotes/wireshark-1.12.0.html

thanks

> 
> Appreciate your help! 
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to