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

Paul Boca pboca at cloudbasesolutions.com
Tue Aug 30 12:00:57 UTC 2016


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 (10):
  python tests: Skip python tests specific to Linux
  python tests: Skip python tests that kill the python daemon
  python tests: Rename stream.py to stream_unix.py
  python tests: Ported UNIX sockets to Windows
  python tests: Rename daemon.py to daemon_unix.py
  python tests: Implemented wrapper over daemon_unix.py
  python tests: Ported Python daemon to Windows
  python tests: Ignore stderr output
  python tests: Skip ovn-controller-vtep tests on Windows
  at tests: Allow Python tests to be run on Windows

 INSTALL.Windows.md                          |   1 +
 python/automake.mk                          |   5 +-
 python/ovs/daemon.py                        | 491 +---------------------
 python/ovs/{daemon.py => daemon_unix.py}    |   0
 python/ovs/{daemon.py => daemon_windows.py} | 163 ++++----
 python/ovs/fatal_signal.py                  |  13 +
 python/ovs/jsonrpc.py                       |  21 +-
 python/ovs/poller.py                        |  49 ++-
 python/ovs/socket_util.py                   |  20 +-
 python/ovs/{stream.py => stream_unix.py}    |   0
 python/ovs/stream_windows.py                | 607 ++++++++++++++++++++++++++++
 python/ovs/unixctl/client.py                |  10 +-
 python/ovs/unixctl/server.py                |  19 +-
 python/ovs/vlog.py                          |  12 +
 tests/atlocal.in                            |   7 -
 tests/daemon-py.at                          |  14 +
 tests/ovn-controller-vtep.at                |   2 +-
 tests/test-daemon.py                        |   4 +-
 tests/test-jsonrpc.py                       |  17 +-
 tests/test-ovsdb.py                         |   8 +-
 tests/unixctl-py.at                         |   3 +-
 tests/vlog.at                               |   9 +-
 22 files changed, 872 insertions(+), 603 deletions(-)
 copy python/ovs/{daemon.py => daemon_unix.py} (100%)
 copy python/ovs/{daemon.py => daemon_windows.py} (83%)
 rename python/ovs/{stream.py => stream_unix.py} (100%)
 create mode 100644 python/ovs/stream_windows.py

-- 
2.7.2.windows.1



More information about the dev mailing list