Thanks for the patch! Python isn't my cup of tea but implemetation looks good.
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions> Tested-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions> > -----Original Message----- > From: [email protected] [mailto:ovs-dev- > [email protected]] On Behalf Of Alin Balutoiu > Sent: Thursday, December 29, 2016 7:41 PM > To: [email protected] > Cc: Alin Balutoiu <[email protected]> > Subject: [ovs-dev] [PATCH 2/5] Python tests: Ported UNIX sockets to > Windows > > 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 sockets compatible with the Named > Pipe used in Windows applications. > > Signed-off-by: Paul-Daniel Boca <[email protected]> > Signed-off-by: Alin-Gheorghe Balutoiu <[email protected]> > --- > 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 + > tests/test-jsonrpc.py | 16 +- > 6 files changed, 436 insertions(+), 44 deletions(-) > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
