diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2020-01-15 06:29:16 +0000 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2020-01-30 12:33:16 +0000 |
commit | d79b753c1fde3cd831f60ac5cc0034f613c44b43 (patch) | |
tree | 2dea775b6868781b2b25b5caaceeadbfaac6e94f /resources/libraries/robot | |
parent | 20e972ce413e727b0a3d89d04460534cb454f107 (diff) |
perf: Add hoststack NSIM+LDPRELOAD+IPERF3 test suite
Change-Id: Ia7a876b1aa240676e1f2d23618c1d4e09ead14f0
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r-- | resources/libraries/robot/hoststack/hoststack.robot | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/libraries/robot/hoststack/hoststack.robot b/resources/libraries/robot/hoststack/hoststack.robot index e765169e32..16a390aeb8 100644 --- a/resources/libraries/robot/hoststack/hoststack.robot +++ b/resources/libraries/robot/hoststack/hoststack.robot @@ -386,7 +386,10 @@ | | | ... | ${namespace} | ${core_list} | ${cfg_vpp_feature} | | | ... | ${test_program} | | -| | Run Keyword If | ${vpp_nsim_attr}[output_feature_enable] +| | ${is_dut1}= | Run Keyword And Return Status +| | ... | Dictionaries should be equal | ${node} | ${dut1} +| | Run Keyword If +| | ... | ${is_dut1} and ${vpp_nsim_attr}[output_feature_enable] | | ... | Configure VPP NSIM | ${node} | ${vpp_nsim_attr} | ${intf} | | Run Keyword If | '${cfg_vpp_feature}' != '' | | ... | Additional VPP Config for Feature ${cfg_vpp_feature} | ${node} @@ -428,6 +431,9 @@ | | | ... | ${vpp_hoststack_attr}[api_seg_global_size] | | | Run keyword | ${dut}.Add api segment api size | | | ... | ${vpp_hoststack_attr}[api_seg_api_size] +| | | Run Keyword If +| | | ... | '${dut}' == 'DUT1' and ${vpp_nsim_attr}[output_feature_enable] +| | | ... | ${dut}.Add Nsim poll main thread | | | Run keyword | ${dut}.Add api segment gid | testuser | | | Run keyword | ${dut}.Add tcp congestion control algorithm | | | ... | ${vpp_hoststack_attr}[tcp_cc_algo] |