I updated this branch to execute all commands over ssh. With paramiko we automagically get a persistent ssh connection, so the performance should not be a problem. The remote machine should have `expect` installed. Both snapd and snapcraft commands should work just fine over ssh. For store api calls, we need a small wrapper that builds curl commands based on our requirements to be run over ssh.
with that we can have a single way to run tests on all targets (kvm, bare metal, all-snap(in future), lxd or a tablet.)
TODO: run_command_over_ssh need to be changed to actually utilize connection persistence advantages of paramiko, but I wanted to check how we all think about this direction.
I updated this branch to execute all commands over ssh. With paramiko we automagically get a persistent ssh connection, so the performance should not be a problem. The remote machine should have `expect` installed. Both snapd and snapcraft commands should work just fine over ssh. For store api calls, we need a small wrapper that builds curl commands based on our requirements to be run over ssh.
with that we can have a single way to run tests on all targets (kvm, bare metal, all-snap(in future), lxd or a tablet.)
TODO: run_command_ over_ssh need to be changed to actually utilize connection persistence advantages of paramiko, but I wanted to check how we all think about this direction.