X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2F__init__.robot;h=e5a2c751a0cb5b7b54d93bc2a2c3d837cc188a89;hb=50ca85359a75da29371ea3b97d2bccf7653b99d6;hp=a54249bf1a8409a61a9ec0190461cebdade57f41;hpb=248d1a52e06622dc9eb1dfdd6ca9f6670b4c0bc3;p=csit.git diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot index a54249bf1a..e5a2c751a0 100644 --- a/tests/vpp/perf/__init__.robot +++ b/tests/vpp/perf/__init__.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -14,10 +14,11 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/shared/interfaces.robot +| | Library | resources.libraries.python.SetupFramework | Library | resources.libraries.python.SetupFramework.CleanupFramework | Library | resources.libraries.python.CpuUtils -| ... +| | Suite Setup | Run Keywords | Setup Global Variables | ... | AND | Setup Framework | ${nodes} | ... | AND | Setup Corekeeper on All Nodes | ${nodes} @@ -27,18 +28,19 @@ | ... | AND | Show Vpp Version on All Duts | ${nodes} | ... | AND | Get CPU Info from All Nodes | ${nodes} | ... | AND | Update All Interface Data on All Nodes | ${nodes} -| ... | skip_tg=${True} | numa_node=${True} -| ... +| ... | skip_tg=${True} +| | Suite Teardown | Cleanup Framework | ${nodes} *** Keywords *** | Setup Global Variables | | [Documentation] | | ... | Setup suite Variables. Variables are used across performance testing. -| | ... +| | | | ... | _NOTE:_ This KW sets following suite variables: | | ... | - dut_stats - Switch to enable DUT statistics. | | ... | - packages_dir - Directory with VPP binary packages. -| | ... +| | | | Set Global Variable | ${dut_stats} | ${True} | | Set Global Variable | ${packages_dir} | /tmp/openvpp-testing/download_dir/ +| | Set Global Variable | ${nodes}