Add qos traffic generation using ping. Scripts, marking list, cron job.

This commit is contained in:
Michael Pellegrino
2021-07-21 12:39:22 -04:00
parent b0c747037e
commit e839d37b02
3 changed files with 46 additions and 0 deletions

20
roles/qos/files/dscp.list Normal file
View File

@@ -0,0 +1,20 @@
32
40
48
56
64
72
80
88
96
104
112
120
128
136
144
152
160
184
192
224

View 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