aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/InterfaceUtil.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-10-30 14:29:49 +0000
committerPeter Mikus <pmikus@cisco.com>2019-10-30 14:35:53 +0000
commit3ccfe8cdb3d94182e365f4bfacefbb52fb32cb93 (patch)
treeaf12e4f8c14921a2ebc59cbcda5c28704c211090 /resources/libraries/python/InterfaceUtil.py
parent96eaabff284f154ca96ce823fee205bd9833043b (diff)
Framework: Add show log as tear down action
+ We can see what is happening when debug level is increased + Big caveat of VPP is that it does not allow to configure default global level. Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I5ea1a618161cdb3170cab022d7451e52271f83c0
Diffstat (limited to 'resources/libraries/python/InterfaceUtil.py')
-rw-r--r--resources/libraries/python/InterfaceUtil.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py
index d185137940..a15507454a 100644
--- a/resources/libraries/python/InterfaceUtil.py
+++ b/resources/libraries/python/InterfaceUtil.py
@@ -1199,6 +1199,9 @@ class InterfaceUtil(object):
:raises RuntimeError: If it is not possible to create AVF interface on
the node.
"""
+ PapiSocketExecutor.run_cli_cmd(
+ node, 'set logging class avf level debug')
+
cmd = 'avf_create'
args = dict(pci_addr=InterfaceUtil.pci_to_int(vf_pci_addr),
enable_elog=0,