test: infamy: Default to attaching to DUTs via the "mgmt" port

This convention is now well established, so it seems silly to have to
repeat it in every test.
This commit is contained in:
Tobias Waldekranz
2025-01-08 10:14:46 +01:00
parent bfeeade43b
commit 343400c5fe
+1 -1
View File
@@ -74,7 +74,7 @@ class Env(object):
def get_password(self, node):
return self.ptop.get_password(node)
def attach(self, node, port, protocol=None, test_reset=True, username = None, password = None):
def attach(self, node, port="mgmt", protocol=None, test_reset=True, username = None, password = None):
"""Attach to node on port using protocol."""
name = node