From 3e657ba2acf68c9adc1426cc1fcfeefb848cc8d2 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 3 Aug 2020 16:41:21 +0200 Subject: T2546: rename op-mode scripts for bandwidth --- op-mode-definitions/bandwidth-monitor.xml | 23 -------------------- op-mode-definitions/bandwidth-test.xml | 29 -------------------------- op-mode-definitions/monitor-bandwidth-test.xml | 29 ++++++++++++++++++++++++++ op-mode-definitions/monitor-bandwidth.xml | 23 ++++++++++++++++++++ 4 files changed, 52 insertions(+), 52 deletions(-) delete mode 100644 op-mode-definitions/bandwidth-monitor.xml delete mode 100644 op-mode-definitions/bandwidth-test.xml create mode 100644 op-mode-definitions/monitor-bandwidth-test.xml create mode 100644 op-mode-definitions/monitor-bandwidth.xml (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/bandwidth-monitor.xml b/op-mode-definitions/bandwidth-monitor.xml deleted file mode 100644 index 9af0a9e70..000000000 --- a/op-mode-definitions/bandwidth-monitor.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - Monitor interface bandwidth in real time - - - - bmon -b -p $4 - - Monitor bandwidth usage on specified interface - - - - - - - - - - diff --git a/op-mode-definitions/bandwidth-test.xml b/op-mode-definitions/bandwidth-test.xml deleted file mode 100644 index d1e459b17..000000000 --- a/op-mode-definitions/bandwidth-test.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - Initiate or wait for bandwidth test - - - - - Wait for bandwidth test connections (port TCP/5001) - - iperf -s - - - - Initiate a bandwidth test to specified host (port TCP/5001) - - <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> - - - iperf -c $4 - - - - - - diff --git a/op-mode-definitions/monitor-bandwidth-test.xml b/op-mode-definitions/monitor-bandwidth-test.xml new file mode 100644 index 000000000..d1e459b17 --- /dev/null +++ b/op-mode-definitions/monitor-bandwidth-test.xml @@ -0,0 +1,29 @@ + + + + + + + Initiate or wait for bandwidth test + + + + + Wait for bandwidth test connections (port TCP/5001) + + iperf -s + + + + Initiate a bandwidth test to specified host (port TCP/5001) + + <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> + + + iperf -c $4 + + + + + + diff --git a/op-mode-definitions/monitor-bandwidth.xml b/op-mode-definitions/monitor-bandwidth.xml new file mode 100644 index 000000000..9af0a9e70 --- /dev/null +++ b/op-mode-definitions/monitor-bandwidth.xml @@ -0,0 +1,23 @@ + + + + + + + Monitor interface bandwidth in real time + + + + bmon -b -p $4 + + Monitor bandwidth usage on specified interface + + + + + + + + + + -- cgit v1.2.3