On Fri, 18 Nov 2016 09:58:08 +0900
IWASE Yusuke <[email protected]> wrote:

> Along with the update of ofctl_rest, the output representation of
> the port number in the OUTPUT action has been changed.
> e.g.) In case of the OUTPUT action to the OFPP_NORMAL port
>   OLD:
>     'OUTPUT:4294967290'  # OFPP_NORMAL = 0xfffffffa
>   NOW:
>     'OUTPUT:NORMAL'
> 
> Currently, rest_firewall suposes the OLD format, and it will fail
> to compare the port number, then all firewall rules will be shown
> with "actions": "DENY".
> This patch fixes to compare the port number in the NEW format and
> fixes this problem.
> 
> Reported-by: Hong Panha <[email protected]>
> Reported-by: Ruy Takata <[email protected]>
> Signed-off-by: IWASE Yusuke <[email protected]>
> ---
>  ryu/app/rest_firewall.py | 21 +++++++++------------
>  1 file changed, 9 insertions(+), 12 deletions(-)

Applied, thanks!

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

Reply via email to