KVM test: add python client for rss file transfer services
See details in docstrings in rss_file_transfer.py.
See protocol details in deps/rss.cpp.
Changes from v3:
- Protocol change: instead of sending a file as one big packet, send it in
multiple chunks. See details in deps/rss.cpp.
Changes from v2:
- Raise FileTransferNotFoundError if no files/dirs are transferred (due to
a bad path or wildcard pattern)
- Make all connection related errors in the base class raise
FileTransferConnectError
Changes from v1:
- Use glob() instead of iglob() (Python 2.4 doesn't like iglob())
- Change a few comments
Signed-off-by: Michael Goldish <mgoldish@redhat.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4698 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed