Acked-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> -Original Message-
> From: ovs-dev-boun...@openvswitch.org boun...@openvswitch.org> On Behalf Of Shashank Ram
> Sent: Monday, March 5, 2018 6:45 AM
> To: Alin Gabriel Serdean <aserd...@ovn.org>
Acked-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> -Original Message-
> From: ovs-dev-boun...@openvswitch.org boun...@openvswitch.org> On Behalf Of Alin Gabriel Serdean
> Sent: Saturday, March 3, 2018 1:42 AM
> To: d...@openvswitch.org
> Cc: Ali
Acked-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> -Original Message-
> From: ovs-dev-boun...@openvswitch.org boun...@openvswitch.org> On Behalf Of Alin Gabriel Serdean
> Sent: Monday, April 30, 2018 11:44 PM
> To: d...@openvswitch.org
> Cc: Ali
I agree with having the target specified during make and not during configure.
There is no reason to re-do the whole configure process (as Alin mentioned that
it is particularly slow on Windows) only to change the target version.
Thanks,
Alin Balutoiu
> -Original Message-
> Fro
Acked-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> -Original Message-
> From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-
> boun...@openvswitch.org] On Behalf Of Alin Gabriel Serdean
> Sent: Tuesday, October 31, 2017 6:26 PM
> To: d...@openvswitch.o
Minor comment inline.
Acked-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> -Original Message-
> From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-
> boun...@openvswitch.org] On Behalf Of Alin Gabriel Serdean
> Sent: Tuesday, October 31, 2017 6:26 PM
> To:
Acked-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> -Original Message-
> From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-
> boun...@openvswitch.org] On Behalf Of Alin Gabriel Serdean
> Sent: Tuesday, October 31, 2017 6:26 PM
> To: d...@openvswitch.o
Acked-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> -Original Message-
> From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-
> boun...@openvswitch.org] On Behalf Of Alin Gabriel Serdean
> Sent: Tuesday, October 31, 2017 6:26 PM
> To: d...@openvswitch.o
Acked-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> -Original Message-
> From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-
> boun...@openvswitch.org] On Behalf Of Alin Gabriel Serdean
> Sent: Tuesday, October 31, 2017 6:26 PM
> To: d...@openvswitch.o
Found while looking over the code.
Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Suggested-by: Alin Gabriel Serdean <aserd...@ovn.org>
---
python/ovs/stream.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/python/ovs/stream.py b/python/ovs/stream.py
i
not signaled.
Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Co-authored-by: Alin Gabriel Serdean <aserd...@ovn.org>
Signed-off-by: Alin Gabriel Serdean <aserd...@ovn.org>
---
python/ovs/stream.py | 19 +++
1 file changed, 11 insertions(+), 8
Bump the security around named pipes to be more restrictive: disable network
access and allow only administrators and above to access the named pipes.
Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
---
python/ovs/winutils.p
/pywin32/pypiwin32/blob/master/win32/src/win32file.i#L896-L987
> -Original Message-
> From: aserd...@ovn.org [mailto:aserd...@ovn.org]
> Sent: Wednesday, August 23, 2017 12:05 PM
> To: 'Russell Bryant' <russ...@ovn.org>; Alin Balutoiu
> <abalut...@cloudba
Comments answered inline.
Thanks,
Alin Balutoiu.
> -Original Message-
> From: Russell Bryant [mailto:russ...@ovn.org]
> Sent: Tuesday, August 22, 2017 2:35 PM
> To: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> Cc: d...@openvswitch.org
> Subject: Re: [
Looking at the implementation of WaitForMultipleObjects in Python it looks that
the call will raise an exception if WAIT_FAILED is returned. This case is
treated by
the try/except block around the WaitForMultipleObjects function.
Thanks,
Alin Balutoiu.
> -Original Message-
>
structures.
Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
---
python/ovs/stream.py | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/python/ovs/stream.py b/python/ovs/stream.py
index f82a449..b30c4aa 100644
--- a/python/ovs/stream.py
+++ b/pyth
Move the return value at the end of the function
regardless of the pending/non-pending operation.
Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
---
python/ovs/stream.py | 78
1 file changed, 36 insertions(+), 42 del
only for debugging purposes inside the function
"__log_wakeup" later on.
Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
---
python/ovs/poller.py | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/python/ovs/poller.py b/python/ovs/poller.
On Windows, the default file system encoding is 'mbcs'
resulting in a bad conversion.
To make it cross-platform tolerant use
'sys.getfilesystemencoding()' instead of 'utf-8'.
Co-authored-by: Alin Serdean <aserd...@cloudbasesolutions.com>
Signed-off-by: Alin Balutoiu &
.
The necessary encoding has been moved before any sending
function (this also includes named pipes send on Windows).
Co-authored-by: Alin Serdean <aserd...@cloudbasesolutions.com>
Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Signed-off-by: Alin Serdean <aserd...@cloudbasesolut
On Windows, the default file system encoding is 'mbcs'
resulting in a bad conversion.
To make it cross-platform tolerant use
'sys.getfilesystemencoding()' instead of 'utf-8'.
Co-authored-by: Alin Serdean <aserd...@cloudbasesolutions.com>
Signed-off-by: Alin Balutoiu &
.
The necessary encoding has been moved before any sending
function (this also includes named pipes send on Windows).
Co-authored-by: Alin Serdean <aserd...@cloudbasesolutions.com>
Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Signed-off-by: Alin Serdean <aserd...@cloudba
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Updated the Readme with additional library required for
the python tests.
Remove the code which disable python tests to
be run on Windows.
Signed-off-by: Alin-Gheorghe Balutoiu <abalut...@cloudbasesolutions.com>
---
V2: Change
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Instead of using os.fork (not supported on Windows),
subprocess.Popen is used and os.pipe was replaced
with Windows pipes.
To be able to identify the child process, an extra
parameter was added to daemon process '--pipe-
Yes, "pip" is included in the MSI installer from http://python.org
> From: Guru Shetty [mailto:g...@ovn.org]
> Sent: Tuesday, January 3, 2017 9:33 PM
> To: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> Cc: d...@openvswitch.org
> Subject: Re: [ovs-dev] [PAT
Ok, I'll include that in the next version.
Mind if I respin the series after you take a look over the rest of the patches?
> From: Guru Shetty [mailto:g...@ovn.org]
> Sent: Tuesday, January 3, 2017 9:09 PM
> To: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> Cc: d.
ary 3, 2017 8:17 PM
> To: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> Cc: d...@openvswitch.org
> Subject: Re: [ovs-dev] [PATCH V3 2/5] Python tests: Ported UNIX sockets to
> Windows
>
>
>
> On 3 January 2017 at 08:46, Alin Balutoiu
> <mailto:abalut...@
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Updated the Readme with additional library required for
the python tests.
Remove the code which disable python tests to
be run on Windows.
Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com>
---
V2: Changed code-blo
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
On Windows if the flag CREATE_NO_WINDOW is not
specified when using subprocess.Popen, a new
window will appear with the new process.
The window is not necessary for the tests.
This patch addresses this issue by adding
th
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Instead of using os.fork (not supported on Windows),
subprocess.Popen is used and os.pipe was replaced
with Windows pipes.
To be able to identify the child process, an extra
parameter was added to daemon process '--pipe-
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
This patch adds a new python module which contains
helper functions. These will be neccessary for the
Windows implementation.
They cover the following aspects: sockets and namedpipes.
Signed-off-by: Alin Balutoiu &
Please ignore this patch, I will send another one soon.
Thanks,
Alin Balutoiu.
> -Original Message-
> From: Alin Balutoiu
> Sent: Tuesday, January 3, 2017 5:17 PM
> To: d...@openvswitch.org
> Cc: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> Subject: [PA
Please ignore this patch, I will send another one soon.
Thanks,
Alin Balutoiu.
> -Original Message-
> From: Alin Balutoiu
> Sent: Tuesday, January 3, 2017 5:17 PM
> To: d...@openvswitch.org
> Cc: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> Subject: [PATCH V
Please ignore this patch, I will send another one soon.
Thanks,
Alin Balutoiu.
> -Original Message-
> From: Alin Balutoiu
> Sent: Tuesday, January 3, 2017 5:17 PM
> To: d...@openvswitch.org
> Cc: Alin Balutoiu <abalut...@cloudbasesolutions.com>; Paul Boca
> <p
Please ignore this patch, I will send another one soon.
Thanks,
Alin Balutoiu.
> -Original Message-
> From: Alin Balutoiu
> Sent: Tuesday, January 3, 2017 5:17 PM
> To: d...@openvswitch.org
> Cc: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> Subject: [PATCH V
Please ignore this patch, I will send another one soon.
Thanks,
Alin Balutoiu.
> -Original Message-
> From: Alin Balutoiu
> Sent: Tuesday, January 3, 2017 5:17 PM
> To: d...@openvswitch.org
> Cc: Alin Balutoiu <abalut...@cloudbasesolutions.com>
> Subject: [PATCH V
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Updated the Readme with additional library required for
the python tests.
Remove the code which disable python tests to
be run on Windows.
Signed-off-by: Alin-Gheorghe Balutoiu <abalut...@cloudbasesolutions.com>
---
V2: Change
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
On Windows if the flag CREATE_NO_WINDOW is not
specified when using subprocess.Popen, a new
window will appear with the new process.
The window is not necessary for the tests.
This patch addresses this issue by adding
th
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
Unix sockets (AF_UNIX) are not supported on Windows.
The replacement of Unix sockets on Windows is implemented
using named pipes, we are trying to mimic the behaviour
of unix sockets.
Instead of using Unix sockets to communicate
b
From: Alin Balutoiu <abalut...@cloudbasesolutions.com>
This patch adds a new python module which contains
helper functions. These will be neccessary for the
Windows implementation.
They cover the following aspects: sockets and namedpipes.
Signed-off-by: Alin-Gheorghe Balutoiu &
.
An additional flag (CREATE_NO_WINDOW) is also added to subprocess.Popen
for Windows. The console window is not used in any way, therefore
we can disable the console window for processes created on Windows.
Alin Balutoiu (5):
Python tests: Add winutils.py module
Python tests: Ported UNIX sockets to Windows
Actually they are not needed, only the changes from ovs-vtep are needed.
Thanks,
Alin Balutoiu.
> -Original Message-
> From: Alin Serdean
> Sent: Friday, December 30, 2016 12:29 AM
> To: Alin Balutoiu <abalut...@cloudbasesolutions.com>;
> d...@openvswitch.org
> C
Replied to the comment inlined.
Thanks,
Alin Balutoiu.
> -Original Message-
> From: Alin Serdean
> Sent: Friday, December 30, 2016 12:00 AM
> To: Alin Balutoiu <abalut...@cloudbasesolutions.com>;
> d...@openvswitch.org
> Cc: Alin Balutoiu <abalut...@cloudbases
On Windows if the flag CREATE_NO_WINDOW is not
specified when using subprocess.Popen, a new
window will appear with the new process.
The window is not necessary for the tests.
This patch addresses this issue by adding
the flag CREATE_NO_WINDOW for all subprocess.Popen
calls if the machine is
Unix sockets (AF_UNIX) are not supported on Windows.
The replacement of Unix sockets on Windows is implemented
using named pipes, we are trying to mimic the behaviour
of unix sockets.
Instead of using Unix sockets to communicate
between components Named Pipes are used. This
makes the python
Instead of using os.fork (not supported on Windows),
subprocess.Popen is used and os.pipe was replaced
with Windows pipes.
To be able to identify the child process, an extra
parameter was added to daemon process '--pipe-handle'.
This parameter contains the parent Windows pipe handle
which is used
This patch adds a new python module which contains
helper functions. These will be neccessary for the
Windows implementation.
They cover the following aspects: sockets and namedpipes.
Signed-off-by: Alin-Gheorghe Balutoiu
---
python/automake.mk | 3 +-
Updated the Readme with additional library required for
the python tests.
Remove the code which disable python tests to
be run on Windows.
Signed-off-by: Alin-Gheorghe Balutoiu
---
Documentation/intro/install/windows.rst | 7 +++
tests/atlocal.in
.
An additional flag (CREATE_NO_WINDOW) is also added to subprocess.Popen
for Windows. The console window is not used in any way, therefore
we can disable the console window for processes created on Windows.
Alin Balutoiu (5):
Python tests: Add winutils.py module
Python tests: Ported UNIX sockets to Windows
49 matches
Mail list logo