<div dir="ltr">Thanks Ben for your info.<div><br></div><div>I think I am finally catching a bit with the concept of &#39;clone&#39; action after reviewing below patches in order, so the for OVN case, the new &#39;clone&#39; action aims to drop most of the OVS patch port, and after add new ct_clear action, some fixes, I assume it works with NAT, and I am using 2.8.1 for testing, please point out the patches if I am missing any. One other question is Can I set bridge-mapping:physnet1:br-int? In other words, the br-int has vm vif, has tunnel ports(the tunnel ports would point to another nic), and has the external nic as local gateway router port, is it feasible without configuring more extra flows.</div><div> </div><div><br></div><div><div>[ovs-dev] [RFC PATCH] ofp-actions: Add clone action.</div><div><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2016-November/325542.html">https://mail.openvswitch.org/pipermail/ovs-dev/2016-November/325542.html</a></div><div><br></div><div>ovn-controller: Drop most uses of OVS patch ports.</div><div><a href="https://github.com/openvswitch/ovs/commit/f1a8bd06d58f2c5312622fbaeacbc6ce7576e347https://github.com/openvswitch/ovs/commit/f1a8bd06d58f2c5312622fbaeacbc6ce7576e347">https://github.com/openvswitch/ovs/commit/f1a8bd06d58f2c5312622fbaeacbc6ce7576e347https://github.com/openvswitch/ovs/commit/f1a8bd06d58f2c5312622fbaeacbc6ce7576e347</a></div><div><br></div><div>[ovs-dev] [PATCH 2/3] dpif-netdev: Add clone action</div><div><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327633.html">https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327633.html</a></div><div><br></div><div>[ovs-dev] Issues with the use of the clone action for resubmission to the pipeline</div><div><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/326981.html">https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/326981.html</a></div><div><br></div><div>[ovs-dev] ovn ping from VM to external gateway IP failed.</div><div><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2016-December/326936.html">https://mail.openvswitch.org/pipermail/ovs-dev/2016-December/326936.html</a></div><div><br></div><div>[ovs-dev] [PATCH v2 0/4] Fix some &quot;clone&quot;-related issues</div><div><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327251.html">https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327251.html</a></div><div><br></div><div>[ovs-dev] [PATCH v2 3/4] New action &quot;ct_clear&quot;.</div><div><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327268.html">https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327268.html</a></div><div><br></div><div>[ovs-dev] [PATCH v2 4/4] ovn-controller: Clear conntrack state<span style="white-space:pre">        </span>inside clone action.</div><div><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327255.html">https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327255.html</a></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 24, 2017 at 12:21 AM, Ben Pfaff <span dir="ltr">&lt;<a href="mailto:blp@ovn.org" target="_blank">blp@ovn.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Oct 23, 2017 at 04:28:53PM +0800, Hui Xiang wrote:<br>
&gt; I am trying to understand clone action deeply and checking the patch<br>
&gt; related with &#39;clone&#39;[1], where said &quot;The clone action provides an action<br>
&gt; envelope to enclose an action list.&quot; and &quot;The clone action is very similar<br>
&gt; with the OpenFlow clone action recently added&quot;, but sorry I am not able to<br>
&gt; find any &quot;clone&quot; action definition in the OpenFlow spec[2], or any envelope<br>
&gt; &#39;s kind of phrases, it just referred some clone(copy) of piple, am I<br>
&gt; looking in a wrong place?<br>
<br>
</span>Open vSwitch has two kinds of actions.  First, there are OpenFlow<br>
actions, which include both standard actions and extension actions.<br>
&quot;clone&quot; is an OpenFlow extension action implemented by Open vSwitch.<br>
Second, there are datapath actions, which are an implementation detail<br>
of Open vSwitch.  Open vSwitch has a datapath action also called<br>
&quot;clone&quot;, which does something similar to the OpenFlow extension &quot;clone&quot;<br>
action but at the datapath level.<br>
</blockquote></div><br></div>