From 3ccfe8cdb3d94182e365f4bfacefbb52fb32cb93 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Wed, 30 Oct 2019 14:29:49 +0000 Subject: 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 Change-Id: I5ea1a618161cdb3170cab022d7451e52271f83c0 --- resources/libraries/python/InterfaceUtil.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resources/libraries/python/InterfaceUtil.py') 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, -- cgit 1.2.3-korg