[ovs-dev] [PATCH v5 2/3] ovn: Gratuitous ARP for centralized NAT rules on a distributed router

2017-03-27 Thread Mickey Spiegel
This patch extends gratuitous ARP support for NAT addresses so that it applies to centralized NAT rules on a distributed router, in addition to the existing gratuitous ARP support for NAT addresses on gateway routers. Centralized NAT rules have type other than "dnat_and_snat", or have type

[ovs-dev] [PATCH v5 3/3] ovn: Gratuitous ARP for distributed NAT rules

2017-03-27 Thread Mickey Spiegel
This patch extends gratuitous ARP support for NAT addresses so that it applies to distributed NAT rules on a distributed logical router. Distributed NAT rules have type "dnat_and_snat" and specify 'external_mac' and 'logical_port'. Gratuitous ARP packets for distributed NAT rules are only

[ovs-dev] [PATCH v5 1/3] ovn: Fix options:router-port in Gratuitous ARP tests

2017-03-27 Thread Mickey Spiegel
In two of the Gratuitous ARP tests, "options:router-port" is not set correctly. This does not currently affect validity of the tests since the next line resets "options:router-port" to the correct value. Reported-by: Guruchuran Shetty Signed-off-by: Mickey Spiegel

Re: [ovs-dev] [PATCH 4/7] dpif-netlink-rtnl: add VXLAN creation support

2017-03-27 Thread Joe Stringer
On 16 March 2017 at 13:22, Eric Garver wrote: > Creates VXLAN devices using rtnetlink and tunnel metadata. > > Co-Authored-by: Thadeu Lima de Souza Cascardo > Signed-off-by: Thadeu Lima de Souza Cascardo > Signed-off-by: Eric Garver

Re: [ovs-dev] [PATCH v2 0/7] create tunnel devices using rtnetlink interface

2017-03-27 Thread Joe Stringer
On 16 March 2017 at 15:10, Eric Garver wrote: > This series adds support for the creation of tunnels using the rtnetlink > interface. This will open the possibility for new features and flags on those > vports without the need to change vport compatibility code. > > Support for STT

Re: [ovs-dev] [PATCH v2 2/7] dpif-netlink: break up code that creates compat ports

2017-03-27 Thread Joe Stringer
On 16 March 2017 at 15:10, Eric Garver wrote: > This breaks up creating compat ports so we can reuse some of the code to > create ports with rtnetlink. > > Co-authored-by: Thadeu Lima de Souza Cascardo > Signed-off-by: Thadeu Lima de Souza Cascardo

Re: [ovs-dev] Fwd: In OVS2.6 userspace datapath, ARP handling for non-tunnel packet?

2017-03-27 Thread Darrell Ball
On 3/23/17, 2:59 PM, "ovs-dev-boun...@openvswitch.org on behalf of Joo Kim" wrote: Folks, Anybody knows about this ARP behavior in ovs2.6? -thanks- -- Forwarded message --

Re: [ovs-dev] [PATCH v2 3/7] dpif-netlink: code to create/destroy tunnel ports via rtnetlink

2017-03-27 Thread Joe Stringer
On 16 March 2017 at 15:10, Eric Garver wrote: > In order to be able to add those tunnels, we need to add code to create > the tunnels and add them as NETDEV vports. And when there is no support > to create them, we need to fallback to compatibility code and add them > as tunnel

Re: [ovs-dev] [PATCH v4 2/2] tunneling: Avoid recirculation on datapath by computing the recirculate actions at translate time.

2017-03-27 Thread Chandran, Sugesh
Hi Ben, Not a problem, Thank you for your reply. Will send out the next version of patch after the merge. Regards _Sugesh > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Saturday, March 25, 2017 12:31 PM > To: Chandran, Sugesh > Cc:

Re: [ovs-dev] [PATCH v4 2/2] tunneling: Avoid recirculation on datapath by computing the recirculate actions at translate time.

2017-03-27 Thread Chandran, Sugesh
Regards _Sugesh > -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Saturday, March 25, 2017 12:30 PM > To: Chandran, Sugesh > Cc: d...@openvswitch.org; Gray, Mark D ; > jan.scheur...@ericsson.com; ja...@ovn.org;

Re: [ovs-dev] [PATCH 0/5] system-traffic: Add 802.1ad related tests

2017-03-27 Thread Joe Stringer
On 17 March 2017 at 15:13, Joe Stringer wrote: > On 17 March 2017 at 14:47, Ben Pfaff wrote: >> On Fri, Mar 17, 2017 at 04:13:10PM -0400, Eric Garver wrote: >>> This series add tests for 802.1ad and dot1q-tunnel. >>> >>> Eric Garver (5): >>> system-common-macros:

Re: [ovs-dev] [PATCH] ofproto-dpif-upcall: Fix flow setup/delete race.

2017-03-27 Thread Joe Stringer
On 21 March 2017 at 08:51, Paul Blakey wrote: > > On 20/03/2017 23:08, Joe Stringer wrote: >> >> If a handler thread takes a long time to set up a set of flows, it is >> possible for one of the installed flows to be dumped and scheduled >> for deletion by a revalidator thread

Re: [ovs-dev] [PATCH] ofproto-dpif-upcall: Fix flow setup/delete race.

2017-03-27 Thread Joe Stringer
On 21 March 2017 at 02:44, Paul Blakey wrote: > > > On 21/03/2017 10:04, Paul Blakey wrote: >> >> >> >> On 20/03/2017 23:08, Joe Stringer wrote: >>> >>> If a handler thread takes a long time to set up a set of flows, it is >>> possible for one of the installed flows to be

Re: [ovs-dev] New custom Message - unknown OpenFlow message

2017-03-27 Thread Adam
Zitat von Ben Pfaff : On Mon, Mar 27, 2017 at 09:08:32PM +0200, Adam Paul Rzyska wrote: Hello, in the last weeks I tried to exchange custom openflow messages (type experimenter) between a controller (ONOS) and a switch (Open vSwitch). The controller sends a really simple

Re: [ovs-dev] [PATCH] sandbox: use ssl for ovn-controller to sb db connection

2017-03-27 Thread Russell Bryant
On Thu, Mar 23, 2017 at 12:23 PM, Lance Richardson wrote: > When SSL support is available, use SSL for the ovn-controller > to southbound database connection. When configured without > SSL, unix socket connections are used. > > Signed-off-by: Lance Richardson

[ovs-dev] [RFC 5/5] ovn-sbctl: support setting rbac role for remote connections

2017-03-27 Thread Lance Richardson
Add support for specifying rbac "role" when setting remote connection configuration in southbound database. Signed-off-by: Lance Richardson --- ovn/utilities/ovn-sbctl.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git

[ovs-dev] [RFC 3/5] ovsdb: add support for role-based access controls

2017-03-27 Thread Lance Richardson
Add suport for ovsdb RBAC (role-based access control). This includes: - Support for new "--rbac " command-line option to ovsdb-server, to specify the RBAC roles table to be used. This table has one row per role, with each row having a "name" column (role name) and a

[ovs-dev] [RFC 4/5] ovn: add rbac tables to ovn southbound schema

2017-03-27 Thread Lance Richardson
Add rbac "roles" and "permissions" tables to ovn southbound database schema. Signed-off-by: Lance Richardson --- ovn/northd/ovn-northd.c | 190 ovn/ovn-sb.ovsschema| 26 ++- ovn/ovn-sb.xml | 39 ++

[ovs-dev] [RFC 2/5] ovsdb: refactor utility functions into separate file

2017-03-27 Thread Lance Richardson
Move local db access functions to a new file and make give them global scope so they can be included in the ovsdb library and used by other ovsdb library functions. Signed-off-by: Lance Richardson --- ovsdb/automake.mk| 4 +- ovsdb/ovsdb-server.c | 169

[ovs-dev] [RFC 1/5] stream: store stream peer id with stream state

2017-03-27 Thread Lance Richardson
Keep track of authenticated ID for stream peer. For SSL connections, the authenticated ID is the CN (Common Name) field from the peer's SSL certificate. Signed-off-by: Lance Richardson --- lib/stream-provider.h | 1 + lib/stream-ssl.c | 44

[ovs-dev] [RFC 0/5] role-based access controls for ovsdb-server, ovn-sb

2017-03-27 Thread Lance Richardson
This series implements role-based access control infrastructure for ovsdb-server, and uses that infrastructure to apply role-based access controls to the OVN_Southbound database. This implementation follows the outline discussed at:

Re: [ovs-dev] [PATCH v2] stp: Fix stp tests and make them more stable.

2017-03-27 Thread Joe Stringer
On 27 March 2017 at 09:43, Alin Serdean wrote: >> -Original Message- >> From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- >> boun...@openvswitch.org] On Behalf Of nickcooper-zhangtonghao >> Sent: Thursday, March 23, 2017 8:36 AM >> To:

Re: [ovs-dev] [PATCH v3 2/2] ovn-northd: Add logical flows to support native DNS

2017-03-27 Thread Numan Siddique
On Mon, Mar 27, 2017 at 9:45 PM, Guru Shetty wrote: > > > On 27 March 2017 at 07:13, wrote: > >> From: Numan Siddique >> >> OVN implements native DNS resolution which can be used to resolve the >> internal DNS names belonging to a logical

Re: [ovs-dev] How does ovs userpsace+dpdk handle the original data packet when it needs ARP request and waits for ARP reply?

2017-03-27 Thread Darrell Ball
On 3/22/17, 3:42 AM, "ovs-dev-boun...@openvswitch.org on behalf of Joo Kim" wrote: Hello, In OVS2.6 userspace datapath code, when there is no ARP cache, looks like it sends ARP request on the fly (via

Re: [ovs-dev] [PATCH 1/3 v2] datapath-windows: Add support for NAT in conntrack

2017-03-27 Thread Alin Serdean
Thanks a lot for the patches! This is not the full review yet. I will try to give it a go today. At first glance it needs a rebase to be applied on master. Thanks, Alin. > -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf

Re: [ovs-dev] [PATCH v2] stp: Fix stp tests and make them more stable.

2017-03-27 Thread Alin Serdean
This patch will fix the failing test on the windows unit test CI. Acked-by: Alin Gabriel Serdean > -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf Of nickcooper-zhangtonghao > Sent:

Re: [ovs-dev] [PATCH v3 2/2] ovn-northd: Add logical flows to support native DNS

2017-03-27 Thread Guru Shetty
On 27 March 2017 at 07:13, wrote: > From: Numan Siddique > > OVN implements native DNS resolution which can be used to resolve the > internal DNS names belonging to a logical datapath. > > To support this, a new table 'DNS' is added in the NB DB. A new

[ovs-dev] (no subject)

2017-03-27 Thread A
-- Apply loan at 3% interest rate @AEM Finance___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] Help to Modify OVS Source Code

2017-03-27 Thread Ben Pfaff
On Mon, Mar 27, 2017 at 11:17:12AM +0530, Attitude Killer wrote: > I am a beginner with ovs and C as well, can anyone please help me with what > I can do with the provided source code and how? If you're a beginner in C, I don't think that modifying OVS is a good project to start with.

[ovs-dev] [PATCH v3 2/2] ovn-northd: Add logical flows to support native DNS

2017-03-27 Thread nusiddiq
From: Numan Siddique OVN implements native DNS resolution which can be used to resolve the internal DNS names belonging to a logical datapath. To support this, a new table 'DNS' is added in the NB DB. A new column 'dns_lookups' is added in 'Logical_Switch' table which

[ovs-dev] [PATCH v3 1/2] ovn-controller: Add 'dns_lookup' action

2017-03-27 Thread nusiddiq
From: Numan Siddique This patch adds a new OVN action 'dns_lookup' to support native DNS. ovn-controller parses this action and adds a NXT_PACKET_IN2 OF flow with 'pause' flag set. A new table 'DNS' is added in the SB DB to look up and resolve the DNS queries. When a valid

[ovs-dev] [PATCH v3 0/2] ovn: Native DNS support

2017-03-27 Thread nusiddiq
From: Numan Siddique v2 -> v3 PS1 - No changes PS2 (ovn-northd: Add logical flows to support native DNS) - Added the DNS table in NB DB and a reference to it in 'Logical_Switch' table as suggested by Guru - Added as a weak reference in the

Re: [ovs-dev] [PATCH] Document: Fix default DB in ovn-nbctl/sbctl manpages.

2017-03-27 Thread Russell Bryant
On Mon, Mar 27, 2017 at 2:50 AM, Han Zhou wrote: > Signed-off-by: Han Zhou > --- > ovn/utilities/ovn-nbctl.8.xml | 2 +- > ovn/utilities/ovn-sbctl.8.in | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to master, thanks! -- Russell

[ovs-dev] [PATCH] Document: Fix default DB in ovn-nbctl/sbctl manpages.

2017-03-27 Thread Han Zhou
Signed-off-by: Han Zhou --- ovn/utilities/ovn-nbctl.8.xml | 2 +- ovn/utilities/ovn-sbctl.8.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ovn/utilities/ovn-nbctl.8.xml b/ovn/utilities/ovn-nbctl.8.xml index 1913488..10793ce 100644 ---