[ovs-dev] [PATCH V2 0/5] Adds python tests support for Windows
Alin Balutoiu
abalutoiu at cloudbasesolutions.com
Tue Jan 3 15:16:34 UTC 2017
This series of patches ports python daemon and unixctl to Windows.
All patches depend on each other.
The the daemon was ported using the Win32 API available in the
python library pypiwin32. Unixctl was ported using named-pipes
in order to be compatible with OVS Windows applications.
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
Python tests: Daemon ported to Windows
Python tests: Set CREATE_NO_WINDOW flag for Popen
Python tests: Enable python tests on Windows
Documentation/intro/install/windows.rst | 7 +
python/automake.mk | 3 +-
python/ovs/daemon.py | 194 ++++++++++++++----
python/ovs/fatal_signal.py | 13 ++
python/ovs/jsonrpc.py | 6 +
python/ovs/poller.py | 72 +++++--
python/ovs/socket_util.py | 31 ++-
python/ovs/stream.py | 351 ++++++++++++++++++++++++++++++--
python/ovs/unixctl/server.py | 4 +
python/ovs/vlog.py | 26 ++-
python/ovs/winutils.py | 226 ++++++++++++++++++++
tests/atlocal.in | 8 -
tests/test-daemon.py | 4 +-
tests/test-jsonrpc.py | 16 +-
vtep/ovs-vtep | 6 +-
15 files changed, 875 insertions(+), 92 deletions(-)
create mode 100644 python/ovs/winutils.py
--
2.10.0.windows.1
More information about the dev
mailing list