From b3f5b759d051e8f12ee72a70d8b170a8d94a29d3 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Tue, 4 Aug 2020 23:48:36 +0200 Subject: Perf: NAT44 endpoint-dependent mode - tcp, part I Jira: CSIT-1736 - tcp synthetic profiles w/o data packets - tcp cps perf tests, phase I (no special "search cps" KW) Change-Id: I52be34b0fdd51d7a33c8c5de9b46d7064c48f7fa Signed-off-by: Jan Gelety --- GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h.py') diff --git a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h.py b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h.py index b6324f34fe..85eaff005c 100644 --- a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h.py +++ b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h.py @@ -78,6 +78,8 @@ class TrafficProfile(TrafficProfileBaseClass): # receive RES message prog_c.recv_msg(1) + prog_c.delay(self.udp_keepalive * 1000) # delay is defined in usec + # server commands prog_s = ASTFProgram(stream=False) # set the keepalive timer for UDP flows to not close udp session @@ -88,6 +90,8 @@ class TrafficProfile(TrafficProfileBaseClass): # send RES message prog_s.send_msg(self.udp_res) + prog_s.delay(self.udp_keepalive * 1000) # delay is defined in usec + # ip generators ip_gen_c = ASTFIPGenDist( ip_range=[self.p1_src_start_ip, self.p1_src_end_ip], -- cgit 1.2.3-korg