diff options
author | Jan Gelety <jgelety@cisco.com> | 2020-09-08 12:14:21 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2020-09-24 11:28:28 +0000 |
commit | 3b408b7ea702dd3817442186035121fe862cbf7f (patch) | |
tree | f4f1b8f1da7e8ec7f8010336ecb7b37ef96ec39b /tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h65536-p63-s4128758-ndrpdr.robot | |
parent | 2e19aee8db50a90ca11a6d9ca9fb376e84d8897c (diff) |
test: nat44det - add session number check
- some tests need to reduce rate for ramp-up phase
- some tests need to extend trail duration in ramp-up phase
- removed 2n1l-10ge2p1x710-ethip4udp-nat44det-h1-p63-s63 suite
as nat out ports are randomly selected from available port range
so T-Rex stateless is not able to provide required out2in traffic
Change-Id: I1145496610d202f81d911e68aa819844d7600918
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h65536-p63-s4128758-ndrpdr.robot')
-rw-r--r-- | tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h65536-p63-s4128758-ndrpdr.robot | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h65536-p63-s4128758-ndrpdr.robot b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h65536-p63-s4128758-ndrpdr.robot index 96b74b20e0..983afe96e8 100644 --- a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h65536-p63-s4128758-ndrpdr.robot +++ b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h65536-p63-s4128758-ndrpdr.robot @@ -75,7 +75,11 @@ | ${in_mask}= | ${16} | ${out_net}= | 68.142.68.0 | ${out_mask}= | ${26} -# Traffic profile: +# Scale settings +| ${n_hosts}= | ${65536} +| ${n_ports}= | ${63} +| ${n_sessions}= | ${${n_hosts} * ${n_ports}} +# Traffic profile | ${traffic_profile}= | trex-stl-ethip4udp-65536u63p *** Keywords *** @@ -96,6 +100,15 @@ | | | | Set Test Variable | \${frame_size} | | +| | ${pre_stats}= | Create List +| | ... | clear-show-runtime-with-traffic | vpp-det44-verify-sessions +| | ... | vpp-clear-stats | vpp-enable-packettrace | vpp-enable-elog +| | Set Test Variable | ${pre_stats} +| | # Trial duration extension for pre_stat action +| | Set Test Variable | ${pre_stats_duration_ext} | ${22.5} +| | # Reduce the rate for pre_stat action +| | Set Test Variable | ${pre_stats_rate} | ${200000} +| | | | Given Set Max Rate And Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} | | And Pre-initialize layer driver | ${nic_driver} |