[ovs-dev] [PATCH] FAQ: Add another question about do-nothing flows.
Guru Shetty
guru at ovn.org
Mon Mar 6 17:53:02 UTC 2017
On 6 March 2017 at 08:11, Ben Pfaff <blp at ovn.org> wrote:
> Signed-off-by: Ben Pfaff <blp at ovn.org>
>
Acked-by: Gurucharan Shetty <guru at ovn.org>
> ---
> Documentation/faq/openflow.rst | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/Documentation/faq/openflow.rst b/Documentation/faq/openflow.
> rst
> index 529e3f50aadf..376e64eb4482 100644
> --- a/Documentation/faq/openflow.rst
> +++ b/Documentation/faq/openflow.rst
> @@ -496,6 +496,27 @@ but the packets are actually being output in VLAN
> 123. Why?
>
> $ ovs-ofctl add-flow br0 dl_vlan=123,actions=mod_vlan_
> vid:456,output:1
>
> + See also the following question.
> +
> +Q: I added a flow to a redirect packets for TCP port 80 to port 443,
> +like so::
> +
> + $ ovs-ofctl add-flow br0 tcp,tcp_dst=123,actions=mod_tp_dst:443
> +
> +but the packets are getting dropped instead. Why?
> +
> + A: This set of actions does change the TCP destination port to 443,
> but
> + then it does nothing more. It doesn't, for example, say to continue
> to
> + another flow table or to output the packet. Therefore, the packet is
> + dropped.
> +
> + To solve the problem, add an action that does something with the
> modified
> + packet. For example::
> +
> + $ ovs-ofctl add-flow br0 tcp,tcp_dst=123,actions=mod_
> tp_dst:443,normal
> +
> + See also the preceding question.
> +
> Q: The "learn" action can't learn the action I want, can you improve it?
>
> A: By itself, the "learn" action can only put two kinds of actions
> into the
> --
> 2.10.2
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
More information about the dev
mailing list