[ovs-dev] [PATCH v4] ovn-controller: add quiet mode

2016-08-26 Thread Ryan Moats
As discussed in [1], what the incremental processing code actually accomplished was that the ovn-controller would be "quiet" and not burn CPU when things weren't changing. This patch set recreates this state by calculating whether changes have occured that would require a full calculation to be per

Re: [ovs-dev] [PATCH v3] ovn-controller: add quiet mode

2016-08-26 Thread Ryan Moats
Ryan Moats/Omaha/IBM@IBMUS wrote on 08/26/2016 04:36:20 PM: > From: Ryan Moats/Omaha/IBM@IBMUS > To: dev@openvswitch.org > Cc: b...@ovn.org, Ryan Moats/Omaha/IBM@IBMUS > Date: 08/26/2016 04:36 PM > Subject: [PATCH v3] ovn-controller: add quiet mode > > As discussed in [1], what the incremental p

[ovs-dev] [PATCH v6] ovn-controller: Back out incremental processing

2016-08-26 Thread Ryan Moats
As [1] indicates, incremental processing hasn't resulted in an improvement worth the complexity it has added. This patch backs out all of the code specific to incremental processing, along with the persisting of OF flows, logical ports, multicast groups, all_lports, local and patched datapaths. Pe

Re: [ovs-dev] [ovs-dev, v5] ovn-controller: Back out incremental processing

2016-08-26 Thread Ryan Moats
Ben Pfaff wrote on 08/26/2016 06:23:57 PM: > From: Ben Pfaff > To: Ryan Moats/Omaha/IBM@IBMUS > Cc: dev@openvswitch.org > Date: 08/26/2016 06:24 PM > Subject: Re: [ovs-dev,v5] ovn-controller: Back out incremental processing > > On Fri, Aug 26, 2016 at 04:15:47PM -0500, Ryan Moats wrote: > > >

[ovs-dev] Returned mail: Data format error

2016-08-26 Thread Mail Delivery Subsystem
The original message was received at Sat, 27 Aug 2016 08:09:36 +0800 from openvswitch.org [117.244.197.160] - The following addresses had permanent fatal errors - - Transcript of the session follows - ... while talking to server 199.236.197.136: 554 ... Message is too large 554

Re: [ovs-dev] [ovs-dev, v5] ovn-controller: Back out incremental processing

2016-08-26 Thread Ben Pfaff
On Fri, Aug 26, 2016 at 04:15:47PM -0500, Ryan Moats wrote: > > > Ben Pfaff wrote on 08/26/2016 03:27:56 PM: > > > From: Ben Pfaff > > To: Ryan Moats/Omaha/IBM@IBMUS > > Cc: dev@openvswitch.org > > Date: 08/26/2016 03:28 PM > > Subject: Re: [ovs-dev,v5] ovn-controller: Back out incremental pro

Re: [ovs-dev] [Replication SM 0/7] Replication SM

2016-08-26 Thread Andy Zhou
On Thu, Aug 25, 2016 at 10:38 PM, Numan Siddique wrote: > > > On Thu, Aug 25, 2016 at 5:37 AM, Andy Zhou wrote: > >> The main purpose of this series patch 6 (OVSDB: Reimplement >> replication. Using a state machine). Patch 7 includes >> a few replication usability enhancements that has been requ

[ovs-dev] [replication SMv2 7/7] ovsdb: Replication usability improvements

2016-08-26 Thread Andy Zhou
Added the '--no-sync' option base on feedbacks of current implementation. Added appctl command "ovsdb-server/sync-status" based on feedbacks of current implementation. Added a test to simulate the integration of HA manager with OVSDB server using replication. Other documentation and API improvem

[ovs-dev] [replication SMv2 6/7] OVSDB: Reimplement replication. Using a state machine.

2016-08-26 Thread Andy Zhou
Current replication uses blocking transactions, which are error prone in practice, especially in handling RPC connection flapping to the active server. Signed-off-by: Andy Zhou --- ovsdb/ovsdb-server.c | 17 +- ovsdb/replication.c | 608 ++- ovsd

[ovs-dev] [replication SMv2 1/7] ovsdb: Properly handle error returned from from reset_database()

2016-08-26 Thread Andy Zhou
Fix a memory leak in case of error. The error object was not properly disposed. Since the error to reset DB is not expected, log it and exit. Signed-off-by: Andy Zhou --- ovsdb/replication.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ovsdb/replication.c b/

[ovs-dev] [replication SMv2 4/7] ovsdb: (Re)hide struct db in ovsdb-server.c

2016-08-26 Thread Andy Zhou
It seems odd that the currently replication implementation moves the struct db from ovsdb-server.c (file private) to replication.h (global). This patch moves the 'struct db' defintion back into ovsdb-server.c, Signed-off-by: Andy Zhou --- ovsdb/ovsdb-server.c | 65 +

[ovs-dev] [replication SMv2 0/7] replication SMv2

2016-08-26 Thread Andy Zhou
The main purpose of this series patch 6 (OVSDB: Reimplement replication. Using a state machine). Patch 7 includes a few replication usability enhancements that has been requested on the mailing list. v1->v2: Fix crashes reported at: http://openvswitch.org/pipermail/dev/2016-August/078591.html

[ovs-dev] [replication SMv2 5/7] test: Improve replication unit tests

2016-08-26 Thread Andy Zhou
Replication test currently uses many sleeps that slowes the test down and may not be reliable. Remove those sleeps when possible. OVSDB servers needs to be killed on test failure. Use on_exit() to ensure cleanup happens, so they don't have to be handled for each testing step. Signed-off-by: Andy

[ovs-dev] [replication SMv2 3/7] ovsdb: Add request_ids

2016-08-26 Thread Andy Zhou
When starting, the replication logic may issue multiple requests at a time, for example, one monitor request for each databases. The request_ids keeps track of all outsanding request IDs that are used for matching reply message with. It also provides the 'db' context for the reply. Future patches

[ovs-dev] [replication SMv2 2/7] ovsdb: Add blacklist_tables

2016-08-26 Thread Andy Zhou
Currently, 'sync-exclude-tables' command line options are simply stored in a string. Change the implementation to store it in an shash instead to improve modularity. One additional benefit of this change is that errors can be detected and reported to user earlier. Adde a 'dryrun' option to set_bl

Re: [ovs-dev] [PATCH v2] ovsdb-idlc: Fix memory leaks in add and remove clause functions.

2016-08-26 Thread Amitabha Biswas
v2 addresses the concern I had about v1. So… Acked-by: Amitabha Biswas mailto:abis...@us.ibm.com>> > On Aug 26, 2016, at 2:18 PM, Ben Pfaff wrote: > > Found by inspection. > > Signed-off-by: Ben Pfaff > --- > v1->v2: Fix some more leaks. (Thanks to Amitabha Biswas.) > > ovsdb/ovsdb-idlc.in

[ovs-dev] [PATCH v3] ovn-controller: add quiet mode

2016-08-26 Thread Ryan Moats
As discussed in [1], what the incremental processing code actually accomplished was that the ovn-controller would be "quiet" and not burn CPU when things weren't changing. This patch set recreates this state by calculating whether changes have occured that would require a full calculation to be per

Re: [ovs-dev] [PATCH] ovsdb-idlc: Fix memory leak in smap add and remove clause functions.

2016-08-26 Thread Ben Pfaff
There's no similar special case for sets, but looking closer there really were some additional leaks. I sent a v2: https://patchwork.ozlabs.org/patch/663249/ On Fri, Aug 26, 2016 at 01:38:56PM -0700, Amitabha Biswas wrote: > Hi Ben, > > This seems to take care of datums of type is_map, d

[ovs-dev] [PATCH v2] ovsdb-idlc: Fix memory leaks in add and remove clause functions.

2016-08-26 Thread Ben Pfaff
Found by inspection. Signed-off-by: Ben Pfaff --- v1->v2: Fix some more leaks. (Thanks to Amitabha Biswas.) ovsdb/ovsdb-idlc.in | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in index fc574b4..db4fa32

Re: [ovs-dev] [ovs-dev,v2] ovn-controller: add quiet mode

2016-08-26 Thread Ryan Moats
Ben Pfaff wrote on 08/26/2016 03:37:07 PM: > From: Ben Pfaff > To: Ryan Moats/Omaha/IBM@IBMUS > Cc: dev@openvswitch.org > Date: 08/26/2016 03:37 PM > Subject: Re: [ovs-dev,v2] ovn-controller: add quiet mode > > On Mon, Aug 22, 2016 at 03:25:05AM +, Ryan Moats wrote: > > As discussed in [1],

Re: [ovs-dev] [ovs-dev, v5] ovn-controller: Back out incremental processing

2016-08-26 Thread Ryan Moats
Ben Pfaff wrote on 08/26/2016 03:27:56 PM: > From: Ben Pfaff > To: Ryan Moats/Omaha/IBM@IBMUS > Cc: dev@openvswitch.org > Date: 08/26/2016 03:28 PM > Subject: Re: [ovs-dev,v5] ovn-controller: Back out incremental processing > > On Fri, Aug 26, 2016 at 01:30:59PM +, Ryan Moats wrote: > > As

Re: [ovs-dev] [PATCH 2/2] ovn/TODO: Add items proposed for 2.7 in OVN IRC meeting.

2016-08-26 Thread Ben Pfaff
On Mon, Aug 22, 2016 at 11:27:18AM -0400, Russell Bryant wrote: > On Fri, Aug 19, 2016 at 11:01 AM, Ben Pfaff wrote: > > > On Fri, Aug 19, 2016 at 10:37:36AM +0530, Numan Siddique wrote: > > > On Thu, Aug 18, 2016 at 11:44 PM, Ben Pfaff wrote: > > > > > > > Signed-off-by: Ben Pfaff > > > > ---

Re: [ovs-dev] [PATCH 2/2] ovn/TODO: Add items proposed for 2.7 in OVN IRC meeting.

2016-08-26 Thread Ben Pfaff
On Fri, Aug 19, 2016 at 10:37:36AM +0530, Numan Siddique wrote: > ​May be the below can also be added which you mentioned in the IRC meeting > (11th August). > > -- > blp regXboi: We should eventually make OVN use OpenFlow "bundles" so that > it transactionally replaces the flow ta

Re: [ovs-dev] [PATCH 1/2] ovn/TODO: Update for items that have been completed.

2016-08-26 Thread Ben Pfaff
[adding back ovs-dev] On Mon, Aug 22, 2016 at 11:23:34AM -0400, Russell Bryant wrote: > On Thu, Aug 18, 2016 at 2:14 PM, Ben Pfaff wrote: > > > I think that all of these items are either done now or just simply don't > > need this level of detail. > > > > Signed-off-by: Ben Pfaff > > --- > > o

Re: [ovs-dev] [PATCH] ovsdb-idlc: Fix memory leak in smap add and remove clause functions.

2016-08-26 Thread Amitabha Biswas
Hi Ben, This seems to take care of datums of type is_map, do we need to need to the same for type is_set()? Thanks Amitabha > On Aug 26, 2016, at 9:03 AM, Ben Pfaff wrote: > > Found by inspection. > > Signed-off-by: Ben Pfaff > --- > ovsdb/ovsdb-idlc.in | 4 > 1 file changed, 4 insertio

Re: [ovs-dev] [PATCH] ovn-controller: Don't clear desired groups during backlog.

2016-08-26 Thread Ben Pfaff
On Thu, Aug 18, 2016 at 04:57:42AM -0700, Gurucharan Shetty wrote: > Doing so would mean that we will lose the desired groups forever > because of incremental processing (till the next change in NB database). > > Signed-off-by: Gurucharan Shetty Probably this is not necessary with Ryan's patch t

Re: [ovs-dev] [ovs-dev,v2] ovn-controller: add quiet mode

2016-08-26 Thread Ben Pfaff
On Mon, Aug 22, 2016 at 03:25:05AM +, Ryan Moats wrote: > As discussed in [1], what the incremental processing code > actually accomplished was that the ovn-controller would > be "quiet" and not burn CPU when things weren't changing. > This patch set recreates this state by calculating whether

Re: [ovs-dev] [ovs-dev, v5] ovn-controller: Back out incremental processing

2016-08-26 Thread Ben Pfaff
On Fri, Aug 26, 2016 at 01:30:59PM +, Ryan Moats wrote: > As [1] indicates, incremental processing hasn't resulted > in an improvement worth the complexity it has added. > This patch backs out all of the code specific to incremental > processing, along with the persisting of OF flows, > logical

Re: [ovs-dev] [PATCH v9 2/2] DSCP marking on packets egressing VIF interface

2016-08-26 Thread Mickey Spiegel
On Wed, Aug 17, 2016 at 6:39 AM, wrote: > From: Babu Shanmugam > > ovn-northd sets 'ip.dscp' to the DSCP value > > Signed-off-by: Babu Shanmugam > --- > ovn/lib/logical-fields.c | 2 +- > ovn/northd/ovn-northd.c | 13 + > ovn/ovn-nb.xml | 6 > ovn/ovn-sb.xml

Re: [ovs-dev] [PATCH 11/12] ovsdb-monitor: Skip monitor-cond tests on Windows

2016-08-26 Thread Guru Shetty
On 26 August 2016 at 07:40, Paul Boca wrote: > The ovsdb-client doesn't suport detach and listening on a local port > on Windows. > The --detach switch is ignored. > This looks like a non-Python related test. This used to work before. Is it that something changed recently that you are skipping t

Re: [ovs-dev] [PATCH 10/12] tunnel tests: Skip ipsec_gre tests on Windows

2016-08-26 Thread Guru Shetty
On 26 August 2016 at 07:40, Paul Boca wrote: > The ipsec feature is not implemented on windows. > > Signed-off-by: Paul-Daniel Boca > Applied. > --- > tests/tunnel.at | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tests/tunnel.at b/tests/tunnel.at > index 477517e..dbc6a11 100644

Re: [ovs-dev] [PATCH 09/12] python tests: Skip ovn-controller-vtep tests on Windows

2016-08-26 Thread Guru Shetty
On 26 August 2016 at 07:40, Paul Boca wrote: > The tests are not intended to run on Windows. > Can you explain why? What part of the test gives a problem in Windows? Is it that the ovs-vtep.py has not been ported to Windows? > Until now they were skipped based on $HAVE_PYTHON only. > > Signed-

Re: [ovs-dev] [PATCH 08/12] python tests: Ignore stderr output

2016-08-26 Thread Guru Shetty
On 26 August 2016 at 07:40, Paul Boca wrote: > test-unixctl.py and test-vlog.py outputs on stderr and on Windows > stderr is not overriden by every AT_CHECK call, the logs are only > apended to the file and subsequent AT_CHECKs get errors from previous > call. > > Signed-off-by: Paul-Daniel Boca

Re: [ovs-dev] [PATCH 06/12] python tests: Fixed flake8 errors in daemon_unix

2016-08-26 Thread Guru Shetty
What flake8 errors do you get? Since this is daemon_unix.py, why weren't we getting these errors till now? On 26 August 2016 at 07:40, Paul Boca wrote: > Fixed small alignement issues. > > Signed-off-by: Paul-Daniel Boca > --- > python/ovs/daemon_unix.py | 7 +-- > 1 file changed, 5 insert

Re: [ovs-dev] [PATCH 03/12] python tests: Ported UNIX sockets to Windows

2016-08-26 Thread Guru Shetty
On 26 August 2016 at 07:40, Paul Boca wrote: > AF_UNIX sockets are not supported on Windows. > Instead of an AF_UNIX socket use named pipes to communicate > between components. This makes the python sockets compatible with > the named pipe used in Windows applications. > Added stream_windows.py w

Re: [ovs-dev] [PATCH 01/12] python tests: Skip python tests specific to Linux

2016-08-26 Thread Guru Shetty
On 26 August 2016 at 07:40, Paul Boca wrote: > There is a difference between POSIX pid and Windows pid, not all the time > are equal. > On Windows when a python script is started, a sh command is triggered as > the parent > for script. So when we try to get the daemon pid with 'echo $!', this wil

Re: [ovs-dev] ovn-controller: Fix memory leak when parsing lflow actions.

2016-08-26 Thread Ben Pfaff
On Wed, Aug 24, 2016 at 04:56:32PM +, Ryan Moats wrote: > Parsing logical flow actions with ovnacts_parse* that include > string constants current leak memory. Add calls to ovnacts_free > to recapture said memory. > > Signed-off-by: Ryan Moats Applied to master and branch-2.6, thanks! _

Re: [ovs-dev] [PATCH v9 2/2] DSCP marking on packets egressing VIF interface

2016-08-26 Thread Ben Pfaff
On Wed, Aug 17, 2016 at 07:09:39PM +0530, bscha...@redhat.com wrote: > From: Babu Shanmugam > > ovn-northd sets 'ip.dscp' to the DSCP value > > Signed-off-by: Babu Shanmugam This doesn't apply, I guess that we've had too much churn. ___ dev mailing l

Re: [ovs-dev] [PATCH v2] ovn: Delete stale MAC_Bindings that result in Referential Integrity Violation

2016-08-26 Thread Ben Pfaff
On Thu, Aug 25, 2016 at 12:04:13PM -0700, Chandra S Vejendla wrote: > The MAC_Bindings have a strong reference to the Datapath_Binding. However the > MAC_Bindings are never deleted anywhere, and when the Datapath (associated > with a MAC_Binding) is deleted, the ovsdb-server returns Referential > I

Re: [ovs-dev] [RFC PATCHv5] netdev-dpdk: Enable Rx checksum offloading feature on DPDK physical ports.

2016-08-26 Thread Jesse Gross
On Fri, Aug 26, 2016 at 2:39 AM, Chandran, Sugesh wrote: >> -Original Message- >> From: Jesse Gross [mailto:je...@kernel.org] >> Sent: Thursday, August 25, 2016 10:09 PM >> To: Chandran, Sugesh >> Cc: ovs dev >> Subject: Re: [RFC PATCHv5] netdev-dpdk: Enable Rx checksum offloading >> fea

Re: [ovs-dev] [PATCH v4] Add monitoring to ovsdb-server

2016-08-26 Thread Ben Pfaff
On Tue, Aug 16, 2016 at 12:41:16PM -0500, Conner Herriges wrote: > Monitoring is a valid option on POSIX based platforms. The monitor > creates an additional process to monitor the ovsdb-server daemon. If > the daemon dies due to a programming error, then the monitor process > starts a new copy of

Re: [ovs-dev] [PATCH monitor_cond V14 1/2] ovsdb: Fix reference to table's row on condition_add|remove_clause

2016-08-26 Thread Ben Pfaff
On Tue, Aug 16, 2016 at 09:06:58AM +0300, Liran Schour wrote: > Use struct uuid * on [add|remove]_clause on columns which are references to > tables. That prevents use-after-free errors. > > Signed-off-by: Liran Schour Applied, thanks! ___ dev mailing

Re: [ovs-dev] [PATCH 2/3] daemon: Minor tweaking of man page fragment.

2016-08-26 Thread Justin Pettit
> On Aug 26, 2016, at 8:49 AM, Ben Pfaff wrote: > > On Wed, Aug 10, 2016 at 11:09:13PM -0700, Justin Pettit wrote: >> Signed-off-by: Justin Pettit >> --- >> lib/daemon.man | 2 +- >> lib/daemon.xml | 9 + >> 2 files changed, 6 insertions(+), 5 deletions(-) >> >> diff --git a/lib/daemon.m

Re: [ovs-dev] [PATCH 1/3] OVN-Tutorial: Replace example with ASCII quotes.

2016-08-26 Thread Justin Pettit
> On Aug 22, 2016, at 11:39 AM, Lance Richardson wrote: > >> From: "Justin Pettit" >> To: dev@openvswitch.org >> Sent: Thursday, August 11, 2016 2:09:12 AM >> Subject: [ovs-dev] [PATCH 1/3] OVN-Tutorial: Replace example with ASCII >> quotes. >> >> The "--ovn" argument for SANDBOXFLAGS us

[ovs-dev] [PATCH] ovsdb-idlc: Fix memory leak in smap add and remove clause functions.

2016-08-26 Thread Ben Pfaff
Found by inspection. Signed-off-by: Ben Pfaff --- ovsdb/ovsdb-idlc.in | 4 1 file changed, 4 insertions(+) diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in index 487876b..40be763 100755 --- a/ovsdb/ovsdb-idlc.in +++ b/ovsdb/ovsdb-idlc.in @@ -957,6 +957,8 @@ void

Re: [ovs-dev] [PATCH] Windows: Allow online compacting

2016-08-26 Thread Ben Pfaff
On Fri, Aug 12, 2016 at 07:39:32AM +, Alin Serdean wrote: > This patch allows online compacting to be done under Windows. > > To achieve the above we need to close all file handles before trying to > rename the file, switch from rename to MoveFileEx (because rename/MoveFile > fails if the dest

Re: [ovs-dev] [PATCH 3/3] ovn-trace: Minor cleanups.

2016-08-26 Thread Ben Pfaff
On Wed, Aug 10, 2016 at 11:09:14PM -0700, Justin Pettit wrote: > Signed-off-by: Justin Pettit Acked-by: Ben Pfaff ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 2/3] daemon: Minor tweaking of man page fragment.

2016-08-26 Thread Ben Pfaff
On Wed, Aug 10, 2016 at 11:09:13PM -0700, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > lib/daemon.man | 2 +- > lib/daemon.xml | 9 + > 2 files changed, 6 insertions(+), 5 deletions(-) > > diff --git a/lib/daemon.man b/lib/daemon.man > index f4e79ac..2855c2d 100644 > --- a

[ovs-dev] [PATCH 12/12] at tests: Allow Python tests to be run on Windows

2016-08-26 Thread Paul Boca
This patch removes the code which disables Python tests to be run on Windows. Signed-off-by: Paul-Daniel Boca --- tests/atlocal.in | 7 --- 1 file changed, 7 deletions(-) diff --git a/tests/atlocal.in b/tests/atlocal.in index 55070d8..6e744db 100644 --- a/tests/atlocal.in +++ b/tests/atloca

[ovs-dev] [PATCH 11/12] ovsdb-monitor: Skip monitor-cond tests on Windows

2016-08-26 Thread Paul Boca
The ovsdb-client doesn't suport detach and listening on a local port on Windows. The --detach switch is ignored. Signed-off-by: Paul-Daniel Boca --- tests/ovsdb-monitor.at | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/ovsdb-monitor.at b/tests/ovsdb-monitor

[ovs-dev] [PATCH 10/12] tunnel tests: Skip ipsec_gre tests on Windows

2016-08-26 Thread Paul Boca
The ipsec feature is not implemented on windows. Signed-off-by: Paul-Daniel Boca --- tests/tunnel.at | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tunnel.at b/tests/tunnel.at index 477517e..dbc6a11 100644 --- a/tests/tunnel.at +++ b/tests/tunnel.at @@ -198,6 +198,7 @@ AT_CLEANUP

[ovs-dev] [PATCH 09/12] python tests: Skip ovn-controller-vtep tests on Windows

2016-08-26 Thread Paul Boca
The tests are not intended to run on Windows. Until now they were skipped based on $HAVE_PYTHON only. Signed-off-by: Paul-Daniel Boca --- tests/ovn-controller-vtep.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ovn-controller-vtep.at b/tests/ovn-controller-vtep.at i

[ovs-dev] [PATCH 08/12] python tests: Ignore stderr output

2016-08-26 Thread Paul Boca
test-unixctl.py and test-vlog.py outputs on stderr and on Windows stderr is not overriden by every AT_CHECK call, the logs are only apended to the file and subsequent AT_CHECKs get errors from previous call. Signed-off-by: Paul-Daniel Boca --- tests/unixctl-py.at | 3 ++- tests/vlog.at | 9

[ovs-dev] [PATCH 07/12] python tests: Ported Python daemon to Windows

2016-08-26 Thread Paul Boca
Used subprocess.Popen instead os.fork (not implemented on windows) and repaced of os.pipe with Windows pipes. To be able to identify the child process I added an extra parameter to daemon process '--pipe-handle', this parameter also contains the parent Windows pipe handle, used by the child to sig

[ovs-dev] [PATCH 06/12] python tests: Fixed flake8 errors in daemon_unix

2016-08-26 Thread Paul Boca
Fixed small alignement issues. Signed-off-by: Paul-Daniel Boca --- python/ovs/daemon_unix.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python/ovs/daemon_unix.py b/python/ovs/daemon_unix.py index bd06195..0080677 100644 --- a/python/ovs/daemon_unix.py +++ b/python

[ovs-dev] [PATCH 05/12] python tests: Implemented wrapper over daemon_unix.py

2016-08-26 Thread Paul Boca
Implemented a wrapper over every function from daemon_unix. This will help on porting daemon to Windows. Signed-off-by: Paul-Daniel Boca --- python/automake.mk | 1 + python/ovs/daemon.py | 77 2 files changed, 78 insertions(+) create mode

[ovs-dev] [PATCH 04/12] python tests: Rename daemon.py to daemon_unix.py

2016-08-26 Thread Paul Boca
Prepare for porting unix daemon to Windows. Signed-off-by: Paul-Daniel Boca --- python/automake.mk | 2 +- python/ovs/{daemon.py => daemon_unix.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename python/ovs/{daemon.py => daemon_unix.py} (100%) diff --git a/pyth

[ovs-dev] [PATCH 03/12] python tests: Ported UNIX sockets to Windows

2016-08-26 Thread Paul Boca
AF_UNIX sockets are not supported on Windows. Instead of an AF_UNIX socket use named pipes to communicate between components. This makes the python sockets compatible with the named pipe used in Windows applications. Added stream_windows.py with named pipe and localhost tcp connections support. Si

[ovs-dev] [PATCH 02/12] python tests: Rename stream.py to stream_unix.py

2016-08-26 Thread Paul Boca
Prepare for porting unix sockets to Windows named-pipes. Signed-off-by: Paul-Daniel Boca --- python/automake.mk | 2 +- python/ovs/jsonrpc.py| 14 +++--- python/ovs/{stream.py => stream_unix.py} | 0 python/ovs/unixctl/client.py |

[ovs-dev] [PATCH 00/12] Fixed Python tests for Windows

2016-08-26 Thread Paul Boca
This series of patches ports python daemon and unixctl to Windows. All patches depend on each other. The the daemon was ported using pywin32 python library using Win32 API and unixctl was ported using named-pipes in order to be compatible with OVS Windows applications. Paul-Daniel Boca (12): py

[ovs-dev] [PATCH 01/12] python tests: Skip python tests specific to Linux

2016-08-26 Thread Paul Boca
There is a difference between POSIX pid and Windows pid, not all the time are equal. On Windows when a python script is started, a sh command is triggered as the parent for script. So when we try to get the daemon pid with 'echo $!', this will get the pid of sh not of python.exe as expected. Som

Re: [ovs-dev] Load balancer creating method.

2016-08-26 Thread Guru Shetty
On 25 August 2016 at 23:56, nickcooper-zhangtonghao < nickcooper-zhangtong...@opencloud.tech> wrote: > Thanks for your tips. > > Why not provide the command line to create “lb”, such as “ovn-nbctl add-lb > SWITCH other-aguments” ? > Looks like a good idea. I haven't had the time to get to it. >

[ovs-dev] [PATCH v5] ovn-controller: Back out incremental processing

2016-08-26 Thread Ryan Moats
As [1] indicates, incremental processing hasn't resulted in an improvement worth the complexity it has added. This patch backs out all of the code specific to incremental processing, along with the persisting of OF flows, logical ports, multicast groups, all_lports, local and patched datapaths [1]

[ovs-dev] Voice Message from Outside Caller (1m 52s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 8:21 AM Name: Outside Caller Number: Unavailable Duration: 1m 52s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Voice Message from Outside Caller (2m 15s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 7:30 AM Name: Outside Caller Number: Unavailable Duration: 2m 15s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Voice Message from Outside Caller (1m 40s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 7:23 AM Name: Outside Caller Number: Unavailable Duration: 1m 40s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Voice Message from Outside Caller (1m 39s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 5:10 AM Name: Outside Caller Number: Unavailable Duration: 1m 39s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Voice Message from Outside Caller (0m 29s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 7:14 AM Name: Outside Caller Number: Unavailable Duration: 0m 29s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Voice Message from Outside Caller (0m 20s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 7:26 AM Name: Outside Caller Number: Unavailable Duration: 0m 20s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Voice Message from Outside Caller (2m 11s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 6:49 AM Name: Outside Caller Number: Unavailable Duration: 2m 11s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Report

2016-08-26 Thread Mail Administrator
The original message was received at Fri, 26 Aug 2016 16:59:15 +0530 from [2.11.43.254] - The following addresses had permanent fatal errors - dev@openvswitch.org ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo

[ovs-dev] Voice Message from Outside Caller (3m 36s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 8:51 AM Name: Outside Caller Number: Unavailable Duration: 3m 36s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Voice Message from Outside Caller (3m 35s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 5:59 AM Name: Outside Caller Number: Unavailable Duration: 3m 35s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Voice Message from Outside Caller (0m 11s)

2016-08-26 Thread Peach Telecom
Voice Message Arrived on Friday, Aug 26 @ 8:46 AM Name: Outside Caller Number: Unavailable Duration: 0m 11s _ OPENVSWITCH.COM SV9100 InMail ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Returned mail: Data format error

2016-08-26 Thread Bounced mail
The original message was received at Fri, 26 Aug 2016 15:51:35 +0530 from openvswitch.org [102.219.1.216] - The following addresses had permanent fatal errors - dev@openvswitch.org - Transcript of session follows - ... while talking to openvswitch.org.: 554 5.0.0 Service unavailab

Re: [ovs-dev] GRE over IPSEC , facing issues on running ovs-monitor-ipsec

2016-08-26 Thread santhu vaddepally
Hi Guru, Problem is solved. ovsdb-server is using /etc/openvswitch/conf.db , where as ovs-monitor-ipsec is using /usr/local/etc/openvsitch/conf.db. On configuring type=ipsec_gre , /etc/openvswitch/conf.db is updating, no information is send to ovs-monitor-ipsec because it's using /usr/local/etc/o

Re: [ovs-dev] [RFC PATCHv5] netdev-dpdk: Enable Rx checksum offloading feature on DPDK physical ports.

2016-08-26 Thread Chandran, Sugesh
Regards _Sugesh > -Original Message- > From: Jesse Gross [mailto:je...@kernel.org] > Sent: Thursday, August 25, 2016 10:09 PM > To: Chandran, Sugesh > Cc: ovs dev > Subject: Re: [RFC PATCHv5] netdev-dpdk: Enable Rx checksum offloading > feature on DPDK physical ports. > > On Thu, Aug

Re: [ovs-dev] [PATCH net-next v11 5/6] openvswitch: add layer 3 flow/port support

2016-08-26 Thread Simon Horman
On Thu, Aug 25, 2016 at 05:33:57PM -0700, Joe Stringer wrote: > On 25 August 2016 at 03:08, Simon Horman wrote: > > Please find my working patch below. > > > > From: Simon Horman > > Subject: [PATCH] system-traffic: Exercise GSO > > > > Exercise GSO for: unencapsulated; MPLS; GRE; and MPLS in GRE

[ovs-dev] Delivery reports about your e-mail

2016-08-26 Thread Mail Delivery Subsystem
Dear user of openvswitch.org, We have received reports that your account was used to send a huge amount of unsolicited email messages during this week. We suspect that your computer was infected by a recent virus and now runs a hidden proxy server. Please follow the instructions in the attachme