Feature: Adds test for both eth interfaces. Tests Sample 8 with new script and with the probes and cables positioned away from the PoE Converter. Also make sure GND is connected correcly for the probes.
40001
output/measurement_results_20251113_134656/channel2_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_134656/channel2_waveform.jpg
Normal file
|
After Width: | Height: | Size: 34 KiB |
40001
output/measurement_results_20251113_134656/channel3_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_134656/channel3_waveform.jpg
Normal file
|
After Width: | Height: | Size: 36 KiB |
10
output/measurement_results_20251113_134656/results.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Channels:
|
||||||
|
2:
|
||||||
|
average: 5.145253655
|
||||||
|
ripple: 0.04824000000000073
|
||||||
|
3:
|
||||||
|
average: 3.2936939265
|
||||||
|
ripple: 0.04823999999999984
|
||||||
|
SampleNumber: 8
|
||||||
|
Supply: external
|
||||||
|
TestCase: baseline
|
||||||
40001
output/measurement_results_20251113_134708/channel2_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_134708/channel2_waveform.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
40001
output/measurement_results_20251113_134708/channel3_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_134708/channel3_waveform.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
10
output/measurement_results_20251113_134708/results.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Channels:
|
||||||
|
2:
|
||||||
|
average: 5.089307717
|
||||||
|
ripple: 0.04823999999999984
|
||||||
|
3:
|
||||||
|
average: 3.2934243855000003
|
||||||
|
ripple: 0.044219999999999704
|
||||||
|
SampleNumber: 8
|
||||||
|
Supply: external
|
||||||
|
TestCase: CPU
|
||||||
40001
output/measurement_results_20251113_134727/channel2_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_134727/channel2_waveform.jpg
Normal file
|
After Width: | Height: | Size: 37 KiB |
40001
output/measurement_results_20251113_134727/channel3_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_134727/channel3_waveform.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
10
output/measurement_results_20251113_134727/results.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Channels:
|
||||||
|
2:
|
||||||
|
average: 5.092775972
|
||||||
|
ripple: 0.04020000000000046
|
||||||
|
3:
|
||||||
|
average: 3.2930493195
|
||||||
|
ripple: 0.044219999999999704
|
||||||
|
SampleNumber: 8
|
||||||
|
Supply: external
|
||||||
|
TestCase: EthPrim
|
||||||
40001
output/measurement_results_20251113_134747/channel2_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_134747/channel2_waveform.jpg
Normal file
|
After Width: | Height: | Size: 34 KiB |
40001
output/measurement_results_20251113_134747/channel3_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_134747/channel3_waveform.jpg
Normal file
|
After Width: | Height: | Size: 40 KiB |
10
output/measurement_results_20251113_134747/results.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Channels:
|
||||||
|
2:
|
||||||
|
average: 5.138004188
|
||||||
|
ripple: 0.04823999999999984
|
||||||
|
3:
|
||||||
|
average: 3.293012034
|
||||||
|
ripple: 0.04019999999999957
|
||||||
|
SampleNumber: 8
|
||||||
|
Supply: external
|
||||||
|
TestCase: EthSec
|
||||||
40001
output/measurement_results_20251113_140025/channel2_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_140025/channel2_waveform.jpg
Normal file
|
After Width: | Height: | Size: 37 KiB |
40001
output/measurement_results_20251113_140025/channel3_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_140025/channel3_waveform.jpg
Normal file
|
After Width: | Height: | Size: 39 KiB |
10
output/measurement_results_20251113_140025/results.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Channels:
|
||||||
|
2:
|
||||||
|
average: 5.0640140780000005
|
||||||
|
ripple: 0.05628000000000011
|
||||||
|
3:
|
||||||
|
average: 3.2922266265000006
|
||||||
|
ripple: 0.04019999999999957
|
||||||
|
SampleNumber: 8
|
||||||
|
Supply: PoE
|
||||||
|
TestCase: baseline
|
||||||
40001
output/measurement_results_20251113_140038/channel2_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_140038/channel2_waveform.jpg
Normal file
|
After Width: | Height: | Size: 40 KiB |
40001
output/measurement_results_20251113_140038/channel3_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_140038/channel3_waveform.jpg
Normal file
|
After Width: | Height: | Size: 36 KiB |
10
output/measurement_results_20251113_140038/results.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Channels:
|
||||||
|
2:
|
||||||
|
average: 4.9985755130000005
|
||||||
|
ripple: 0.06431999999999949
|
||||||
|
3:
|
||||||
|
average: 3.2932657965000005
|
||||||
|
ripple: 0.04823999999999984
|
||||||
|
SampleNumber: 8
|
||||||
|
Supply: PoE
|
||||||
|
TestCase: CPU
|
||||||
40001
output/measurement_results_20251113_140057/channel2_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_140057/channel2_waveform.jpg
Normal file
|
After Width: | Height: | Size: 39 KiB |
40001
output/measurement_results_20251113_140057/channel3_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_140057/channel3_waveform.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
10
output/measurement_results_20251113_140057/results.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Channels:
|
||||||
|
2:
|
||||||
|
average: 4.999324037
|
||||||
|
ripple: 0.07235999999999976
|
||||||
|
3:
|
||||||
|
average: 3.2917444275000003
|
||||||
|
ripple: 0.044219999999999704
|
||||||
|
SampleNumber: 8
|
||||||
|
Supply: PoE
|
||||||
|
TestCase: EthPrim
|
||||||
40001
output/measurement_results_20251113_140117/channel2_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_140117/channel2_waveform.jpg
Normal file
|
After Width: | Height: | Size: 38 KiB |
40001
output/measurement_results_20251113_140117/channel3_timeseries.csv
Normal file
BIN
output/measurement_results_20251113_140117/channel3_waveform.jpg
Normal file
|
After Width: | Height: | Size: 36 KiB |
10
output/measurement_results_20251113_140117/results.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Channels:
|
||||||
|
2:
|
||||||
|
average: 5.058465674000001
|
||||||
|
ripple: 0.05628000000000011
|
||||||
|
3:
|
||||||
|
average: 3.2907325935
|
||||||
|
ripple: 0.044219999999999704
|
||||||
|
SampleNumber: 8
|
||||||
|
Supply: PoE
|
||||||
|
TestCase: EthSec
|
||||||
19
results/test_20251113_134656/iperf3_client_prim.log
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Connecting to host 10.11.0.91, port 5201
|
||||||
|
[ 5] local 10.11.0.45 port 36163 connected to 10.11.0.91 port 5201
|
||||||
|
[ ID] Interval Transfer Bitrate Retr Cwnd
|
||||||
|
[ 5] 0.00-1.00 sec 12.4 MBytes 104 Mbits/sec 0 195 KBytes
|
||||||
|
[ 5] 1.00-2.00 sec 10.9 MBytes 91.2 Mbits/sec 0 195 KBytes
|
||||||
|
[ 5] 2.00-3.00 sec 11.3 MBytes 94.9 Mbits/sec 0 195 KBytes
|
||||||
|
[ 5] 3.00-4.00 sec 11.3 MBytes 94.9 Mbits/sec 0 195 KBytes
|
||||||
|
[ 5] 4.00-5.00 sec 11.3 MBytes 94.9 Mbits/sec 0 195 KBytes
|
||||||
|
[ 5] 5.00-6.00 sec 11.4 MBytes 95.9 Mbits/sec 0 246 KBytes
|
||||||
|
[ 5] 6.00-7.00 sec 11.0 MBytes 92.3 Mbits/sec 0 246 KBytes
|
||||||
|
[ 5] 7.00-8.00 sec 11.5 MBytes 96.4 Mbits/sec 0 246 KBytes
|
||||||
|
[ 5] 8.00-9.00 sec 10.9 MBytes 91.4 Mbits/sec 0 246 KBytes
|
||||||
|
[ 5] 9.00-10.00 sec 11.4 MBytes 96.2 Mbits/sec 0 246 KBytes
|
||||||
|
- - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
[ ID] Interval Transfer Bitrate Retr
|
||||||
|
[ 5] 0.00-10.00 sec 113 MBytes 95.2 Mbits/sec 0 sender
|
||||||
|
[ 5] 0.00-10.04 sec 112 MBytes 93.7 Mbits/sec receiver
|
||||||
|
|
||||||
|
iperf Done.
|
||||||
19
results/test_20251113_134656/iperf3_client_prim_poe.log
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Connecting to host 10.11.0.91, port 5201
|
||||||
|
[ 5] local 10.11.0.45 port 55117 connected to 10.11.0.91 port 5201
|
||||||
|
[ ID] Interval Transfer Bitrate Retr Cwnd
|
||||||
|
[ 5] 0.00-1.00 sec 12.0 MBytes 100 Mbits/sec 0 187 KBytes
|
||||||
|
[ 5] 1.00-2.00 sec 11.3 MBytes 94.6 Mbits/sec 0 187 KBytes
|
||||||
|
[ 5] 2.00-3.00 sec 11.2 MBytes 94.7 Mbits/sec 0 187 KBytes
|
||||||
|
[ 5] 3.00-4.00 sec 11.3 MBytes 94.9 Mbits/sec 0 187 KBytes
|
||||||
|
[ 5] 4.00-5.00 sec 11.1 MBytes 93.3 Mbits/sec 0 194 KBytes
|
||||||
|
[ 5] 5.00-6.00 sec 11.4 MBytes 95.4 Mbits/sec 0 194 KBytes
|
||||||
|
[ 5] 6.00-7.00 sec 11.1 MBytes 92.8 Mbits/sec 0 194 KBytes
|
||||||
|
[ 5] 7.00-8.00 sec 11.4 MBytes 95.4 Mbits/sec 0 194 KBytes
|
||||||
|
[ 5] 8.00-9.00 sec 11.3 MBytes 94.9 Mbits/sec 0 194 KBytes
|
||||||
|
[ 5] 9.00-10.00 sec 11.3 MBytes 94.9 Mbits/sec 0 194 KBytes
|
||||||
|
- - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
[ ID] Interval Transfer Bitrate Retr
|
||||||
|
[ 5] 0.00-10.00 sec 113 MBytes 95.1 Mbits/sec 0 sender
|
||||||
|
[ 5] 0.00-10.05 sec 112 MBytes 93.8 Mbits/sec receiver
|
||||||
|
|
||||||
|
iperf Done.
|
||||||
19
results/test_20251113_134656/iperf3_client_sec.log
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Connecting to host 10.11.0.91, port 5201
|
||||||
|
[ 5] local 10.11.0.70 port 58043 connected to 10.11.0.91 port 5201
|
||||||
|
[ ID] Interval Transfer Bitrate Retr Cwnd
|
||||||
|
[ 5] 0.00-1.00 sec 12.1 MBytes 101 Mbits/sec 0 209 KBytes
|
||||||
|
[ 5] 1.00-2.00 sec 11.3 MBytes 94.9 Mbits/sec 0 209 KBytes
|
||||||
|
[ 5] 2.00-3.00 sec 11.3 MBytes 94.9 Mbits/sec 0 209 KBytes
|
||||||
|
[ 5] 3.00-4.00 sec 11.3 MBytes 94.9 Mbits/sec 0 209 KBytes
|
||||||
|
[ 5] 4.00-5.00 sec 10.9 MBytes 91.2 Mbits/sec 0 209 KBytes
|
||||||
|
[ 5] 5.00-6.00 sec 11.3 MBytes 94.9 Mbits/sec 0 209 KBytes
|
||||||
|
[ 5] 6.00-7.00 sec 11.3 MBytes 94.9 Mbits/sec 0 230 KBytes
|
||||||
|
[ 5] 7.00-8.00 sec 11.4 MBytes 95.9 Mbits/sec 0 230 KBytes
|
||||||
|
[ 5] 8.00-9.00 sec 10.9 MBytes 91.7 Mbits/sec 0 230 KBytes
|
||||||
|
[ 5] 9.00-10.00 sec 11.4 MBytes 95.9 Mbits/sec 0 230 KBytes
|
||||||
|
- - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
[ ID] Interval Transfer Bitrate Retr
|
||||||
|
[ 5] 0.00-10.00 sec 113 MBytes 95.0 Mbits/sec 0 sender
|
||||||
|
[ 5] 0.00-10.05 sec 112 MBytes 93.7 Mbits/sec receiver
|
||||||
|
|
||||||
|
iperf Done.
|
||||||
19
results/test_20251113_134656/iperf3_client_sec_poe.log
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Connecting to host 10.11.0.91, port 5201
|
||||||
|
[ 5] local 10.11.0.70 port 44833 connected to 10.11.0.91 port 5201
|
||||||
|
[ ID] Interval Transfer Bitrate Retr Cwnd
|
||||||
|
[ 5] 0.00-1.00 sec 11.8 MBytes 98.9 Mbits/sec 0 112 KBytes
|
||||||
|
[ 5] 1.00-2.00 sec 11.2 MBytes 93.8 Mbits/sec 0 112 KBytes
|
||||||
|
[ 5] 2.00-3.00 sec 11.2 MBytes 93.8 Mbits/sec 0 112 KBytes
|
||||||
|
[ 5] 3.00-4.00 sec 11.2 MBytes 93.8 Mbits/sec 0 112 KBytes
|
||||||
|
[ 5] 4.00-5.00 sec 11.2 MBytes 93.8 Mbits/sec 0 112 KBytes
|
||||||
|
[ 5] 5.00-6.00 sec 11.4 MBytes 95.9 Mbits/sec 0 120 KBytes
|
||||||
|
[ 5] 6.00-7.00 sec 11.2 MBytes 93.8 Mbits/sec 0 120 KBytes
|
||||||
|
[ 5] 7.00-8.00 sec 11.2 MBytes 93.8 Mbits/sec 0 120 KBytes
|
||||||
|
[ 5] 8.00-9.00 sec 11.4 MBytes 95.4 Mbits/sec 0 178 KBytes
|
||||||
|
[ 5] 9.00-10.00 sec 11.6 MBytes 97.0 Mbits/sec 0 178 KBytes
|
||||||
|
- - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
[ ID] Interval Transfer Bitrate Retr
|
||||||
|
[ 5] 0.00-10.00 sec 113 MBytes 95.0 Mbits/sec 0 sender
|
||||||
|
[ 5] 0.00-10.04 sec 112 MBytes 93.8 Mbits/sec receiver
|
||||||
|
|
||||||
|
iperf Done.
|
||||||
24
results/test_20251113_134656/iperf3_server.log
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
-----------------------------------------------------------
|
||||||
|
Server listening on 5201
|
||||||
|
-----------------------------------------------------------
|
||||||
|
Accepted connection from 10.11.0.70, port 40681
|
||||||
|
[ 5] local 10.11.0.91 port 5201 connected to 10.11.0.70 port 44833
|
||||||
|
[ ID] Interval Transfer Bitrate
|
||||||
|
[ 5] 0.00-1.00 sec 10.8 MBytes 90.5 Mbits/sec
|
||||||
|
[ 5] 1.00-2.00 sec 11.2 MBytes 94.1 Mbits/sec
|
||||||
|
[ 5] 2.00-3.00 sec 11.2 MBytes 94.2 Mbits/sec
|
||||||
|
[ 5] 3.00-4.00 sec 11.2 MBytes 94.2 Mbits/sec
|
||||||
|
[ 5] 4.00-5.00 sec 11.2 MBytes 94.2 Mbits/sec
|
||||||
|
[ 5] 5.00-6.00 sec 11.2 MBytes 94.2 Mbits/sec
|
||||||
|
[ 5] 6.00-7.00 sec 11.2 MBytes 94.2 Mbits/sec
|
||||||
|
[ 5] 7.00-8.00 sec 11.2 MBytes 94.1 Mbits/sec
|
||||||
|
[ 5] 8.00-9.00 sec 11.2 MBytes 94.2 Mbits/sec
|
||||||
|
[ 5] 9.00-10.00 sec 11.2 MBytes 94.2 Mbits/sec
|
||||||
|
[ 5] 10.00-10.04 sec 492 KBytes 94.0 Mbits/sec
|
||||||
|
- - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
[ ID] Interval Transfer Bitrate
|
||||||
|
[ 5] 0.00-10.04 sec 112 MBytes 93.8 Mbits/sec receiver
|
||||||
|
iperf3: interrupt - the server has terminated
|
||||||
|
-----------------------------------------------------------
|
||||||
|
Server listening on 5201
|
||||||
|
-----------------------------------------------------------
|
||||||
1
results/test_20251113_134656/stress.log
Normal file
@@ -0,0 +1 @@
|
|||||||
|
stress: info: [1649] dispatching hogs: 2 cpu, 2 io, 2 vm, 0 hdd
|
||||||
1
results/test_20251113_134656/stress_poe.log
Normal file
@@ -0,0 +1 @@
|
|||||||
|
stress: info: [1236] dispatching hogs: 2 cpu, 2 io, 2 vm, 0 hdd
|
||||||
60
run_tests.py
@@ -98,6 +98,10 @@ def main():
|
|||||||
host_ip = "10.11.0.91" # Replace with the actual host IP
|
host_ip = "10.11.0.91" # Replace with the actual host IP
|
||||||
username = "caster"
|
username = "caster"
|
||||||
|
|
||||||
|
# Ethernet interface IPs for EthPrim and EthSec
|
||||||
|
eth_prim_ip = "10.11.0.45"
|
||||||
|
eth_sec_ip = "10.11.0.70"
|
||||||
|
|
||||||
# Create a timestamped folder for logs and results
|
# Create a timestamped folder for logs and results
|
||||||
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
||||||
output_dir = os.path.join("results", f"test_{timestamp}")
|
output_dir = os.path.join("results", f"test_{timestamp}")
|
||||||
@@ -122,15 +126,15 @@ def main():
|
|||||||
output_dir
|
output_dir
|
||||||
)
|
)
|
||||||
|
|
||||||
print("Running iperf3 test...")
|
print("Running iperf3 test for EthPrim...")
|
||||||
iperf3_server = run_iperf3_server(output_dir) # Start iperf3 server on the host
|
iperf3_server = run_iperf3_server(output_dir) # Start iperf3 server on the host
|
||||||
try:
|
try:
|
||||||
remote_iperf3_client_log = "/tmp/iperf3_client.log"
|
remote_iperf3_client_log = "/tmp/iperf3_client_prim.log"
|
||||||
local_iperf3_client_log = os.path.join(output_dir, "iperf3_client.log")
|
local_iperf3_client_log = os.path.join(output_dir, "iperf3_client_prim.log")
|
||||||
start_background_command_and_measure(
|
start_background_command_and_measure(
|
||||||
dut_ip,
|
dut_ip,
|
||||||
username,
|
username,
|
||||||
f"iperf3 -c {host_ip}",
|
f"iperf3 -c {host_ip} -B {eth_prim_ip}",
|
||||||
remote_iperf3_client_log,
|
remote_iperf3_client_log,
|
||||||
local_iperf3_client_log,
|
local_iperf3_client_log,
|
||||||
sample_number,
|
sample_number,
|
||||||
@@ -141,6 +145,25 @@ def main():
|
|||||||
finally:
|
finally:
|
||||||
stop_iperf3_server(iperf3_server) # Ensure the server is stopped
|
stop_iperf3_server(iperf3_server) # Ensure the server is stopped
|
||||||
|
|
||||||
|
print("Running iperf3 test for EthSec...")
|
||||||
|
iperf3_server = run_iperf3_server(output_dir) # Start iperf3 server on the host
|
||||||
|
try:
|
||||||
|
remote_iperf3_client_log = "/tmp/iperf3_client_sec.log"
|
||||||
|
local_iperf3_client_log = os.path.join(output_dir, "iperf3_client_sec.log")
|
||||||
|
start_background_command_and_measure(
|
||||||
|
dut_ip,
|
||||||
|
username,
|
||||||
|
f"iperf3 -c {host_ip} -B {eth_sec_ip}",
|
||||||
|
remote_iperf3_client_log,
|
||||||
|
local_iperf3_client_log,
|
||||||
|
sample_number,
|
||||||
|
"external",
|
||||||
|
"EthSec",
|
||||||
|
output_dir
|
||||||
|
)
|
||||||
|
finally:
|
||||||
|
stop_iperf3_server(iperf3_server) # Ensure the server is stopped
|
||||||
|
|
||||||
input("Switch power to PoE and press Enter to continue...")
|
input("Switch power to PoE and press Enter to continue...")
|
||||||
|
|
||||||
print("Measuring baseline with PoE...")
|
print("Measuring baseline with PoE...")
|
||||||
@@ -153,7 +176,7 @@ def main():
|
|||||||
start_background_command_and_measure(
|
start_background_command_and_measure(
|
||||||
dut_ip,
|
dut_ip,
|
||||||
username,
|
username,
|
||||||
"stress -c 2 --io 2 --vm 2 --timeout 15",
|
"stress -c 2 --io 2 --vm 2 --timeout 30",
|
||||||
remote_stress_log_poe,
|
remote_stress_log_poe,
|
||||||
local_stress_log_poe,
|
local_stress_log_poe,
|
||||||
sample_number,
|
sample_number,
|
||||||
@@ -162,15 +185,15 @@ def main():
|
|||||||
output_dir
|
output_dir
|
||||||
)
|
)
|
||||||
|
|
||||||
print("Running iperf3 test with PoE...")
|
print("Running iperf3 test for EthPrim with PoE...")
|
||||||
iperf3_server = run_iperf3_server(output_dir) # Start iperf3 server on the host
|
iperf3_server = run_iperf3_server(output_dir) # Start iperf3 server on the host
|
||||||
try:
|
try:
|
||||||
remote_iperf3_client_log_poe = "/tmp/iperf3_client_poe.log"
|
remote_iperf3_client_log_poe = "/tmp/iperf3_client_prim_poe.log"
|
||||||
local_iperf3_client_log_poe = os.path.join(output_dir, "iperf3_client_poe.log")
|
local_iperf3_client_log_poe = os.path.join(output_dir, "iperf3_client_prim_poe.log")
|
||||||
start_background_command_and_measure(
|
start_background_command_and_measure(
|
||||||
dut_ip,
|
dut_ip,
|
||||||
username,
|
username,
|
||||||
f"iperf3 -c {host_ip}",
|
f"iperf3 -c {host_ip} -B {eth_prim_ip}",
|
||||||
remote_iperf3_client_log_poe,
|
remote_iperf3_client_log_poe,
|
||||||
local_iperf3_client_log_poe,
|
local_iperf3_client_log_poe,
|
||||||
sample_number,
|
sample_number,
|
||||||
@@ -181,6 +204,25 @@ def main():
|
|||||||
finally:
|
finally:
|
||||||
stop_iperf3_server(iperf3_server) # Ensure the server is stopped
|
stop_iperf3_server(iperf3_server) # Ensure the server is stopped
|
||||||
|
|
||||||
|
print("Running iperf3 test for EthSec with PoE...")
|
||||||
|
iperf3_server = run_iperf3_server(output_dir) # Start iperf3 server on the host
|
||||||
|
try:
|
||||||
|
remote_iperf3_client_log_poe = "/tmp/iperf3_client_sec_poe.log"
|
||||||
|
local_iperf3_client_log_poe = os.path.join(output_dir, "iperf3_client_sec_poe.log")
|
||||||
|
start_background_command_and_measure(
|
||||||
|
dut_ip,
|
||||||
|
username,
|
||||||
|
f"iperf3 -c {host_ip} -B {eth_sec_ip}",
|
||||||
|
remote_iperf3_client_log_poe,
|
||||||
|
local_iperf3_client_log_poe,
|
||||||
|
sample_number,
|
||||||
|
"PoE",
|
||||||
|
"EthSec",
|
||||||
|
output_dir
|
||||||
|
)
|
||||||
|
finally:
|
||||||
|
stop_iperf3_server(iperf3_server) # Ensure the server is stopped
|
||||||
|
|
||||||
print("All tests completed.")
|
print("All tests completed.")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||