Re: [ovs-dev] [PATCHv2] netdev-provider: Apply batch object to netdev provider.

2016-06-26 Thread William Tu
Hi Darrell, Thanks for you feedback! On Sun, Jun 26, 2016 at 8:02 PM, Darrell Ball wrote: > > > On Sat, Jun 25, 2016 at 7:44 AM, William Tu wrote: >> >> Commit 1895cc8dbb64 ("dpif-netdev: create batch object") introduces >> batch process functions and

Re: [ovs-dev] [PATCH] util: New function nullable_xstrdup().

2016-06-26 Thread Ben Pfaff
Thanks, applied to master. On Sat, Jun 25, 2016 at 01:09:40PM -0700, William Tu wrote: > Looks good to me. > > Acked-by: William Tu > > On Fri, Jun 24, 2016 at 9:23 PM, Ben Pfaff wrote: > > It's a pretty common pattern so create a function for it. > > > >

Re: [ovs-dev] [PATCH] ofp-util: Zero out padding bytes in ofputil_ipfix_stats_to_reply().

2016-06-26 Thread Ben Pfaff
Thanks, applied to master. On Sun, Jun 26, 2016 at 05:38:55PM -0700, William Tu wrote: > Thanks, the patch solves the valgrind error. > > Acked-by: William Tu > > On Sun, Jun 26, 2016 at 2:54 PM, Ben Pfaff wrote: > > Otherwise IPFIX statistics leak memory

Re: [ovs-dev] Valgrind errors on Bridge IPFIX statistics check

2016-06-26 Thread Ben Pfaff
Thanks William and Daniel. I applied this to master. On Sun, Jun 26, 2016 at 11:59:49PM +, Daniel Ye wrote: > HI William and Ben, > > Thanks for catching and fixing this problem. I applied the patch and tested. > The > problem is gone. Thanks. > > Bests, > Daniel > > On Jun 27, 2016, at

[ovs-dev] Bug#826780: Please package OVS >= 2.6.0.dev1

2016-06-26 Thread Ben Pfaff
On Thu, Jun 09, 2016 at 01:23:12AM +0200, Thomas Goirand wrote: > Source: openvswitch > Version: 2.3.0+git20140819-4 > Severity: normal > > Hi, > > OpenStack Neutron currently has: > > ovs>=2.5.0;python_version=='2.7' # Apache-2.0 > ovs>=2.6.0.dev1;python_version>='3.4' # Apache-2.0 > > in its

Re: [ovs-dev] [PATCHv2] netdev-provider: Apply batch object to netdev provider.

2016-06-26 Thread Darrell Ball
On Sat, Jun 25, 2016 at 7:44 AM, William Tu wrote: > Commit 1895cc8dbb64 ("dpif-netdev: create batch object") introduces > batch process functions and 'struct dp_packet_batch' to associate with > batch-level metadata. This patch applies the packet batch object to > the

[ovs-dev] The crisis has finished! Work with us!

2016-06-26 Thread dev
Hello! We are looking for employees working remotely. My name is Joan, am the personnel manager of a large International company. Most of the work you can do from home, that is, at a distance. Salary is $2500-$5000. If you are interested in this offer, please visit Our Site Best

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

2016-06-26 Thread Mail Delivery Subsystem
The original message was received at Mon, 27 Jun 2016 09:04:06 +0700 from openvswitch.org [85.9.20.1] - The following addresses had permanent fatal errors - ___ dev mailing list dev@openvswitch.org

[ovs-dev] [patch_v3 1/2] ovn: Fix receive from vxlan in ovn-controller.

2016-06-26 Thread Darrell Ball
OVN only supports source_node replication and previously vtep interaction, which used service node replication by default for multicast/broadcast/unknown unicast traffic worked by happenstance. Because of limited vxlan encapsulation metadata, received packets were resubmitted to find the egress

[ovs-dev] [patch_v3 2/2] ovn: Reformat some ovn design documentation

2016-06-26 Thread Darrell Ball
Some design micro-details (e.g.) register assignments) that may change over time were moved from the ovn-architecture.7.xml document to the OVN-DESIGN.md document. A table is added to summarize and quantify MFF logical metadata and register usage. The OVN-DESIGN.md file was tested using the

[ovs-dev] [patch_v3 0/2] ovn: Fix receive from vxlan in ovn-controller.

2016-06-26 Thread Darrell Ball
OVN only supports source_node replication and previously vtep interaction, which used service node replication by default for multicast/broadcast/unknown unicast traffic worked by happenstance. Because of limited vxlan encapsulation metadata, received packets were resubmitted to find the egress

Re: [ovs-dev] [OVN] Potential scalability bug in ovn-northd on creating and binding large number of lports

2016-06-26 Thread Hui Kang
Ryan Moats/Omaha/IBM wrote on 06/26/2016 08:53:19 PM: > From: Ryan Moats/Omaha/IBM > To: Hui Kang/Watson/IBM@IBMUS > Cc: Ben Pfaff , dev@openvswitch.org > Date: 06/26/2016 08:53 PM > Subject: Re: [ovs-dev] [OVN] Potential scalability bug in ovn-northd > on creating and binding

[ovs-dev] RETURNED MAIL: SEE TRANSCRIPT FOR DETAILS

2016-06-26 Thread MAILER-DAEMON
The message could not be delivered ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [OVN] Potential scalability bug in ovn-northd on creating and binding large number of lports

2016-06-26 Thread Ryan Moats
Hui Kang/Watson/IBM wrote on 06/26/2016 07:11:27 PM: > From: Hui Kang/Watson/IBM > To: Ryan Moats/Omaha/IBM@IBMUS > Cc: Ben Pfaff , dev@openvswitch.org > Date: 06/26/2016 07:11 PM > Subject: Re: [ovs-dev] [OVN] Potential scalability bug in ovn-northd > on creating and binding large

Re: [ovs-dev] [PATCH] ofp-util: Zero out padding bytes in ofputil_ipfix_stats_to_reply().

2016-06-26 Thread William Tu
Thanks, the patch solves the valgrind error. Acked-by: William Tu On Sun, Jun 26, 2016 at 2:54 PM, Ben Pfaff wrote: > Otherwise IPFIX statistics leak memory from ovs-vswitchd. > > Reported-by: William Tu > Reported-at:

Re: [ovs-dev] [OVN] Potential scalability bug in ovn-northd on creating and binding large number of lports

2016-06-26 Thread Hui Kang
Ryan Moats/Omaha/IBM wrote on 06/25/2016 09:07:39 PM: > From: Ryan Moats/Omaha/IBM > To: Hui Kang/Watson/IBM@IBMUS > Cc: Ben Pfaff , dev@openvswitch.org > Date: 06/25/2016 09:07 PM > Subject: Re: [ovs-dev] [OVN] Potential scalability bug in ovn-northd > on creating and binding

Re: [ovs-dev] Valgrind errors on Bridge IPFIX statistics check

2016-06-26 Thread Daniel Ye
HI William and Ben, Thanks for catching and fixing this problem. I applied the patch and tested. The problem is gone. Thanks. Bests, Daniel > On Jun 27, 2016, at 5:54 AM, Ben Pfaff wrote: > > On Sun, Jun 26, 2016 at 11:28:44AM -0700, William Tu wrote: >> Hi, >> >> Valgrind

[ovs-dev] openvswitch_2.5.1~pre+git20160626-1_i386.changes is NEW

2016-06-26 Thread Debian FTP Masters
binary:openvswitch-testcontroller is NEW. Your package has been put into the NEW queue, which requires manual action from the ftpteam to process. The upload was otherwise valid (it had a good OpenPGP signature and file hashes are valid), so please be patient. Packages are routinely processed

[ovs-dev] Processing of openvswitch_2.5.1~pre+git20160626-1_i386.changes

2016-06-26 Thread Debian FTP Masters
openvswitch_2.5.1~pre+git20160626-1_i386.changes uploaded successfully to localhost along with the files: openvswitch_2.5.1~pre+git20160626-1.dsc openvswitch_2.5.1~pre+git20160626.orig.tar.xz openvswitch_2.5.1~pre+git20160626-1.debian.tar.xz

Re: [ovs-dev] Valgrind errors on Bridge IPFIX statistics check

2016-06-26 Thread Ben Pfaff
On Sun, Jun 26, 2016 at 11:28:44AM -0700, William Tu wrote: > Hi, > > Valgrind reports the error below on > # make check-valgrind TESTSUITEFLAGS='1055' > Testcase 1055: ofproto-dpif - Bridge IPFIX statistics check > > I'm not sure if it's a false positive or not, it looks like the memory > is

[ovs-dev] [PATCH] ofp-util: Zero out padding bytes in ofputil_ipfix_stats_to_reply().

2016-06-26 Thread Ben Pfaff
Otherwise IPFIX statistics leak memory from ovs-vswitchd. Reported-by: William Tu Reported-at: http://openvswitch.org/pipermail/dev/2016-June/073769.html Signed-off-by: Ben Pfaff --- lib/ofp-util.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [ovs-dev] [PATCH] ovs-pki: Use SHA-512 message digest when available.

2016-06-26 Thread Kurt Roeckx
On Sun, Jun 26, 2016 at 11:05:35AM -0700, Ben Pfaff wrote: > The upcoming OpenSSL 1.1.0 release disables use of SHA-1, which breaks the > OVS unit tests, which use SHA-1. We last tried to switch to SHA-512 in > 2014 with commit 9ff33ca75e9fcc ("ovs-pki: Use SHA-512 instead of MD5 as > message

[ovs-dev] open vacancy

2016-06-26 Thread dev
Hello! We are looking for employees working remotely. My name is Valeria, am the personnel manager of a large International company. Most of the work you can do from home, that is, at a distance. Salary is $2500-$5000. If you are interested in this offer, please visit Our Site Best

[ovs-dev] Valgrind errors on Bridge IPFIX statistics check

2016-06-26 Thread William Tu
Hi, Valgrind reports the error below on # make check-valgrind TESTSUITEFLAGS='1055' Testcase 1055: ofproto-dpif - Bridge IPFIX statistics check I'm not sure if it's a false positive or not, it looks like the memory is allocated by bridge level IPFIX test but error is triggerred from flow stat

[ovs-dev] [PATCH] ovs-pki: Use SHA-512 message digest when available.

2016-06-26 Thread Ben Pfaff
The upcoming OpenSSL 1.1.0 release disables use of SHA-1, which breaks the OVS unit tests, which use SHA-1. We last tried to switch to SHA-512 in 2014 with commit 9ff33ca75e9fcc ("ovs-pki: Use SHA-512 instead of MD5 as message digest."), but we had to downgrade to SHA-1 in commit 4a1f9610682d

[ovs-dev] We offer new vacancy

2016-06-26 Thread dev
Hello! We are looking for employees working remotely. My name is Wade, am the personnel manager of a large International company. Most of the work you can do from home, that is, at a distance. Salary is $2500-$5000. If you are interested in this offer, please visit Our Site Best

[ovs-dev] Returned mail: see transcript for details

2016-06-26 Thread Mail Delivery Subsystem
The original message was received at Sun, 26 Jun 2016 21:49:30 +0800 from openvswitch.org [65.229.241.244] - The following addresses had permanent fatal errors - - Transcript of session follows - while talking to openvswitch.org.: >>> MAIL From:"Mail

[ovs-dev] [PATCH V4 18/20] python tests: Skip ovn-controller-vtep tests on Windows

2016-06-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 --- V3: Initial commit V4: No changes --- tests/ovn-controller-vtep.at | 1 + 1 file changed, 1 insertion(+) diff --git

[ovs-dev] [PATCH V4 19/20] tests: Skip vlog tests that try to move opened file

2016-06-26 Thread Paul Boca
On Windows if a file is opened by an application for writing, we cannot move it until all handles to that file are closed. Signed-off-by: Paul-Daniel Boca --- V3: Initial commit V4: No changes --- tests/vlog.at | 6 ++ 1 file changed, 6 insertions(+) diff

[ovs-dev] [PATCH V4 17/20] ovs-ofctl.at: Prevent msys from getting confused with ipv6 address.

2016-06-26 Thread Paul Boca
msys converts ::0/0 into ;c:\MinGW\msys\1.0\1. To prevent this, use fullform ipv6 address of the form 0:0:0:0:0:0:0:1 instead. Signed-off-by: Paul-Daniel Boca --- V3: Initial commit V4: No changes --- tests/ovn-nbctl.at | 4 ++-- 1 file changed, 2 insertions(+), 2

[ovs-dev] [PATCH V4 20/20] vlog test: Disable default syslog logger

2016-06-26 Thread Paul Boca
Disable the syslog logger in case on Windows, '/dev/log' doesn't exist. Seems like on Python34 a default handler is added to the logger and it prints even if no handler is set by us. Signed-off-by: Paul-Daniel Boca --- V3: Initial commit V4: No changes ---

[ovs-dev] [PATCH V4 16/20] python tests: Ignore stderr output

2016-06-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 --- V3: Initial commit V4:

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

2016-06-26 Thread Paul Boca
This patch removes the code which disables Python tests to be run on Windows. Signed-off-by: Alin Gabriel Serdean Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes --- tests/atlocal.in | 7 --- 1

[ovs-dev] [PATCH V4 14/20] python tests: Ported Python daemon to Windows

2016-06-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

[ovs-dev] [PATCH V4 13/20] python tests: Ported UNIX sockets to Windows

2016-06-26 Thread Paul Boca
AF_UNIX sockets are not supported on Windows. Instead of an AF_UNIX socket use localhost tcp connections to communicate between components. This makes the python sockets compatible with the ones used in Windows applications. In case the socket returns WSAEWOULDBLOCK, it is replaced by EAGAIN

[ovs-dev] [PATCH V4 12/20] python tests: Fixed abs_file_name function for Windows

2016-06-26 Thread Paul Boca
On windows a path containint ':' is considered an absolute path. Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes --- python/ovs/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ovs/util.py

[ovs-dev] [PATCH V4 11/20] python tests: Fixed OSError not iterable on Windows

2016-06-26 Thread Paul Boca
On Windows if this exception is triggered then it will raise an exception while in the exception handler. Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes --- python/ovs/poller.py | 5 + 1 file changed, 5 insertions(+) diff

[ovs-dev] [PATCH V4 09/20] python tests: Skip TCP6 idl tests on Windows

2016-06-26 Thread Paul Boca
TCP6 sockets are not supported in python on Windows. Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes --- tests/ovsdb-idl.at | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ovsdb-idl.at b/tests/ovsdb-idl.at index

[ovs-dev] [PATCH V4 10/20] python tests: Skip python tests on Windows where POSIX pid is used

2016-06-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.

[ovs-dev] [PATCH V4 07/20] python tests: Added fcntl module for Windows

2016-06-26 Thread Paul Boca
This is needed for lockf function used to lock the PID file on Windows. ioctl and fcntl functions are not implemented at this time because they are not used by any script. Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes ---

[ovs-dev] [PATCH V4 05/20] python tests: Fixed ctl file name for Windows

2016-06-26 Thread Paul Boca
On Windows the CTL file doesn't contain the pid of the process. Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes --- python/ovs/unixctl/__init__.py | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[ovs-dev] [PATCH V4 08/20] python tests: Skip IPsec test on Windows

2016-06-26 Thread Paul Boca
IPsec is not used on Windows yet, and the services used by this test are non-existent on Windows. Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes --- tests/ovs-monitor-ipsec.at | 1 + 1 file changed, 1 insertion(+) diff --git

[ovs-dev] [PATCH V4 06/20] python tests: Fixed unixctl python tests for Windows

2016-06-26 Thread Paul Boca
For bogus pid file path, use a windows-like file path. Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes --- tests/unixctl-py.at | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/unixctl-py.at

[ovs-dev] [PATCH V4 04/20] python tests: Register signal handlers only on supported types on Windows

2016-06-26 Thread Paul Boca
SIGHUP and SIGALRM are not available on Windows. Signed-off-by: Paul-Daniel Boca --- V2: Fixed Python function inet_open_active, treat WSAEWOULDBLOCK error as EINPROGRESS on Windows V3: No changes V4: No changes --- python/ovs/fatal_signal.py | 15

[ovs-dev] [PATCH V4 02/20] windows: Added lockf function and lock PID file

2016-06-26 Thread Paul Boca
If the PID file isn't locked then appctl.py detects it as stale and bails out without doing anything. Because of this lots of Python tests fail. Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes --- lib/daemon-windows.c | 44

[ovs-dev] [PATCH V4 03/20] python tests: Implemented signal.alarm for Windows

2016-06-26 Thread Paul Boca
signal.alarm is not available in Windows and would trigger an exception when called. Implemented this to mentain compatibility between Windows and Linux for python tests. Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: Code styling changes V4: No changes ---

[ovs-dev] [PATCH V4 01/20] tests: Fixed PMD tests on Windows

2016-06-26 Thread Paul Boca
CHECK_CPU_DISCOVERED check the log file now, not the stderr. On Windows the ovs-vswitchd output is logged only in log file, not to stderr. Tested both on Windows and Linux Signed-off-by: Paul-Daniel Boca --- V2: No changes V3: No changes V4: No changes ---

[ovs-dev] [PATCH V4 00/20] Fix and enable Python tests on Windows

2016-06-26 Thread Paul Boca
This series of patches ports the python damons to Windows and fixes the tests to work on Windows. There are still some python tests that fail on Windows, from which some are failing on Linux too. The patches in this series are dependent and are related to python tests on Windows. V2: Fixes more

[ovs-dev] Processed: openvswitch: FTBFS with openssl 1.1.0

2016-06-26 Thread Debian Bug Tracking System
Processing control commands: > block 827061 by -1 Bug #827061 [release.debian.org] transition: openssl 827061 was blocked by: 828328 828242 828315 828431 828357 828355 828243 828451 828450 828423 828292 828338 828310 828404 828448 828319 828429 828392 828336 828304 828251 828274 828331 828447

[ovs-dev] The beautiful work in crisis!

2016-06-26 Thread dev
Hello! We are looking for employees working remotely. My name is Lola, am the personnel manager of a large International company. Most of the work you can do from home, that is, at a distance. Salary is $2500-$5000. If you are interested in this offer, please visit Our Site Best

[ovs-dev] [RFC PATCH v2 3/3] tests: Adjust VLAN+MPLS handling cases for QinQ

2016-06-26 Thread Xiao Liang
When QinQ is supported, ingress VLAN are kept after push_vlan actions, so we should expect two VLAN headers. Signed-off-by: Xiao Liang --- tests/ofproto-dpif.at | 128 +++--- 1 file changed, 70 insertions(+), 58 deletions(-)

[ovs-dev] [RFC PATCH v2 2/3] tests: Add tests for QinQ VLAN handling

2016-06-26 Thread Xiao Liang
Add dot1q-tunnel ports and ingress packet cases, in ofproto-dpif.at VLAN handling. Signed-off-by: Xiao Liang --- tests/ofproto-dpif.at | 110 +- 1 file changed, 64 insertions(+), 46 deletions(-) diff --git