提交 776f6199 编写于 作者: C Chris Evich 提交者: Lucas Meneghel Rodrigues

virt-libvirt: Implement VirshConnectBack class

Several virsh tests share a need in executing a virsh command on
a remote host, against the virt test client machine.

The VirshSession class was enhanced to accept remote-access
parameters.  When present, an ssh command is executed prior
to entering the virsh shell (on the remote system).  When
these parameters aren't provided, this class operates as before.

A new VirshConnectBack class was added as a subclass of
VirshPersistent.  It's only override is to validate the
remote-access parameters are provided, then create the
VirshSession using them.
Signed-off-by: NChris Evich <cevich@redhat.com>
上级 c453f1e3
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册