On Thu, 29 Sep 2016 16:44:46 +0900
IWAMOTO Toshihiro <[email protected]> wrote:

> OFPT_ERROR_MSG can return truncated messages.  Some users want to
> see them in human-friendly format [1]. Catch exceptions caused
> by such truncated messages and reraise as OFPTruncatedMessage
> with incomplete ofpmsg in the exception class.
> 
> Not every exceptions are captured, and we should deal with other
> OpenFlow versions, too.
> 
> [1] https://bugs.launchpad.net/dragonflow/+bug/1624826
> 
> Signed-off-by: IWAMOTO Toshihiro <[email protected]>
> ---
>  ryu/exception.py                   | 13 +++++++
>  ryu/ofproto/ofproto_v1_3_parser.py | 71 
> +++++++++++++++++++++++++++++---------
>  2 files changed, 67 insertions(+), 17 deletions(-)

Anyone has an option on this approach?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to