From 3b408b7ea702dd3817442186035121fe862cbf7f Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Tue, 8 Sep 2020 12:14:21 +0200 Subject: 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 --- ...2p1x710-ethip4udp-nat44det-h1024-p63-s64512-ndrpdr.robot | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h1024-p63-s64512-ndrpdr.robot') diff --git a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h1024-p63-s64512-ndrpdr.robot b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h1024-p63-s64512-ndrpdr.robot index 96a1d64e49..e8daa6484e 100644 --- a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h1024-p63-s64512-ndrpdr.robot +++ b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4udp-nat44det-h1024-p63-s64512-ndrpdr.robot @@ -75,7 +75,11 @@ | ${in_mask}= | ${22} | ${out_net}= | 68.142.68.0 | ${out_mask}= | ${32} -# Traffic profile: +# Scale settings +| ${n_hosts}= | ${1024} +| ${n_ports}= | ${63} +| ${n_sessions}= | ${${n_hosts} * ${n_ports}} +# Traffic profile | ${traffic_profile}= | trex-stl-ethip4udp-1024u63p *** Keywords *** @@ -96,6 +100,13 @@ | | | | 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} +| | # Reduce the rate for pre_stat action +| | Set Test Variable | ${pre_stats_rate} | ${500000} +| | | | Given Set Max Rate And Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} | | And Pre-initialize layer driver | ${nic_driver} -- cgit 1.2.3-korg