From b261d69c4a72539dc5a571c1abb3e6a6cb45d408 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 28 Sep 2018 13:34:46 +0000 Subject: FIX: Single memif tests failing This patch suppose to fix the single memif TCs failing on SKX nodes. By stoping Host VPP during startup of Guest VPP. This way Guest VPP can take interface on single pass.o Change-Id: I88e6932bf007ce0f6a367927de5f017ffb8fdaca Signed-off-by: Peter Mikus --- resources/libraries/python/VPPUtil.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'resources/libraries/python/VPPUtil.py') diff --git a/resources/libraries/python/VPPUtil.py b/resources/libraries/python/VPPUtil.py index de3caad916..17310aa21a 100644 --- a/resources/libraries/python/VPPUtil.py +++ b/resources/libraries/python/VPPUtil.py @@ -81,6 +81,15 @@ class VPPUtil(object): """ DUTSetup.stop_service(node, Constants.VPP_UNIT) + @staticmethod + def stop_vpp_service_on_all_duts(nodes): + """Stop VPP service on all nodes. + + :param nodes: Nodes in the topology. + :type nodes: dict + """ + DUTSetup.stop_service_on_all_duts(nodes, Constants.VPP_UNIT) + @staticmethod def verify_vpp_on_dut(node): """Verify that VPP is installed on DUT node. -- cgit 1.2.3-korg