From 4e0ee1b55e6db6d54ad468df42044e853c9272c4 Mon Sep 17 00:00:00 2001 From: Naveen Joy Date: Mon, 25 Sep 2023 15:17:42 -0700 Subject: code and doc updates for vagrant VM dev/test environ setup Change-Id: I0e4e4758b3abbfc2fe2e18200b85477293de218b Signed-off-by: Naveen Joy Signed-off-by: Dave Wallace --- resources/libraries/python/Constants.py | 5 +++++ resources/libraries/python/SetupFramework.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'resources/libraries/python') diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index 01b64c949d..3240a0a33e 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -365,6 +365,7 @@ class Constants: u"Mellanox-CX556A": u"100ge2p1cx556a", u"Mellanox-CX6DX": u"100ge2p1cx6dx", u"Mellanox-CX7VEAT": u"200ge2p1cx7veat", + "virtual": "1ge1p82540em", } # Shortened lowercase NIC model name, useful for presentation. @@ -382,6 +383,8 @@ class Constants: u"100ge2p1cx556a": u"cx556a", u"100ge2p1cx6dx": u"cx6dx", u"200ge2p1cx7veat": u"cx7veat", + "1ge1p82540em": "8250em", + } # Not each driver is supported by each NIC. @@ -399,6 +402,7 @@ class Constants: u"Mellanox-CX556A": [u"rdma-core", u"mlx5_core", u"af_xdp"], u"Mellanox-CX6DX": [u"rdma-core", u"mlx5_core", u"af_xdp"], u"Mellanox-CX7VEAT": [u"rdma-core", u"mlx5_core", u"af_xdp"], + "virtual": ["vfio-pci"], } # Each driver needs different plugin to work. @@ -452,6 +456,7 @@ class Constants: u"Mellanox-CX556A": [u"mlx5_core"], u"Mellanox-CX6DX": [u"mlx5_core"], u"Mellanox-CX7VEAT": [u"mlx5_core"], + "virtual": ["vfio-pci"], } # Tags to differentiate tests for different NIC driver. diff --git a/resources/libraries/python/SetupFramework.py b/resources/libraries/python/SetupFramework.py index 3c381166c2..95ca8a7d51 100644 --- a/resources/libraries/python/SetupFramework.py +++ b/resources/libraries/python/SetupFramework.py @@ -106,7 +106,7 @@ def extract_tarball_at_node(tarball, node): node, cmd, message=f"Failed to extract {tarball} at node {node[u'type']} " f"host {node[u'host']}, port {node[u'port']}", - timeout=240, include_reason=True + timeout=600, include_reason=True ) logger.console( f"Extracting tarball to {con.REMOTE_FW_DIR} on {node[u'type']} " -- cgit 1.2.3-korg