aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorNaveen Joy <najoy@cisco.com>2023-09-25 15:17:42 -0700
committerDave Wallace <dwallacelf@gmail.com>2023-10-30 13:36:11 +0000
commit4e0ee1b55e6db6d54ad468df42044e853c9272c4 (patch)
tree5a9997ab49be47a4f93ea0de0d90c453ac9a43ad /resources/libraries/python
parent4f981f97cfe4d61fc156c806a429d8dd9d261a4f (diff)
code and doc updates for vagrant VM dev/test environ setup
Change-Id: I0e4e4758b3abbfc2fe2e18200b85477293de218b Signed-off-by: Naveen Joy <najoy@cisco.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/Constants.py5
-rw-r--r--resources/libraries/python/SetupFramework.py2
2 files changed, 6 insertions, 1 deletions
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']} "