Re: [ovs-discuss] OVN Dynamic Routing

2021-01-18 Thread Daniel Alvarez Sanchez
Thanks a lot Ankur for your responses. Now it's much clearer for me :)

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.

Thanks again!
daniel

[0] https://mail.openvswitch.org/pipermail/ovs-dev/2021-January/379446.html

On Sat, Jan 9, 2021 at 5:35 AM Ankur Sharma 
wrote:

> Hi Daniel,
>
> Glad to see your interest and queries. Please see responses below:
>
> 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?
>
> [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.
>
> 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?
>
> 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?
> [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.
>
> Transit logical switch is the switch that connects OVN logical router with
> external router.
>
>
>
> 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?
> [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.
>
>
> Please feel free to let us know, if you have further queries.
>
>
> Regards,
> Ankur
> --
> *From:* Greg Smith 
> *Sent:* Thursday, January 7, 2021 8:38 AM
> *To:* Daniel Alvarez Sanchez ; Ankur Sharma <
> ankur.sha...@nutanix.com>; Greg A. Smith 
> *Cc:* Frode Nordahl ; ovs-discuss <
> ovs-discuss@openvswitch.org>
> *Subject:* Re: [ovs-discuss] OVN Dynamic Routing
>
>
> + Greg A Smith
>
>
>
> *From: *Daniel Alvarez Sanchez 
> *Date: *Thursday, January 7, 2021 at 4:17 AM
> *To: *Ankur Sharma 
> *Cc: *Frode Nordahl , Greg Smith <
> g...@nutanix.com>, ovs-discuss 
> *Subject: *Re: [ovs-discuss] OVN Dynamic Routing
>
>
>
> Thanks Ankur, all for the presentation and slides.
>
>
>
> If I may, I have a some questions regarding the proposed solution:
>
>
>
> 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?
>
>
>
> 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?
>
> 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?
>
>
>
> 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?
>
>
>
> 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 :)
>
>
>
> Thanks a lot in advance!
>
> daniel
>
>
>
> [0] https://youtu.be/9DL8M1d4xLY?t=330 [youtu.be]
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_9DL8M1d4xLY-3Ft-3D

Re: [ovs-discuss] OVN Dynamic Routing

2021-01-08 Thread Ankur Sharma
Hi Daniel,

Glad to see your interest and queries. Please see responses below:


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?

[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.


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?

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?
[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.

Transit logical switch is the switch that connects OVN logical router with 
external router.



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?
[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.


Please feel free to let us know, if you have further queries.


Regards,
Ankur

From: Greg Smith 
Sent: Thursday, January 7, 2021 8:38 AM
To: Daniel Alvarez Sanchez ; Ankur Sharma 
; Greg A. Smith 
Cc: Frode Nordahl ; ovs-discuss 

Subject: Re: [ovs-discuss] OVN Dynamic Routing


+ Greg A Smith



From: Daniel Alvarez Sanchez 
Date: Thursday, January 7, 2021 at 4:17 AM
To: Ankur Sharma 
Cc: Frode Nordahl , Greg Smith , 
ovs-discuss 
Subject: Re: [ovs-discuss] OVN Dynamic Routing



Thanks Ankur, all for the presentation and slides.



If I may, I have a some questions regarding the proposed solution:



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?



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?

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?



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?



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 :)



Thanks a lot in advance!

daniel



[0] https://youtu.be/9DL8M1d4xLY?t=330 
[youtu.be]<https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_9DL8M1d4xLY-3Ft-3D330=DwMFaQ=s883GpUCOChKOHiocYtGcg=l2KqK5U87xc8UBeIEnhlhA=SRMQBULQJkV-FCkQL3j8jKJG7VsJvDJLM3fREJa0ymk=L4hURaD1nuVUyZhtTJViZPdXqd7YDychGkHlRuJVkh8=>





On Mon, Dec 14, 2020 at 8:25 PM Ankur Sharma 
mailto:ankur.sha...@nutanix.com>> wrote:

Hi Frode,

Glad to see your message.
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.

Sure, we will kickstart the discussions around this on mailing list as well.


Thanks

Regards,
Ankur



From: Frode Nordahl 
mailto:frode.nord...@canonical.com>>
Sent: Thursday, December 10, 2020 1:10 AM
To: Ankur Sharma mailto:ankur.sha...@nutanix.com>>
Cc: Greg Smith mailto:g...@nutanix.com>>; ovs-discuss 
mailto:ovs-discuss@openvswitch.org>>
Subject: OVN Dynamic Routing



Hello, Ankur, Greg, All,

Thank you for sharing your view on dynamic routing support for OVN
during OVSCON 2020 [0].

I believe this is a topic that interests multiple parties in the
community, and it applies to multiple topologies/use cases, not just
EVPN.

W

Re: [ovs-discuss] OVN Dynamic Routing

2021-01-07 Thread Greg Smith
+ Greg A Smith

From: Daniel Alvarez Sanchez 
Date: Thursday, January 7, 2021 at 4:17 AM
To: Ankur Sharma 
Cc: Frode Nordahl , Greg Smith , 
ovs-discuss 
Subject: Re: [ovs-discuss] OVN Dynamic Routing

Thanks Ankur, all for the presentation and slides.

If I may, I have a some questions regarding the proposed solution:

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?

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?
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?

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?

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 :)

Thanks a lot in advance!
daniel

[0] https://youtu.be/9DL8M1d4xLY?t=330 
[youtu.be]<https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_9DL8M1d4xLY-3Ft-3D330=DwMFaQ=s883GpUCOChKOHiocYtGcg=l2KqK5U87xc8UBeIEnhlhA=SRMQBULQJkV-FCkQL3j8jKJG7VsJvDJLM3fREJa0ymk=L4hURaD1nuVUyZhtTJViZPdXqd7YDychGkHlRuJVkh8=>


On Mon, Dec 14, 2020 at 8:25 PM Ankur Sharma 
mailto:ankur.sha...@nutanix.com>> wrote:
Hi Frode,

Glad to see your message.
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.

Sure, we will kickstart the discussions around this on mailing list as well.


Thanks

Regards,
Ankur

From: Frode Nordahl 
mailto:frode.nord...@canonical.com>>
Sent: Thursday, December 10, 2020 1:10 AM
To: Ankur Sharma mailto:ankur.sha...@nutanix.com>>
Cc: Greg Smith mailto:g...@nutanix.com>>; ovs-discuss 
mailto:ovs-discuss@openvswitch.org>>
Subject: OVN Dynamic Routing

Hello, Ankur, Greg, All,

Thank you for sharing your view on dynamic routing support for OVN
during OVSCON 2020 [0].

I believe this is a topic that interests multiple parties in the
community, and it applies to multiple topologies/use cases, not just
EVPN.

Would you be interested in presenting and discussing the proposed
design on the mailing list?

0: 
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.openvswitch.org_support_ovscon2020_=DwIBaQ=s883GpUCOChKOHiocYtGcg=mZwX9gFQgeJHzTg-68aCJgsODyUEVsHGFOfL90J6MJY=3HUT7aQXAsSImmITSraoqdZ6mWcRxUtwVRKAfH3ygQA=Xzze2S3f7Rstp66gRz7MSuTGvGltr3t8uxyx5M3R8og=

--
Frode Nordahl
___
discuss mailing list
disc...@openvswitch.org<mailto:disc...@openvswitch.org>
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss 
[mail.openvswitch.org]<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddiscuss=DwMFaQ=s883GpUCOChKOHiocYtGcg=l2KqK5U87xc8UBeIEnhlhA=SRMQBULQJkV-FCkQL3j8jKJG7VsJvDJLM3fREJa0ymk=lRqhPz7LN0jbPKAW_ZFSqiRGvFbM32O-y7AGzLI9FUU=>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVN Dynamic Routing

2021-01-07 Thread Daniel Alvarez Sanchez
Thanks Ankur, all for the presentation and slides.

If I may, I have a some questions regarding the proposed solution:

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?

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?
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?

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?

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 :)

Thanks a lot in advance!
daniel

[0] https://youtu.be/9DL8M1d4xLY?t=330


On Mon, Dec 14, 2020 at 8:25 PM Ankur Sharma 
wrote:

> Hi Frode,
>
> Glad to see your message.
> 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.
>
> Sure, we will kickstart the discussions around this on mailing list as
> well.
>
>
> Thanks
>
> Regards,
> Ankur
> --
> *From:* Frode Nordahl 
> *Sent:* Thursday, December 10, 2020 1:10 AM
> *To:* Ankur Sharma 
> *Cc:* Greg Smith ; ovs-discuss <
> ovs-discuss@openvswitch.org>
> *Subject:* OVN Dynamic Routing
>
> Hello, Ankur, Greg, All,
>
> Thank you for sharing your view on dynamic routing support for OVN
> during OVSCON 2020 [0].
>
> I believe this is a topic that interests multiple parties in the
> community, and it applies to multiple topologies/use cases, not just
> EVPN.
>
> Would you be interested in presenting and discussing the proposed
> design on the mailing list?
>
> 0:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.openvswitch.org_support_ovscon2020_=DwIBaQ=s883GpUCOChKOHiocYtGcg=mZwX9gFQgeJHzTg-68aCJgsODyUEVsHGFOfL90J6MJY=3HUT7aQXAsSImmITSraoqdZ6mWcRxUtwVRKAfH3ygQA=Xzze2S3f7Rstp66gRz7MSuTGvGltr3t8uxyx5M3R8og=
>
> --
> Frode Nordahl
> ___
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVN Dynamic Routing

2020-12-14 Thread Ankur Sharma
Hi Frode,

Glad to see your message.
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.

Sure, we will kickstart the discussions around this on mailing list as well.


Thanks

Regards,
Ankur

From: Frode Nordahl 
Sent: Thursday, December 10, 2020 1:10 AM
To: Ankur Sharma 
Cc: Greg Smith ; ovs-discuss 
Subject: OVN Dynamic Routing

Hello, Ankur, Greg, All,

Thank you for sharing your view on dynamic routing support for OVN
during OVSCON 2020 [0].

I believe this is a topic that interests multiple parties in the
community, and it applies to multiple topologies/use cases, not just
EVPN.

Would you be interested in presenting and discussing the proposed
design on the mailing list?

0: 
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.openvswitch.org_support_ovscon2020_=DwIBaQ=s883GpUCOChKOHiocYtGcg=mZwX9gFQgeJHzTg-68aCJgsODyUEVsHGFOfL90J6MJY=3HUT7aQXAsSImmITSraoqdZ6mWcRxUtwVRKAfH3ygQA=Xzze2S3f7Rstp66gRz7MSuTGvGltr3t8uxyx5M3R8og=

--
Frode Nordahl
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss