Use common method name and parameters for calling subprocesses for local (Target) and remote systems (Initiators) instead of using "check_output" (from subprocess module) and "exec_command" (from paramiko) separately. Having these functions wrapped by a single common method will allow to create common methods in Server class more eaisly, instead of creating two copies in Target and Initiator classes. Signed-off-by: Karol Latecki <karol.latecki@intel.com> Change-Id: I1c10f6a88f3d7300c227e969ad6fd901763ac52c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6261 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Michal Berger <michalx.berger@intel.com> Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com> |
||
---|---|---|
.. | ||
nvme | ||
nvmf | ||
vhost |