X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=GPL%2Ftraffic_profiles%2Ftrex%2Ftrex-astf-ethip4udp-262144h.py;fp=GPL%2Ftraffic_profiles%2Ftrex%2Ftrex-astf-ethip4udp-262144h.py;h=728eba8a0415148a1cda9087b630047d7cbebc75;hb=b3f5b759d051e8f12ee72a70d8b170a8d94a29d3;hp=43ca0cba48c15c8559abe775fddddb9795b5acda;hpb=ff1f49d9ba97ddfee3229907e3a344503e072578;p=csit.git diff --git a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-262144h.py b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-262144h.py index 43ca0cba48..728eba8a04 100644 --- a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-262144h.py +++ b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-262144h.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],