Attached is the sample VPP commands script, having a delay of 50 ms. Below is the screenshot of he output we get on running the script : - Request 88 : time 14:05:01.906 Request 89 : time 14:05:01.906 Request 90 : time 14:05:02.043 _______ _ _ _____ ___ __/ __/ _ \ (_)__ | | / / _ \/ _ \ _/ _// // / / / _ \ | |/ / ___/ ___/ /_/ /____(_)_/\___/ |___/_/ /_/
vpp# Request 91 : time 14:05:02.043 _______ _ _ _____ ___ __/ __/ _ \ (_)__ | | / / _ \/ _ \ _/ _// // / / / _ \ | |/ / ___/ ___/ /_/ /____(_)_/\___/ |___/_/ /_/ vpp# Request 92 : time 14:05:02.213 Request 93 : time 14:05:02.213 Request 94 : time 14:05:02.358 The commands are executed sequentially at a gap of 50 ms. As seen from the execution time displayed by the script, we never see a situation where the gap is more than 1 sec. Can you please guide us through this?
echo " request 1" counter=1 vppctl sr policy add bsid 6d97:5fd3:fd2b:ee77:24a0:d358:c873:9a98 next 2001:19:c1::1 insert spray weight 1 vppctl sr policy mod bsid 6d97:5fd3:fd2b:ee77:24a0:d358:c873:9a98 add sl next 2001:19:c2::1 insert spray weight 1 vppctl sr steer l3 2001:5b0:5678:1::/64 via bsid 6d97:5fd3:fd2b:ee77:24a0:d358:c873:9a98 sleep 0.050 request1_time="$(date +"%T.%3N")" echo "Request $counter : time $request1_time" vppctl sr policy mod bsid 6d97:5fd3:fd2b:ee77:24a0:d358:c873:9a98 del sl index 0 && echo " unicast request 1 " ; sleep 0.050 for ((i=2;i<=50;i++)); do # echo " request $i" counter=$((counter+1)) request1_time="$(date +"%T.%3N")" echo "Request $counter : time $request1_time" vppctl sr policy mod bsid 6d97:5fd3:fd2b:ee77:24a0:d358:c873:9a98 add sl next 2001:19:c1::1 insert spray weight 1; sleep 0.050 counter=$((counter+1)) request2_time="$(date +"%T.%3N")" echo "Request $counter : time $request1_time" vppctl sr policy mod bsid 6d97:5fd3:fd2b:ee77:24a0:d358:c873:9a98 del sl index 0; sleep 0.050 done
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16525): https://lists.fd.io/g/vpp-dev/message/16525 Mute This Topic: https://lists.fd.io/mt/74477335/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-