remote: move non-file transfer methods from Remote#1626
Conversation
|
Could you please elaborate why this is required, and how this enable to 3rd party software to reuse something from teuthology? |
batrick
left a comment
There was a problem hiding this comment.
(Thought I finished this review yesterday but github must have left it incomplete.)
Do you mean elaborate in the commit message? |
b9935ad to
4c14a86
Compare
7982499 to
fbadec9
Compare
|
Overall patch fbadec9 |
fbadec9 to
90cc6fb
Compare
372d8e4 to
23b963f
Compare
f734a3f to
4551056
Compare
a9621bd to
30c16a2
Compare
|
@kshtsk PTAL. |
|
needs rebase, changes look fine (but the diff is still weird, who knows why) |
30c16a2 to
4551056
Compare
Move methods that issue commands via shell and that don't necessarily need to depend on SHH from class Remote to a different class. This enables applications like vstart_runner.py (in Ceph repo) to reuse these methods for running tests locally without necessarily depending on SSH and without duplicating them in vstart_runner.py. Signed-off-by: Rishabh Dave <ridave@redhat.com>
4551056 to
11c30bf
Compare
|
@batrick I've rebased the PR. I am not exactly sure what causes the issue with the diff but it has something to do with moving of |
|
@kshtsk PTAL. |
|
@susebot run deploy |
|
Commit 11c30bf is OK. |
|
@batrick Thank you for the review and for merging the PR. |
Move methods that operate on a remote machine without depending on
another remote machine from orchestra.remote.Remote to a different class
in same module. This enables vstart_runner to reuse these methods.
Related PR: ceph/ceph#37667