X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=GPL%2Ftraffic_profiles%2Ftrex%2Ftrex-astf-ethip4udp-1024h.py;h=6bf0d53d1fa0ea5fdd932ee82f7d92aab674a487;hb=b3f5b759d051e8f12ee72a70d8b170a8d94a29d3;hp=c2a004bc5213bdd02a7ac90fe535932029b4e5d2;hpb=ff1f49d9ba97ddfee3229907e3a344503e072578;p=csit.git diff --git a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-1024h.py b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-1024h.py index c2a004bc52..6bf0d53d1f 100644 --- a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-1024h.py +++ b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-1024h.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],