From 491556b732c47ac92d4e2a0e8e129d7c24b636fd Mon Sep 17 00:00:00 2001 From: JACK Date: Wed, 2 Jun 2021 02:58:53 +0800 Subject: op-mode: T3384: support UDP bandwidth testing --- op-mode-definitions/monitor-bandwidth-test.xml.in | 50 ++++++++++++++++++----- 1 file changed, 40 insertions(+), 10 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/monitor-bandwidth-test.xml.in b/op-mode-definitions/monitor-bandwidth-test.xml.in index 5b36b1da5..f7ee242b7 100644 --- a/op-mode-definitions/monitor-bandwidth-test.xml.in +++ b/op-mode-definitions/monitor-bandwidth-test.xml.in @@ -7,21 +7,51 @@ Initiate or wait for bandwidth test - + - Wait for bandwidth test connections (port TCP/5001) + Wait for bandwidth test connections (default: TCP) /usr/bin/iperf -V -s - - + + + + Wait for bandwidth test connections (port TCP/5001) + + /usr/bin/iperf -V -s + + + + Wait for bandwidth test connections (port UDP/5001) + + /usr/bin/iperf -V -s -u + + + + - Initiate a bandwidth test to specified host (port TCP/5001) - - <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> - + Initiate a bandwidth test to specified host - ${vyos_op_scripts_dir}/monitor_bandwidth_test.sh "$4" - + + + + Initiate a bandwidth test to specified host (port TCP/5001) + + <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> + + + ${vyos_op_scripts_dir}/monitor_bandwidth_test.sh "$5" + + + + Initiate a bandwidth test to specified host (port UDP/5001) + + <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> + + + ${vyos_op_scripts_dir}/monitor_bandwidth_test.sh "$5" "-u" + + + -- cgit v1.2.3