From 65622a733df80ecee2192f3cd5758a27e4324b3b Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Tue, 10 Sep 2024 16:00:13 +0300 Subject: op-mode: T6694: Move some op-mode commands in the "execute" family MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 'force netns' — move to 'execute shell netns'. 'force vrf'— move to 'execute shell vrf'. 'force owping' — move to 'execute owping'. 'force twping' — move to 'execute twping'. 'monitor bandwidth-test' — move to 'execute bandwidth-test`. 'telnet' — move to 'execute telnet' --- op-mode-definitions/execute-bandwidth-test.xml.in | 59 +++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 op-mode-definitions/execute-bandwidth-test.xml.in (limited to 'op-mode-definitions/execute-bandwidth-test.xml.in') diff --git a/op-mode-definitions/execute-bandwidth-test.xml.in b/op-mode-definitions/execute-bandwidth-test.xml.in new file mode 100644 index 000000000..1581d5c25 --- /dev/null +++ b/op-mode-definitions/execute-bandwidth-test.xml.in @@ -0,0 +1,59 @@ + + + + + + + Initiate or wait for bandwidth test + + + + + Wait for bandwidth test connections (port TCP/5001) + + /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 + + + + + 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}/execute_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}/execute_bandwidth_test.sh "$5" "-u" + + + + + + + + -- cgit v1.2.3