Add qos traffic generation using ping. Scripts, marking list, cron job.
This commit is contained in:
6
roles/qos/files/qostraf.sh
Normal file
6
roles/qos/files/qostraf.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
while read -r line
|
||||
do
|
||||
[[ -n "$line" ]] && ping -c 10 -Q $line {{ hostvars[groups['sipserver'][0]].ansible_host }} >/dev/null
|
||||
done < /home/pi/scripts/dscp.list
|
||||
|
||||
Reference in New Issue
Block a user