OSDN Git Service

Acceptance Tests: add port redirection for ssh by default
authorCleber Rosa <crosa@redhat.com>
Mon, 12 Apr 2021 04:46:38 +0000 (00:46 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 1 Jun 2021 20:21:20 +0000 (16:21 -0400)
commit54914114aff5008b58d3cf01bf9e2274144875ca
treed18591721aa2905a94ec36dcb9e62089b2a967bb
parent7edee7ad9408696b9b8d40b5842a07a0c4e9b7a2
Acceptance Tests: add port redirection for ssh by default

For users of the LinuxTest class, let's set up the VM with the port
redirection for SSH, instead of requiring each test to set the same
arguments.

It also sets the network device, by default, to virtio-net.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210412044644.55083-6-crosa@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
tests/acceptance/avocado_qemu/__init__.py
tests/acceptance/virtiofs_submounts.py