aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/InterfaceUtil.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-04-06 13:22:18 +0000
committerPeter Mikus <pmikus@cisco.com>2020-04-08 16:44:28 +0000
commit56440df4a2d9404aefe5d47ad9db9128fdb33b69 (patch)
tree7d346e99761cef4a1d5a0ce703a1892e2904c0d3 /resources/libraries/python/InterfaceUtil.py
parent40ba928d86fc82135e3ec3b106957a7663a62852 (diff)
FIX: Add show log output when test failed.
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I6bdce8156ba214be210c195a9f3effd718301a86
Diffstat (limited to 'resources/libraries/python/InterfaceUtil.py')
-rw-r--r--resources/libraries/python/InterfaceUtil.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py
index 144a96cca5..e2dc2f1c31 100644
--- a/resources/libraries/python/InterfaceUtil.py
+++ b/resources/libraries/python/InterfaceUtil.py
@@ -1184,6 +1184,10 @@ class InterfaceUtil:
:raises RuntimeError: If it is not possible to create RDMA interface on
the node.
"""
+ PapiSocketExecutor.run_cli_cmd(
+ node, u"set logging class avf level debug"
+ )
+
cmd = u"rdma_create"
pci_addr = Topology.get_interface_pci_addr(node, if_key)
args = dict(