[ovs-dev] [PATCH] ovn-nbctl: fix validation logic for acl-del command

Justin Pettit jpettit at ovn.org
Mon Sep 11 17:45:51 UTC 2017


> On Sep 8, 2017, at 11:56 AM, Han Zhou <zhouhan at gmail.com> wrote:
> 
> The command error message is misleading, e.g.:
> 
> $ ovn-nbctl acl-del ls1 100 'outport=="lsp1" && ip4'
> ovn-nbctl: cannot specify priority without match
> 
> $ ovn-nbctl acl-del ls1 to-lport 'outport=="lsp1" && ip4'
> ovn-nbctl: cannot specify priority without match
> 
> This patch fixes the problem.
> $
> $ ovn-nbctl acl-del ls1 100 'outport=="lsp1" && ip4'
> 
> Signed-off-by: Han Zhou <zhouhan at gmail.com>

Thanks.  I pushed this to master.

--Justin




More information about the dev mailing list