<div dir="ltr">Thanks a lot Ankur for your responses. Now it's much clearer for me :)<div><br></div><div>Is this patch [0] related to this effort in any way? I wonder if that'd for example allow to have gateway ports bound to a particular chassis and, in the same router, have another gateway port which is not bounded and N/S traffic can be processed distributedly for this use case. </div><div><br></div><div>Thanks again!</div><div>daniel</div><div><br></div><div>[0] <a href="https://mail.openvswitch.org/pipermail/ovs-dev/2021-January/379446.html">https://mail.openvswitch.org/pipermail/ovs-dev/2021-January/379446.html</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 9, 2021 at 5:35 AM Ankur Sharma <<a href="mailto:ankur.sharma@nutanix.com">ankur.sharma@nutanix.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 dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi Daniel,<br>
<br>
Glad to see your interest and queries. Please see responses below:<br>
<br>
</div>
<div>
<div id="gmail-m_-3321406567325191868appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div style="margin:0px;font-size:14px;background-color:rgb(255,255,255)">
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
Q1) Who is responsible for creating the VTEP endpoints on each hypervisor? Are they assumed to be created in advance or somehow this solution will take care of it? If the latter, how will it work and how will 'ovn-routing' know the addresses of the endpoints?
 OVN VTEP gateways?</p>
</div>
<div style="margin:0px;font-size:14px;background-color:rgb(255,255,255)">
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
[ANKUR]: VTEP information is expected to be added out of band. For example, in our case the external gateway VTEP endpoint is added as a chassis by the management plane. <br>
<br>
</p>
</div>
<div style="margin:0px;font-size:14px;background-color:rgb(255,255,255)">
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
2) In the diagram at [0], what's the 'MAC ROUTER'? Is this OVN Logical Router connected to a Logical Switch with a localnet port and this MAC address corresponds to such port in the router? Or it would be the MAC address of '10.0.0.1'. What if two VMs in the
 same LS reside on different hypervisors, would you still advertise the same MAC but use a different VNI?</p>
</div>
<div style="margin:0px;font-size:14px;background-color:rgb(255,255,255)">
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
With OVN routers being distributed we'd have the same MAC address advertised on multiple HVs and we need to use different VNIs to distinguish them, right?<br>
[ANKUR]: MAC ROUTER is the former, i.e OVN logical router connected to transit logical switch (please note that for NS connectivity in this case logical switch need not have localnet port, since we are not converting the packet to a VLAN packet). For all the
 VMs behind the logical router the advertised VNI is same and it is that of transit logical switch.<br>
<br>
Transit logical switch is the switch that connects OVN logical router with external router.</p>
</div>
<div style="margin:0px;font-size:14px;background-color:rgb(255,255,255)">
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
<div style="margin:0px;font-size:14px;background-color:rgb(255,255,255)">
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
3) If two OVN VMs want to reach each other, it will still use the Geneve overlay right? This whole solution is mainly for incoming traffic or I'm missing something?<br>
[ANKUR]: Yes, now the workflow is that for EW traffic it is regular geneve encap and for NS instead of converting the packet to VLAN we forward it to external gateway using VXLAN and hence remove the requirement of a gateway chassis for NO NAT Cases.<br>
<br>
<br>
Please feel free to let us know, if you have further queries.</p>
</div>
<br>
<br>
Regards,<br>
Ankur</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-3321406567325191868divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Greg Smith <<a href="mailto:greg@nutanix.com" target="_blank">greg@nutanix.com</a>><br>
<b>Sent:</b> Thursday, January 7, 2021 8:38 AM<br>
<b>To:</b> Daniel Alvarez Sanchez <<a href="mailto:dalvarez@redhat.com" target="_blank">dalvarez@redhat.com</a>>; Ankur Sharma <<a href="mailto:ankur.sharma@nutanix.com" target="_blank">ankur.sharma@nutanix.com</a>>; Greg A. Smith <<a href="mailto:gasmith@nutanix.com" target="_blank">gasmith@nutanix.com</a>><br>
<b>Cc:</b> Frode Nordahl <<a href="mailto:frode.nordahl@canonical.com" target="_blank">frode.nordahl@canonical.com</a>>; ovs-discuss <<a href="mailto:ovs-discuss@openvswitch.org" target="_blank">ovs-discuss@openvswitch.org</a>><br>
<b>Subject:</b> Re: [ovs-discuss] OVN Dynamic Routing</font>
<div> </div>
</div>
<div lang="EN-US" style="overflow-wrap: break-word;">
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
+ Greg A Smith</p>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
<b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">Daniel Alvarez Sanchez <<a href="mailto:dalvarez@redhat.com" target="_blank">dalvarez@redhat.com</a>><br>
<b>Date: </b>Thursday, January 7, 2021 at 4:17 AM<br>
<b>To: </b>Ankur Sharma <<a href="mailto:ankur.sharma@nutanix.com" target="_blank">ankur.sharma@nutanix.com</a>><br>
<b>Cc: </b>Frode Nordahl <<a href="mailto:frode.nordahl@canonical.com" target="_blank">frode.nordahl@canonical.com</a>>, Greg Smith <<a href="mailto:greg@nutanix.com" target="_blank">greg@nutanix.com</a>>, ovs-discuss <<a href="mailto:ovs-discuss@openvswitch.org" target="_blank">ovs-discuss@openvswitch.org</a>><br>
<b>Subject: </b>Re: [ovs-discuss] OVN Dynamic Routing</span></p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
Thanks Ankur, all for the presentation and slides.</p>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
If I may, I have a some questions regarding the proposed solution:</p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
1) Who is responsible for creating the VTEP endpoints on each hypervisor? Are they assumed to be created in advance or somehow this solution will take care of it? If the latter, how will it work and how will 'ovn-routing' know the addresses of the endpoints?
 OVN VTEP gateways?</p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
2) In the diagram at [0], what's the 'MAC ROUTER'? Is this OVN Logical Router connected to a Logical Switch with a localnet port and this MAC address corresponds to such port in the router? Or it would be the MAC address of '10.0.0.1'. What if two VMs in the
 same LS reside on different hypervisors, would you still advertise the same MAC but use a different VNI?</p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
With OVN routers being distributed we'd have the same MAC address advertised on multiple HVs and we need to use different VNIs to distinguish them, right?</p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
3) If two OVN VMs want to reach each other, it will still use the Geneve overlay right? This whole solution is mainly for incoming traffic or I'm missing something?</p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
I'm sorry if the questions are a bit blurry but I guess that after reviewing the slides and recording I didn't quite grasp it :)</p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
Thanks a lot in advance!</p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
daniel</p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
[0] <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_9DL8M1d4xLY-3Ft-3D330&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=l2KqK5U87xc8UBeIEnhlhA&m=SRMQBULQJkV-FCkQL3j8jKJG7VsJvDJLM3fREJa0ymk&s=L4hURaD1nuVUyZhtTJViZPdXqd7YDychGkHlRuJVkh8&e=" target="_blank">https://youtu.be/9DL8M1d4xLY?t=330
 [youtu.be]</a></p>
</div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
</div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
<div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
On Mon, Dec 14, 2020 at 8:25 PM Ankur Sharma <<a href="mailto:ankur.sharma@nutanix.com" target="_blank">ankur.sharma@nutanix.com</a>> wrote:</p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-size:12pt;color:black">Hi Frode,<br>
<br>
Glad to see your message.<br>
Yes, while we started with EVPN as our main use case, we agree that it is more of a generic dynamic routing capability in OVN.<br>
<br>
Sure, we will kickstart the discussions around this on mailing list as well.<br>
<br>
<br>
Thanks<br>
<br>
Regards,<br>
Ankur</span></p>
</div>
<div>
<div align="center" style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif;text-align:center">
<hr size="0" width="100%" align="center">
</div>
<div id="gmail-m_-3321406567325191868x_gmail-m_-5171624592491687843gmail-m_-304838680666559682gmail-m_2476954418918825916divRplyFwdMsg">
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
<b><span style="color:black">From:</span></b><span style="color:black"> Frode Nordahl <<a href="mailto:frode.nordahl@canonical.com" target="_blank">frode.nordahl@canonical.com</a>><br>
<b>Sent:</b> Thursday, December 10, 2020 1:10 AM<br>
<b>To:</b> Ankur Sharma <<a href="mailto:ankur.sharma@nutanix.com" target="_blank">ankur.sharma@nutanix.com</a>><br>
<b>Cc:</b> Greg Smith <<a href="mailto:greg@nutanix.com" target="_blank">greg@nutanix.com</a>>; ovs-discuss <<a href="mailto:ovs-discuss@openvswitch.org" target="_blank">ovs-discuss@openvswitch.org</a>><br>
<b>Subject:</b> OVN Dynamic Routing</span> </p>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
 </p>
</div>
</div>
<div>
<div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
Hello, Ankur, Greg, All,<br>
<br>
Thank you for sharing your view on dynamic routing support for OVN<br>
during OVSCON 2020 [0].<br>
<br>
I believe this is a topic that interests multiple parties in the<br>
community, and it applies to multiple topologies/use cases, not just<br>
EVPN.<br>
<br>
Would you be interested in presenting and discussing the proposed<br>
design on the mailing list?<br>
<br>
0: <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.openvswitch.org_support_ovscon2020_&d=DwIBaQ&c=s883GpUCOChKOHiocYtGcg&r=mZwX9gFQgeJHzTg-68aCJgsODyUEVsHGFOfL90J6MJY&m=3HUT7aQXAsSImmITSraoqdZ6mWcRxUtwVRKAfH3ygQA&s=Xzze2S3f7Rstp66gRz7MSuTGvGltr3t8uxyx5M3R8og&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.openvswitch.org_support_ovscon2020_&d=DwIBaQ&c=s883GpUCOChKOHiocYtGcg&r=mZwX9gFQgeJHzTg-68aCJgsODyUEVsHGFOfL90J6MJY&m=3HUT7aQXAsSImmITSraoqdZ6mWcRxUtwVRKAfH3ygQA&s=Xzze2S3f7Rstp66gRz7MSuTGvGltr3t8uxyx5M3R8og&e=</a>
<br>
<br>
-- <br>
Frode Nordahl</p>
</div>
</div>
</div>
</div>
<p style="margin:0in;font-size:11pt;font-family:Calibri,sans-serif">
_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddiscuss&d=DwMFaQ&c=s883GpUCOChKOHiocYtGcg&r=l2KqK5U87xc8UBeIEnhlhA&m=SRMQBULQJkV-FCkQL3j8jKJG7VsJvDJLM3fREJa0ymk&s=lRqhPz7LN0jbPKAW_ZFSqiRGvFbM32O-y7AGzLI9FUU&e=" target="_blank">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
 [mail.openvswitch.org]</a></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>

</blockquote></div>