<div dir="ltr"><div dir="ltr">Hi Igor,</div><div dir="ltr"><br></div><div>Please see my comments in-line below</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 29, 2019 at 1:26 AM Duarte Cardoso, Igor <<a href="mailto:igor.duarte.cardoso@intel.com">igor.duarte.cardoso@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_7395207721633901616WordSection1">
<p class="MsoNormal">Hi Neutron,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I've been internally collaborating on the ``dvr_bridge`` L3 agent mode [1][2][3] work (David Shaughnessy, Xubo Zhang), which allows the L3 agent to make use of Open vSwitch / OpenFlow to implement ``distributed`` IPv4 Routers thus bypassing
 kernel namespaces and iptables and opening the door for higher performance by keeping packets in OVS for longer.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I want to share a few questions in order to gather feedback from you. I understand parts of these questions may have been answered in the past before my involvement, but I believe it's still important to revisit and clarify them. This can
 impact how long it's going to take to complete the work and whether it can make it to stein-3.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">1. Should OVS support also be added to the legacy router?<u></u><u></u></p>
<p class="MsoNormal">And if so, would it make more sense to have a new variable (not ``agent_mode``) to specify what backend to use (OVS or kernel) instead of creating more combinations?</p></div></div></blockquote><div><br></div><div>I would like to see the legacy router also implemented. And yes, we need to specify a new config option. As it has already been pointed out, we need to separate what the agent does in each host from the backend technology implementing the routers.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_7395207721633901616WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">2. What is expected in terms of CI for this? Regarding testing, what should this first patch include apart from the unit tests? (since the l3_agent.ini needs to be configured differently).</p></div></div></blockquote><div><br></div><div>I agree with Slawek. We would like to see a scenario job. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_7395207721633901616WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">3. What problems can be anticipated by having the same agent managing both kernel and OVS powered routers (depending on whether they were created as ``distributed``)?<u></u><u></u></p>
<p class="MsoNormal">We are experimenting with different ways of decoupling RouterInfo (mainly as part of the L3 agent refactor patch) and haven't been able to find the right balance yet. On one end we have an agent that is still coupled with kernel-based RouterInfo,
 and on the other end we have an agent that either only accepts OVS-based RouterInfos or only kernel-based RouterInfos depending on the ``agent_mode``.</p></div></div></blockquote><div><br></div><div>I also agree with Slawek here. It would a good idea if we can get the two efforts in synch so we can untangle RouterInfo from the agent code</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_7395207721633901616WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We'd also appreciate reviews on the 2 patches [4][5]. The L3 refactor one should be able to pass Zuul after a recheck.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[1] Spec: <a href="https://blueprints.launchpad.net/neutron/+spec/openflow-based-dvr" target="_blank">https://blueprints.launchpad.net/neutron/+spec/openflow-based-dvr</a><u></u><u></u></p>
<p class="MsoNormal">[2] RFE: <a href="https://bugs.launchpad.net/neutron/+bug/1705536" target="_blank">https://bugs.launchpad.net/neutron/+bug/1705536</a><u></u><u></u></p>
<p class="MsoNormal">[3] Gerrit topic: <a href="https://review.openstack.org/#/q/topic:dvr_bridge+(status:open+OR+status:merged)" target="_blank">https://review.openstack.org/#/q/topic:dvr_bridge+(status:open+OR+status:merged)</a><u></u><u></u></p>
<p class="MsoNormal">[4] L3 agent refactor patch: <a href="https://review.openstack.org/#/c/528336/29" target="_blank">https://review.openstack.org/#/c/528336/29</a><u></u><u></u></p>
<p class="MsoNormal">[5] dvr_bridge patch: <a href="https://review.openstack.org/#/c/472289/17" target="_blank">https://review.openstack.org/#/c/472289/17</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thank you!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-IE">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IE">Igor D.C.<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

</blockquote></div></div>