X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=GPL%2Ftraffic_profiles%2Ftrex%2Ftrex-astf-ethip4udp-4096h.py;h=0807175d36876417ba7f8219c83a3b0d90078580;hp=ff26b3bdaaa33b10c41404ce0e5c4fc8f6dd6538;hb=b3f5b759d051e8f12ee72a70d8b170a8d94a29d3;hpb=ff1f49d9ba97ddfee3229907e3a344503e072578 diff --git a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-4096h.py b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-4096h.py index ff26b3bdaa..0807175d36 100644 --- a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-4096h.py +++ b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-4096h.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],