Re: [ovs-discuss] Does OVS support egress table specified in OpenFlow 1.5?

2020-09-24 Thread Ben Pfaff
On Wed, Sep 23, 2020 at 02:32:17PM +0800, Shouxi Luo wrote:
> Does OVS (say 2.13 for instance) support the egress table specified in
> OpenFlow 1.5?

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


[ovs-discuss] [ovn] gateway router vs. distributed gateway port

2020-09-24 Thread Tony Liu
Hi,

Given "Distributed Gateway Ports" in [1], and my test,
central SNAT, central FIP and distributed FIP are all supported by
distributed gateway port.

I wonder in which case gateway router has to be used? 

One case is mentioned in [2], DR is used in K8S to support node
service and avoid central SNAT. But the comments in [3] suggesting
LB is supported by DGP and distributed SNAT is also possibly supported
by DGP.

Other that the above case, any other cases really required DR?

[1] http://www.openvswitch.org/support/dist-docs/ovn-architecture.7.html
[2] https://www.mail-archive.com/ovs-discuss@openvswitch.org/msg06989.html
[3] https://www.mail-archive.com/ovs-discuss@openvswitch.org/msg06993.html

Thanks!
Tony

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


Re: [ovs-discuss] [ovn] distributed router port and distributed SNAT

2020-09-24 Thread Tony Liu
> -Original Message-
> From: Numan Siddique 
> Sent: Wednesday, September 23, 2020 11:12 PM
> To: Tony Liu 
> Cc: ovs-discuss 
> Subject: Re: [ovs-discuss] [ovn] distributed router port and distributed
> SNAT
> 
> 
> 
> On Thu, Sep 24, 2020 at 10:14 AM Tony Liu   > wrote:
> 
> 
>   Hi,
> 
>   I read through this long discussion [1].
> 
>   Here is what I am doing.
> 
>   +--+
>   |external logical switch   |
>   +-+-++-+
> | ||
>  +--+--+   +--+--+ +---++
>  |dgp1 |   |dgp2 |   ...   |dgp1000 |
>  +--+--+   +--+--+ +---++
> | ||
>   +-+-+ +-+-+  +---+---+
>   |LR1| |LR2|  |LR1000 |
>   +---+ +---+  +---+
> 
>   First of all, I see the same flow explosion in lr_in_arp_resolve
>   table. I'd like to confirm the patch [2] will also avoid explosion
>   in my case?
> 
> 
> 
> 
> I think so. Maybe Han or Dumitru can confirm. I suggest that you test it
> out yourself.
> You can stop the neutron server and run a script which sets this option
> on each logical router.
> 
> something like
> 
> for i in $(ovn-nbctl --bare --columns __uuid list logical_router) do
> ovn-nbctl set logical_router $i
> options:always_learn_from_arp_request=false
> done
> 
> 
> 
>   In my case, LRs are not bound to any specific compute chassis.
>   All DGPs are bound on the central set of gateway chassis.
>   It's central SNAT and FIP.
> 
>   I am looking for the possibility to do distributed SNAT and FIP to
>   avoid central gateway nodes. With OpenStack integration,
>   distributed FIP is supported, but not distributed SNAT. because
>   there is not chassis specific address can be used as the source
>   IP for SNAT.
> 
> 
> 
> 
> I  don't think OVN supports distributed SNAT.
> 
> 
> 
>   Given the idea in [3], DPG can be bound on compute chassis.
>   I don't need the support to have multiple DPGs on one LR.
>   Then is that going to work for distributed SNAT?
>   Any details, like how to allocate chassis specific address
>   as the source IP for SNAT, and how ARP works for that address?
> 
> 
> 
> I am not sure how easy is it going to support this.

Two pieces here, 1) multiple DPG, 2) DPG binding.
I know #1 is not supported, and I actually don't need it.
Is #2 already supported? If yes, then distributed SNAT can be
supported by that?


Thanks!
Tony
> 
> Thanks
> Numan
> 
> 
> 
>   [1] https://www.mail-archive.com/ovs-
> disc...@openvswitch.org/msg06948.html
>   [2] https://www.mail-archive.com/ovs-
> d...@openvswitch.org/msg45681.html
>   [3] https://www.mail-archive.com/ovs-
> disc...@openvswitch.org/msg06987.html
> 
>   Thanks!
>   Tony
> 
>   ___
>   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