aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/libraries/python/VPPUtil.py9
-rw-r--r--resources/libraries/robot/performance/performance_setup.robot2
-rw-r--r--resources/libraries/robot/shared/container.robot1
3 files changed, 11 insertions, 1 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.
diff --git a/resources/libraries/robot/performance/performance_setup.robot b/resources/libraries/robot/performance/performance_setup.robot
index e9f155533e..f5288e7a4b 100644
--- a/resources/libraries/robot/performance/performance_setup.robot
+++ b/resources/libraries/robot/performance/performance_setup.robot
@@ -538,7 +538,9 @@
| | Acquire all 'VNF' containers
| | Create all 'VNF' containers
| | Configure VPP in all 'VNF' containers
+| | Stop VPP service on all DUTs | ${nodes}
| | Install VPP in all 'VNF' containers
+| | Start VPP service on all DUTs | ${nodes}
| Set up performance test suite with MEMIF
| | [Documentation]
diff --git a/resources/libraries/robot/shared/container.robot b/resources/libraries/robot/shared/container.robot
index 5b1b2ffa03..e7b101cb94 100644
--- a/resources/libraries/robot/shared/container.robot
+++ b/resources/libraries/robot/shared/container.robot
@@ -29,7 +29,6 @@
| | :FOR | ${dut} | IN | @{duts}
| | | ${env}= | Create List | DEBIAN_FRONTEND=noninteractive
| | | ${mnt}= | Create List | /tmp:/mnt/host | /dev/vfio:/dev/vfio
-| | | ... | /dev/bus:/dev/bus
| | | ${cpu_node}= | Get interfaces numa node | ${nodes['${dut}']}
| | | ... | ${dut1_if1} | ${dut1_if2}
| | | Run Keyword | ${group}.Construct containers