Hello,

Is there any documentation available about how to decode OpenFlow error 
messages? 
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?

Appreciate your help! 

-- 
Regards,
Sascha


------------------------------------------------------------------------------
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