From 8b1bead7b4b70e3ff4e7d4cb82940695d763ed2d Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Tue, 17 Sep 2019 13:00:39 +0200 Subject: Update CRC list and support 21997/7 - Attempt to repair IPsec LispGpe perf suite. + Collection name to reflect the current stable vpp. + Add messages found in CSIT L1 keywords. - Uncommented (instead of deleted) untestable messages. Reasons: - Honeycomb. - Messages used by unused keywords. + Listed reasons. Honeycomb not mentioned if both reasons apply. + Delete CRC items for commands not found in keywords anymore. + Add CRCs from .json.api files (as teardown is hard to execute). + Define and restore alphabetical order. + Add hints to find used API commands (not entirely reliable). + Move used commands to "cmd = " form so hints find them. + Argument to run_cli_command changed from "cmd" to "cli_cmd". + Except also struct.error where IOError is excepted. Change-Id: I61058dbe1e33296908aabd0c13433bb16cfa6adf Signed-off-by: Vratko Polak --- resources/libraries/python/Memif.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'resources/libraries/python/Memif.py') diff --git a/resources/libraries/python/Memif.py b/resources/libraries/python/Memif.py index f60972f64d..24fda52677 100644 --- a/resources/libraries/python/Memif.py +++ b/resources/libraries/python/Memif.py @@ -42,8 +42,9 @@ class Memif(object): :returns: List of memif interfaces extracted from Papi response. :rtype: list """ + cmd = "memif_dump" with PapiSocketExecutor(node) as papi_exec: - details = papi_exec.add("memif_dump").get_details() + details = papi_exec.add(cmd).get_details() for memif in details: memif["hw_addr"] = str(memif["hw_addr"]) -- cgit 1.2.3-korg