Fixed paramiko version, hot fixes for hw nodes test
Related-PROD: PROD-36943
Change-Id: Ie4c9d11ee463877f0f85ee0a0797cad197099b79
diff --git a/utils/ssh.py b/utils/ssh.py
index 20313d0..cde86bd 100644
--- a/utils/ssh.py
+++ b/utils/ssh.py
@@ -213,7 +213,7 @@
private_key=None):
transport = SSHTransport(
ip, username=user, private_key=private_key)
- command = "ip -4 addr show scope global"
+ command = "ip a"
output = transport.exec_command(command)
try:
all_ip_addresses = [line.split()[1] for line in
@@ -280,7 +280,7 @@
# TODO: to avoid looping, both packages can be installed by one
# 'install -y iperf iperf3' command. 'which' command can also be
# executed for multiple packages at once.
- packages = ["iperf", "iperf3"]
+ packages = ["iperf3", "iperf"]
for p in packages:
check_path = transport.exec_command(f'which {p}')
if not check_path: