On Tue, 25 Aug 2015 16:02:15 +0900
Yusuke Iwase <[email protected]> wrote:

> Currently, ofctl_v1_[23].py always converts metadata field into str
> type for display, but does not convert pbb_isid and tunnel_id fields
> even if these fields are masked.
> So ofctl_v1_3.py fails to convert masked pbb_isid and tunnel_id fields.
> 
> This patch fixes to convert masked match field into str type and not
> to convert non-masked field.
> These changes will improve maintainability when ofctl_v1_*.py will
> support new match fields.
> 
> Reported-by: Weijie Liu <[email protected]>
> Signed-off-by: IWASE Yusuke <[email protected]>
> ---
>  doc/source/app/ofctl_rest.rst    | 16 +++++++++---
>  ryu/lib/ofctl_v1_2.py            | 16 +++---------
>  ryu/lib/ofctl_v1_3.py            | 14 +++--------
>  ryu/tests/unit/lib/test_ofctl.py | 54 
> +++++++++++++++++++---------------------
>  4 files changed, 44 insertions(+), 56 deletions(-)

Applied, thanks!

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to