On Fri, Jun 09, 2017 at 10:46:56PM -0700, nickcooper-zhangtonghao wrote:
> When I test OvS openflow, I confuse the 'in_port' with
> 'output:in_port'. I doc the openflow.rst and it may
> help others to avoid it.
>
> Signed-off-by: nickcooper-zhangtonghao <[email protected]>
> ---
> Documentation/faq/openflow.rst | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/faq/openflow.rst b/Documentation/faq/openflow.rst
> index 7cd6161..1563893 100644
> --- a/Documentation/faq/openflow.rst
> +++ b/Documentation/faq/openflow.rst
> @@ -362,6 +362,10 @@ but OVS drops the packets instead.
>
> $ ovs-ofctl add-flow br0 in_port=2,actions=in_port
>
> + But if you use the ``output:in_port``, the packet is not output.::
> +
> + $ ovs-ofctl add-flow br0 in_port=2,actions=output:in_port
> +
Thanks for the patch. This was in fact a bug. I sent out a fix:
https://mail.openvswitch.org/pipermail/ovs-dev/2017-June/333858.html
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev