Hoststack perf infrastructure refactoring 03/24103/26
authorDave Wallace <dwallacelf@gmail.com>
Fri, 20 Dec 2019 22:46:51 +0000 (22:46 +0000)
committerPeter Mikus <pmikus@cisco.com>
Wed, 15 Jan 2020 07:01:56 +0000 (07:01 +0000)
commit2da2aa12260143bc513b4dff5e2b2ef6755172ab
tree8bbd4b177bc7e12cd942b7a91a4af8641af24935
parent6ae8614cf1459f977508f9f4ba3548ac0a16b231
Hoststack perf infrastructure refactoring

- DUT only topology (hoststack test
  apps are co-located with vpp)
- Make vpp app specific keywords generic
  where applicable
- Add IP4 Prefix to topology file
- Support running wrk in linux namespace
- Refactor namespace cleanup
- Remove redundant namespace creation code
- Refactor test/keyword dirs: tcp -> hoststack
- Add hoststack utility keywords
- Refactor wrk suite setup/teardown
- Update tests with recent perf infra changes

Change-Id: Ia1cf07978d579393eef94923819a87c8c1f36f34
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
19 files changed:
resources/libraries/python/Constants.py
resources/libraries/python/CoreDumpUtil.py
resources/libraries/python/DUTSetup.py
resources/libraries/python/HoststackUtil.py [new file with mode: 0644]
resources/libraries/python/IPUtil.py
resources/libraries/python/Namespaces.py
resources/libraries/python/VPPUtil.py
resources/libraries/python/VatExecutor.py
resources/libraries/python/VppConfigGenerator.py
resources/libraries/python/topology.py
resources/libraries/robot/hoststack/hoststack.robot [new file with mode: 0644]
resources/libraries/robot/hoststack/tcp_setup.robot [moved from resources/libraries/robot/tcp/tcp_setup.robot with 100% similarity]
resources/libraries/robot/shared/default.robot
resources/libraries/robot/shared/suite_setup.robot
resources/libraries/robot/shared/suite_teardown.robot
resources/libraries/robot/wrk/wrk_utils.robot
tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-wrk8u8c50con-cps.robot [moved from tests/vpp/perf/tcp/2n1l-10ge2p1x710-eth-ip4tcphttp-wrk8u8c50con-cps.robot with 94% similarity]
tests/vpp/perf/hoststack/2n1l-10ge2p1x710-eth-ip4tcphttp-wrk8u8c50con-rps.robot [moved from tests/vpp/perf/tcp/2n1l-10ge2p1x710-eth-ip4tcphttp-wrk8u8c50con-rps.robot with 94% similarity]
tests/vpp/perf/hoststack/regenerate_testcases.py [moved from tests/vpp/perf/tcp/regenerate_testcases.py with 100% similarity]