aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-09-28 13:34:46 +0000
committerPeter Mikus <pmikus@cisco.com>2018-09-28 15:36:23 +0000
commitb261d69c4a72539dc5a571c1abb3e6a6cb45d408 (patch)
tree24f8adfb768581512e4d10ba1c0ed33f39b58340 /resources/libraries/python
parent8fa4cadbb4b3c6a95dab9e7715e5e6435225673f (diff)
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 <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/VPPUtil.py9
1 files changed, 9 insertions, 0 deletions
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
@@ -82,6 +82,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.