Re: [ovs-dev] [PATCH v3 1/2 ovn] NAT: Provide port range in input

2020-04-01 Thread 0-day Robot
Bleep bloop. Greetings Ankur Sharma, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: ERROR: Author Ankur Sharma needs to sign off. WARNING: Unexpected sign-offs from developers

[ovs-dev] [PATCH v3 2/2 ovn] NAT: Northd and parser changes to support port range

2020-04-01 Thread Ankur Sharma
This patch has northd changes to put port range in the logical flow based on configuration. Port range is NOT applicable for stateless dnat_and_snat rules. Changes to parse the logical flow, which specifies port_range for ct_nat action. Example logical flow: ct_snat(10.15.24.135,1-3)

[ovs-dev] [PATCH v3 1/2 ovn] NAT: Provide port range in input

2020-04-01 Thread Ankur Sharma
This patch enhances the NB OVSSCHEMA to add an additional comuln in NAT table. external_port_range: Specifies the range of port numbers to translate source port to. Changes also add corresponding ovn-nbctl cli. Signed-off-by: Ankur Sharma --- ovn-nb.ovsschema | 5

[ovs-dev] [PATCH v3 0/2 ovn] NAT port range support

2020-04-01 Thread Ankur Sharma
OVS supports additional paramaters while programming ct_nat rules. Some of the key paramters: a. Specifying external source port range. b. Specifying the algorithm for mapping ports from the range. c. Specifying the external ip address range. d. Persisting the selection of picked IP address from

Re: [ovs-dev] [PATCH v1 1/3 ovn] NAT: Provide port range in input

2020-04-01 Thread Ankur Sharma
Hi Mark, Thanks a lot for review. Please find my replies inline. Regards, Ankur -Original Message- From: dev On Behalf Of Mark Michelson Sent: Monday, March 30, 2020 12:21 PM To: svc.mail.git ; ovs-dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH v1 1/3 ovn] NAT: Provide port range in

Re: [ovs-dev] [PATCH v1 3/3 ovn] NAT: Parsing port_range options in ct_*nat actions

2020-04-01 Thread Ankur Sharma
Hi Mark, Thanks a lot for review. Addressed all the comments. Please take a look at V2. Regards, Ankur -Original Message- From: dev On Behalf Of Mark Michelson Sent: Monday, March 30, 2020 12:21 PM To: svc.mail.git ; ovs-dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH v1 3/3 ovn]

[ovs-dev] [PATCH] net: openvswitch: use hlist_for_each_entry_rcu instead of hlist_for_each_entry

2020-04-01 Thread xiangxia . m . yue
From: Tonghao Zhang The struct sw_flow is protected by RCU, when traversing them, use hlist_for_each_entry_rcu. Signed-off-by: Tonghao Zhang --- net/openvswitch/flow_table.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/openvswitch/flow_table.c

[ovs-dev] [PATCH v2 1/2 ovn] NAT: Provide port range in input

2020-04-01 Thread Ankur Sharma
This patch enhances the NB OVSSCHEMA to add an additional comuln in NAT table. external_port_range: Specifies the range of port numbers to translate source port to. Changes also add corresponding ovn-nbctl cli. Signed-off-by: Ankur Sharma --- ovn-nb.ovsschema | 5

[ovs-dev] [PATCH v2 2/2 ovn] NAT: Northd and parser changes to support port range

2020-04-01 Thread Ankur Sharma
This patch has northd changes to put port range in the logical flow based on configuration. Port range is NOT applicable for stateless dnat_and_snat rules. Changes to parse the logical flow, which specifies port_range for ct_nat action. Example logical flow: ct_snat(10.15.24.135,1-3)

[ovs-dev] [PATCH v2 0/2 ovn] NAT port range support

2020-04-01 Thread Ankur Sharma
From: Ankur Sharma OVS supports additional paramaters while programming ct_nat rules. Some of the key paramters: a. Specifying external source port range. b. Specifying the algorithm for mapping ports from the range. c. Specifying the external ip address range. d. Persisting the selection of

[ovs-dev] Plan de continuidad de negocio

2020-04-01 Thread Cómo prevenir interrupciones en contingencias
Curso en línea de 6 horas - Jueves 23 de abril - Instructor Alejandro Ibarra Plan de continuidad de negocio: cómo prevenir interrupciones en contingencias 50% de descuento Descripción: Las organizaciones desarrollan planes estratégicos diferenciadas para distintos escenarios de tipo económico,

[ovs-dev] [PATCH] netdev-linux.c: Fix coverity unreachable code warning

2020-04-01 Thread ua1422
From: Usman Ansari Coverity reports unreachable code in "?" statement Fixed by removing code segment and unused variables & defines Signed-off-by: Usman Ansari --- lib/netdev-linux.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/netdev-linux.c

Re: [ovs-dev] [PATCH net-next v1 1/3] net: openvswitch: expand the meters number supported

2020-04-01 Thread Pravin Shelar
Ok, thanks. On Wed, Apr 1, 2020 at 3:50 AM Tonghao Zhang wrote: > > On Tue, Mar 31, 2020 at 11:57 AM Pravin Shelar wrote: > > > > On Sun, Mar 29, 2020 at 5:35 PM Tonghao Zhang > > wrote: > > > > > > On Mon, Mar 30, 2020 at 12:46 AM Pravin Shelar wrote: > > > > > > > > On Sat, Mar 28, 2020 at

Re: [ovs-dev] OVS-DPDK public meeting

2020-04-01 Thread Kevin Traynor
Next meeting April 15th 1600 UTC Attendees: Eelco, David, Flavio, William, Marcelo, Scott, Eli, Gaetan, Ilya, Johann, Roni, Ameer, Ian, Oz, Majd, Simon, Hemal, thomas, John M, Aaron, John Mac, Edwin, Irene. No presentations today, so didn't record. April 1st Agenda/Minutes - OVS-DPDK HwOl --

Re: [ovs-dev] [PATCH] cirrus: Force pkg update on FreeBSD.

2020-04-01 Thread Aaron Conole
Ilya Maximets writes: > Seems like FreeBSD ports/images are not well maintained and frequently > causes package installation failures like this: > > [1/40] Fetching automake-1.16.1_2.txz: .. done > pkg: cached package automake-1.16.1_2: size mismatch, fetching from remote > [2/40]

[ovs-dev] Tabulador de sueldos y compensaciones

2020-04-01 Thread Normalización de la curva salarial
Miércoles 24 de Abril | Horario de 10:00 a 17:00 hrs. | (hora del centro de México) - Elaboración de un tabulador de sueldos y compensaciones. - Curso en Línea Al inscribirte en cualquiera de nuestros cursos obtén tres accesos o conexiones al precio de uno para un mismo un curso. ¿De qué

Re: [ovs-dev] should ovs clear conntrack entries

2020-04-01 Thread Jacob Tanenbaum
Numan do you have an opinion Jacob On 3/27/20 2:03 PM, Jacob Tanenbaum wrote: > I am sorry let me clarify > > > I am working on a bug for a CMS regarding stale conntrack entries > after logical switch port deletion. The question is whether the > CMS itself should clear the conntrack entry or if

[ovs-dev] [PATCH v9 ovn 2/2] northd: add logical flows for dhcpv6 pfd parsing

2020-04-01 Thread Lorenzo Bianconi
Introduce logical flows in ovn router pipeline in order to parse dhcpv6 advertise/reply from IPv6 prefix delegation router. Do not overwrite ipv6_ra_pd_list info in options column of SB port_binding table written by ovn-controller Introduce ipv6_prefix column in NB Logical_router_port table to

[ovs-dev] [PATCH v9 ovn 0/2] Add IPv6 Prefix delegation (RFC3633)

2020-04-01 Thread Lorenzo Bianconi
Introduce IPv6 Prefix delegation state machine according to RFC 3633 https://tools.ietf.org/html/rfc3633. Add handle_dhcpv6_reply controller action to parse advertise/reply from IPv6 delegation server. Introduce logical flows in ovn router pipeline in order to parse dhcpv6 advertise/reply from

[ovs-dev] [PATCH v9 ovn 1/2] controller: add ipv6 prefix delegation state machine

2020-04-01 Thread Lorenzo Bianconi
Introduce IPv6 Prefix delegation state machine according to RFC 3633 https://tools.ietf.org/html/rfc3633. Add handle_dhcpv6_reply controller action to parse advertise/reply from IPv6 delegation server. Advertise/reply are parsed running respectively: - pinctrl_parse_dhcv6_advt -

[ovs-dev] cherry-pick commit 0c489cc54a6cac72daea2314cc6464f629356c50

2020-04-01 Thread Lorenzo Bianconi
Hi all, I guess it would be helpful to cherry-pick the following commit in ovn as well Regards, Lorenzo commit 0c489cc54a6cac72daea2314cc6464f629356c50 Author: Ilya Maximets Date: Wed Nov 6 17:29:58 2019 +0100 tests: Wait up to OVS_CTL_TIMEOUT seconds. While running tests under

[ovs-dev] [PATCH ovn] Add SCTP load balancer test.

2020-04-01 Thread Mark Michelson
This is essentially a copy of existing load balancer tests that use TCP, but with a few modifications for SCTP. Userspace conntrack and SCTP do not currently mix. Therefore, the test has been added to a new kernel-only system testsuite file. If userspace conntrack support for SCTP is added in the

Re: [ovs-dev] [PATCH net-next v1 1/3] net: openvswitch: expand the meters number supported

2020-04-01 Thread Tonghao Zhang
On Tue, Mar 31, 2020 at 11:57 AM Pravin Shelar wrote: > > On Sun, Mar 29, 2020 at 5:35 PM Tonghao Zhang > wrote: > > > > On Mon, Mar 30, 2020 at 12:46 AM Pravin Shelar wrote: > > > > > > On Sat, Mar 28, 2020 at 8:46 AM wrote: > > > > > > > > From: Tonghao Zhang > > > > > > > > In kernel

Re: [ovs-dev] [PATCH v8 ovn 2/2] northd: add logical flows for dhcpv6 pfd parsing

2020-04-01 Thread Numan Siddique
On Fri, Mar 27, 2020 at 3:44 PM Lorenzo Bianconi wrote: > > Introduce logical flows in ovn router pipeline in order to parse dhcpv6 > advertise/reply from IPv6 prefix delegation router. > Do not overwrite ipv6_ra_pd_list info in options column of SB port_binding > table written by ovn-controller

Re: [ovs-dev] [PATCH v8 ovn 1/2] controller: add ipv6 prefix delegation state machine

2020-04-01 Thread Numan Siddique
On Fri, Mar 27, 2020 at 3:43 PM Lorenzo Bianconi wrote: > > Introduce IPv6 Prefix delegation state machine according to RFC 3633 > https://tools.ietf.org/html/rfc3633. > Add handle_dhcpv6_reply controller action to parse advertise/reply from > IPv6 delegation server. Advertise/reply are parsed

Re: [ovs-dev] [PATCH ovn] ovn-controller: Fix potential segfault with "virtual" port bindings.

2020-04-01 Thread Dumitru Ceara
On 3/31/20 3:36 PM, Numan Siddique wrote: > On Tue, Mar 31, 2020 at 5:17 PM Dumitru Ceara wrote: >> >> Even though ovn-controller tries to set port_binding->chassis to NULL >> every time port_binding->virtual_parent is set to NULL for bindings of >> type="virtual", there's no way to enforce that

Re: [ovs-dev] [PATCH 2/2] Subject: [PATCH] netdev-linux.c: unreachable code

2020-04-01 Thread Simon Horman
On Tue, Mar 31, 2020 at 08:15:25AM -0700, Usman S. Ansari wrote: > On Tue, Mar 31, 2020 at 7:00 AM Simon Horman > wrote: > > > On Mon, Mar 30, 2020 at 12:36:51PM -0700, Ben Pfaff wrote: > > > On Mon, Mar 30, 2020 at 12:15:46PM -0700, ua1...@gmail.com wrote: > > > > From: Usman Ansari > > > > >