]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Add orchestra.remote.get_tar_stream(); like get_tar but no tmpfile
authorDan Mick <dan.mick@redhat.com>
Wed, 2 Nov 2016 04:21:16 +0000 (21:21 -0700)
committerDan Mick <dan.mick@redhat.com>
Wed, 2 Nov 2016 05:00:16 +0000 (22:00 -0700)
commit9dff8577bc4322354c098c5ff4df57b0d2d444bb
treeb8c2627346c78e8bb8c6091eecfdd6b16ac64064
parent4dbe5122db6b274d5571cb137a97ab77fc27cb07
Add orchestra.remote.get_tar_stream(); like get_tar but no tmpfile

Avoid creating a temporary file either on the remote or on the
local host; just open a connection to a remote tar and let 'er
rip.  Intended to be used by get_directory to avoid temp files
and local read/write hammering.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/orchestra/remote.py