From ec41126f04b89b2612652ffb3db9cd67e4da8d24 Mon Sep 17 00:00:00 2001 From: jitendracandela <78074038+jitendracandela@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:30:17 +0530 Subject: [PATCH] Wifi 12666 (#823) * Added pass fail for two sanity test cases Signed-off-by: jitendracandela * Replaced mode NAT to NAT-WAN Signed-off-by: jitendracandela * Added test cases for open encryption Signed-off-by: jitendracandela * Removed unwanted marker Signed-off-by: jitendracandela * Changed mode NAT to NAT-WAN Signed-off-by: jitendracandela * Changed mode NAT to NAT-WAN Signed-off-by: jitendracandela --------- Signed-off-by: jitendracandela --- .../nat_mode/open_encryption/__init__.py | 0 .../test_peak_throughput_open_20Mhz_2g.py | 1465 +++++++++++ .../test_peak_throughput_open_20Mhz_5g.py | 2258 +++++++++++++++++ .../test_peak_throughput_open_40Mhz_2g.py | 1464 +++++++++++ .../test_peak_throughput_open_40Mhz_5g.py | 1203 +++++++++ .../test_peak_throughput_open_80Mhz_5g.py | 542 ++++ .../test_peak_throughput_wpa2_20Mhz_2g.py | 132 +- .../test_peak_throughput_wpa2_20Mhz_5g.py | 204 +- .../test_peak_throughput_wpa2_40Mhz_2g.py | 120 +- .../test_peak_throughput_wpa2_40Mhz_5g.py | 140 +- .../test_peak_throughput_wpa2_80Mhz_5g.py | 36 +- .../test_peak_throughput_wpa_20Mhz_2g.py | 132 +- .../test_peak_throughput_wpa_20Mhz_5g.py | 204 +- .../test_peak_throughput_wpa_40Mhz_2g.py | 132 +- .../test_peak_throughput_wpa_40Mhz_5g.py | 108 +- .../test_peak_throughput_wpa_80Mhz_5g.py | 48 +- 16 files changed, 7574 insertions(+), 614 deletions(-) create mode 100644 tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/__init__.py create mode 100644 tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_2g.py create mode 100644 tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_5g.py create mode 100644 tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_2g.py create mode 100644 tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_5g.py create mode 100644 tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_80Mhz_5g.py diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/__init__.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_2g.py new file mode 100644 index 000000000..830e00f82 --- /dev/null +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_2g.py @@ -0,0 +1,1465 @@ +""" + + Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode + pytest -m "country_code and Bridge" + +""" + +import allure +import pytest + +pytestmark = [pytest.mark.peak_throughput_tests, pytest.mark.nat, pytest.mark.twog, pytest.mark.channel_width_20, + pytest.mark.open] + +setup_params_general_1 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 20, + "channel": 1 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_1 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_1], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel1PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_2 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 20, + "channel": 2 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_2 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_2], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel2PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_3 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 20, + "channel": 3 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_3 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_3], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel3PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_4 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 20, + "channel": 4 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_3 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_4], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel4PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_5 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 20, + "channel": 4 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_3 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_5], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel5PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_6 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 20, + "channel": 6 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_6 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_5], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel6PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_7 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + + 'channel-width': 20, + "channel": 7} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_7 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_7], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel7PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_8 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 20, + "channel": 8} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_8 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_8], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel8PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_9 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + + 'channel-width': 20, + "channel": 9} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_9 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_9], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel9PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_10 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 20, + "channel": 10} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_10 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_10], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel10PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_11 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 20, + "channel": 11} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_11 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_11], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel11PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_5g.py new file mode 100644 index 000000000..507be02e1 --- /dev/null +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_20Mhz_5g.py @@ -0,0 +1,2258 @@ +""" + + Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode + pytest -m "country_code and Bridge" + +""" + +import allure +import pytest + +pytestmark = [pytest.mark.peak_throughput_tests, pytest.mark.nat, pytest.mark.fiveg, pytest.mark.channel_width_20, + pytest.mark.open] + +setup_params_general1 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 20, + "channel": 36 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_36 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general1], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz5GChannel36PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general2 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_40", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 20, + "channel": 40} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_40 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general2], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz5GChannel40PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_40", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_40", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_40", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_40", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_40", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_40", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general3 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 20, + "channel": 44} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_44 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general3], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz5GChannel44PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general4 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_48", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 48} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_48 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general4], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel48PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_48", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_48", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_48", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_48", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_48", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_48", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general5 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"}] + }, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 20, + "channel": 52} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_52 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general5], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel52PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general6 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_56", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 56} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_56 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general6], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel56PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_56", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_56", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_56", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_56", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_56", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_56", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general7 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 60} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_60 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general7], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel60PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and fiveg" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and fiveg" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and fiveg" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and fiveg" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and fiveg" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and fiveg" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general8 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_64", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 64} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_64 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general8], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel64PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_64", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_64", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_64", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_64", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_64", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_64", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general9 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 100} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_100 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general9], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel100PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general10 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_104", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 104} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_104 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general10], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel104PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_104", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_104", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_104", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_104", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_104", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_104", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general11 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 108 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_108 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general11], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel108PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general12 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_112", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 112} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_112 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general12], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel112PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_112", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_112", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_112", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_112", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_112", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_112", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general13 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_116", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 116} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_116 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general13], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel116PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_116", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_116", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_116", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_116", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_116", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_116", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general14 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 20, + "channel": 132} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_114 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general14], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel132PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general15 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 20, + "channel": 136} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_136 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general15], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel136PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general16 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 20, + "channel": 140} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general16], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel140PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general17 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_144", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 20, + "channel": 144} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_144 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general17], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class TestCountryCA20Mhz5GChannel144PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_144", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_144", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_144", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_144", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_144", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and nat and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_144", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_2g.py new file mode 100644 index 000000000..9e285be13 --- /dev/null +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_2g.py @@ -0,0 +1,1464 @@ +""" + + Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode + pytest -m "country_code and Bridge" + +""" + +import allure +import pytest + +pytestmark = [pytest.mark.peak_throughput_tests, pytest.mark.nat, pytest.mark.twog, pytest.mark.channel_width_40, + pytest.mark.open] + +setup_params_general_1 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 40, + "channel": 1 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_1 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_1], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel1PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_1", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_2 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 40, + "channel": 2 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_2 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_2], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel2PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_2", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_3 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 40, + "channel": 3 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_3 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_3], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel3PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_3", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_4 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 40, + "channel": 4 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_3 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_4], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel4PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_4", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_5 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 40, + "channel": 4 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_3 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_5], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel5PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_5", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_6 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 40, + "channel": 6 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_6 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_5], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel6PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_6", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_7 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + + 'channel-width': 40, + "channel": 7} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_7 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_7], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel7PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_7", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_8 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 40, + "channel": 8} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_8 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_8], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel8PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_8", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_9 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + + 'channel-width': 40, + "channel": 9} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_9 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_9], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel9PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_9", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_10 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 40, + "channel": 10} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_10 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_10], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel10PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_10", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + +setup_params_general_11 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"}]}, + "rf": { + "2G": { + 'band': '2G', + 'channel-width': 40, + "channel": 11} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_11 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general_11], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test20Mhz2GChannel11PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="56Kbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_2g_11", "appliedRadios": ["2G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"2G": 1}) + assert True diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_5g.py new file mode 100644 index 000000000..95c3a3c84 --- /dev/null +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_40Mhz_5g.py @@ -0,0 +1,1203 @@ +""" + + Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode + pytest -m "country_code and Bridge" + +""" + +import allure +import pytest + + +pytestmark = [pytest.mark.peak_throughput_tests, pytest.mark.nat, pytest.mark.fiveg, pytest.mark.channel_width_40, + pytest.mark.open] + +setup_params_general1 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 40, + "channel": 36 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_36 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general1], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test40Mhz5GChannel36PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general2 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 40, + "channel": 44} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_44 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general2], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test40Mhz5GChannel44PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_dl", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_dl", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_44", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general5 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"}] + }, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 40, + "channel": 52} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_52 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general5], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test40Mhz5GChannel52PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general7 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 40, + "channel": 60} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_60 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general7], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test40Mhz5GChannel60PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general9 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 40, + "channel": 100} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_100 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general9], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test40Mhz5GChannel100PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_60", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general11 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 40, + "channel": 108 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_108 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general11], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test40Mhz5GChannel108PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_108", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general14 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 40, + "channel": 132} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_132 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general14], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test40Mhz5GChannel132PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + @pytest.mark.aaa + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general15 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 40, + "channel": 136} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_136 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general15], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test40Mhz5GChannel136PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_136", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general16 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 40, + "channel": 140} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_140 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general16], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test40Mhz5GChannel140PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_140", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_80Mhz_5g.py new file mode 100644 index 000000000..cde8ca43e --- /dev/null +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/open_encryption/test_peak_throughput_open_80Mhz_5g.py @@ -0,0 +1,542 @@ +""" + + Performance Test: Country code along with Channel and Channel-width Test: Bridge Mode + pytest -m "country_code and Bridge" + +""" + +import allure +import pytest + + +pytestmark = [pytest.mark.peak_throughput_tests, pytest.mark.nat, pytest.mark.fiveg, pytest.mark.channel_width_80, + pytest.mark.open] + +setup_params_general1 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"}]}, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 80, + "channel": 36 + } + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_36 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general1], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test80Mhz5GChannel36PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="56Kbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_36", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general5 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"}] + }, + "rf": { + "5G": { + 'band': '5G', + 'channel-width': 80, + "channel": 52} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_52 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general5], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test80Mhz5GChannel52PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_52", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general9 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 80, + "channel": 100} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_100 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general9], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test80Mhz5GChannel100PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_100", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + +setup_params_general14 = { + "mode": "NAT", + "ssid_modes": { + "open": [{"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ]}, + "rf": { + "5G": { + 'band': '5G', + + 'channel-width': 80, + "channel": 132} + }, + "radius": False +} + + +@allure.feature("PEAK THROUGHPUT TESTS") +@pytest.mark.channel_132 +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general14], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") +class Test80Mhz5GChannel132PeakThroughput(object): + """Country code along with Channel and Channel-width Test Bridge mode + pytest -m "country_code and Bridge" + """ + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6934", name="WIFI-6934") + @pytest.mark.tcp_download + def test_client_open_nat_tcp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") + @pytest.mark.udp_download + def test_client_open_nat_udp_dl(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") + @pytest.mark.tcp_bidirectional + def test_client_open_nat_tcp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") + @pytest.mark.udp_bidirectional + def test_client_open_nat_udp_bidirectional(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") + @pytest.mark.tcp_upload + def test_client_open_nat_tcp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True + + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") + @pytest.mark.udp_upload + def test_client_open_nat_udp_ul(self, get_test_library, get_dut_logs_per_test_case, + get_test_device_logs, num_stations, setup_configuration): + """ Wifi Capacity Test NAT mode + pytest -m "peak_throughput_tests and NAT and open and twog" + """ + profile_data = {"ssid_name": "ssid_open_5g_132", "appliedRadios": ["5G"], "security_key": "something"} + ssid_name = profile_data["ssid_name"] + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_open_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) + assert True \ No newline at end of file diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py index de85f6ba1..8849bd2cf 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_2g.py @@ -49,7 +49,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -66,7 +66,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -83,7 +83,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -100,7 +100,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -117,7 +117,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -134,7 +134,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -181,7 +181,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -198,7 +198,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -215,7 +215,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -232,7 +232,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -249,7 +249,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -266,7 +266,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -313,7 +313,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -330,7 +330,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -347,7 +347,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -364,7 +364,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -381,7 +381,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -398,7 +398,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -445,7 +445,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -462,7 +462,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -479,7 +479,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -496,7 +496,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -513,7 +513,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -530,7 +530,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -577,7 +577,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -594,7 +594,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -611,7 +611,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -628,7 +628,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -645,7 +645,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -662,7 +662,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -709,7 +709,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -726,7 +726,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -743,7 +743,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -760,7 +760,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -777,7 +777,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -794,7 +794,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -842,7 +842,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -859,7 +859,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -876,7 +876,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -893,7 +893,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -910,7 +910,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -927,7 +927,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -974,7 +974,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -991,7 +991,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1008,7 +1008,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1025,7 +1025,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1042,7 +1042,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1059,7 +1059,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1107,7 +1107,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1124,7 +1124,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1141,7 +1141,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1158,7 +1158,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1175,7 +1175,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1192,7 +1192,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1239,7 +1239,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1256,7 +1256,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1273,7 +1273,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1290,7 +1290,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1307,7 +1307,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1324,7 +1324,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1371,7 +1371,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1388,7 +1388,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1405,7 +1405,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1422,7 +1422,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1439,7 +1439,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1456,7 +1456,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py index 99f486ae3..67c4434bd 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_20Mhz_5g.py @@ -49,7 +49,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -66,7 +66,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -83,7 +83,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -100,7 +100,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -117,7 +117,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -134,7 +134,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -181,7 +181,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -198,7 +198,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -215,7 +215,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -232,7 +232,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -249,7 +249,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -266,7 +266,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -312,7 +312,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -329,7 +329,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -346,7 +346,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -363,7 +363,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -380,7 +380,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -397,7 +397,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -444,7 +444,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -461,7 +461,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -478,7 +478,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -495,7 +495,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -512,7 +512,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -529,7 +529,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -576,7 +576,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -593,7 +593,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -610,7 +610,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -627,7 +627,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -644,7 +644,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -661,7 +661,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -708,7 +708,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -725,7 +725,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -742,7 +742,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -759,7 +759,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -776,7 +776,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -793,7 +793,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -841,7 +841,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -858,7 +858,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -875,7 +875,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -892,7 +892,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -909,7 +909,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -926,7 +926,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -974,7 +974,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -991,7 +991,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1008,7 +1008,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1025,7 +1025,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1042,7 +1042,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1059,7 +1059,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1107,7 +1107,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1124,7 +1124,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1141,7 +1141,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1158,7 +1158,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1175,7 +1175,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1192,7 +1192,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1239,7 +1239,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1256,7 +1256,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1273,7 +1273,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1290,7 +1290,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1307,7 +1307,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1324,7 +1324,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1372,7 +1372,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1389,7 +1389,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1406,7 +1406,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1423,7 +1423,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1440,7 +1440,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1457,7 +1457,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1505,7 +1505,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1522,7 +1522,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1539,7 +1539,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1556,7 +1556,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1573,7 +1573,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1590,7 +1590,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1638,7 +1638,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1655,7 +1655,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1672,7 +1672,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1689,7 +1689,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1706,7 +1706,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1723,7 +1723,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1771,7 +1771,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1788,7 +1788,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1805,7 +1805,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1822,7 +1822,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1839,7 +1839,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1856,7 +1856,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1902,7 +1902,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1919,7 +1919,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1936,7 +1936,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1953,7 +1953,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1970,7 +1970,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1987,7 +1987,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -2033,7 +2033,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -2050,7 +2050,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -2067,7 +2067,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -2084,7 +2084,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -2101,7 +2101,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -2118,7 +2118,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -2164,7 +2164,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -2181,7 +2181,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -2198,7 +2198,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -2215,7 +2215,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -2232,7 +2232,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -2249,7 +2249,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py index f77269d16..559ed201b 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_2g.py @@ -49,7 +49,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -66,7 +66,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -83,7 +83,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -100,7 +100,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -117,7 +117,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -134,7 +134,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -181,7 +181,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -198,7 +198,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -215,7 +215,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -232,7 +232,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -249,7 +249,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -266,7 +266,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -313,7 +313,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -330,7 +330,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -347,7 +347,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -364,7 +364,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -381,7 +381,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -398,7 +398,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -445,7 +445,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -462,7 +462,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -479,7 +479,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -496,7 +496,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -513,7 +513,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -530,7 +530,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -577,7 +577,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -594,7 +594,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -611,7 +611,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -628,7 +628,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -645,7 +645,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -662,7 +662,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -709,7 +709,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -726,7 +726,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -743,7 +743,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -760,7 +760,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -777,7 +777,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -794,7 +794,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -842,7 +842,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -859,7 +859,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -876,7 +876,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -893,7 +893,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -910,7 +910,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -927,7 +927,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -974,7 +974,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -991,7 +991,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1008,7 +1008,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1025,7 +1025,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1042,7 +1042,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1059,7 +1059,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1107,7 +1107,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1124,7 +1124,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1141,7 +1141,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1158,7 +1158,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1175,7 +1175,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1192,7 +1192,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1239,7 +1239,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1256,7 +1256,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1273,7 +1273,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1290,7 +1290,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1307,7 +1307,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1324,7 +1324,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_personal_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_personal_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py index 608fccbb0..23d88a82c 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_40Mhz_5g.py @@ -50,7 +50,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -67,7 +67,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -84,7 +84,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -101,7 +101,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -118,7 +118,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -135,7 +135,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -182,7 +182,12 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_dl", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) assert True @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") @@ -194,7 +199,12 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_dl", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) assert True @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") @@ -206,7 +216,12 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) assert True @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") @@ -218,7 +233,12 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, + download_rate="1Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) assert True @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") @@ -230,8 +250,12 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" - + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) assert True @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6945", name="WIFI-6945") @@ -243,8 +267,12 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" - + mode = "NAT-WAN" + get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, + download_rate="0Gbps", batch_size="1", + upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", + move_to_influx=False, dut_data=setup_configuration, ssid_name=ssid_name, + num_stations={"5G": 1}) assert True @@ -286,7 +314,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -303,7 +331,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -320,7 +348,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -337,7 +365,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -354,7 +382,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -371,7 +399,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -418,7 +446,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -435,7 +463,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -452,7 +480,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -469,7 +497,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -486,7 +514,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -503,7 +531,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -551,7 +579,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -568,7 +596,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -585,7 +613,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -602,7 +630,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -619,7 +647,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -636,7 +664,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -684,7 +712,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -701,7 +729,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -718,7 +746,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -735,7 +763,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -752,7 +780,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -769,7 +797,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -818,7 +846,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -835,7 +863,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -852,7 +880,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -869,7 +897,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -886,7 +914,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -903,7 +931,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -949,7 +977,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -966,7 +994,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -983,7 +1011,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1000,7 +1028,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1017,7 +1045,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1034,7 +1062,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1081,7 +1109,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1098,7 +1126,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1115,7 +1143,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1132,7 +1160,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1149,7 +1177,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1166,7 +1194,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py index 9421977cb..154a9322e 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa2_personal_encryption/test_peak_throughput_wpa2_80Mhz_5g.py @@ -197,7 +197,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -214,7 +214,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -231,7 +231,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -248,7 +248,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -265,7 +265,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -282,7 +282,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -330,7 +330,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -347,7 +347,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -364,7 +364,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -381,7 +381,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -398,7 +398,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -415,7 +415,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -463,7 +463,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -480,7 +480,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -497,7 +497,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -514,7 +514,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -531,7 +531,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -548,7 +548,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa2_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa2_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py index 1038f7659..dd27b1319 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_2g.py @@ -49,7 +49,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -66,7 +66,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -83,7 +83,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -100,7 +100,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -117,7 +117,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -134,7 +134,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -181,7 +181,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -198,7 +198,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -215,7 +215,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -232,7 +232,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -249,7 +249,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -266,7 +266,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -313,7 +313,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -330,7 +330,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -347,7 +347,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -364,7 +364,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -381,7 +381,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -398,7 +398,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -445,7 +445,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -462,7 +462,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -479,7 +479,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -496,7 +496,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -513,7 +513,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -530,7 +530,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -577,7 +577,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -594,7 +594,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -611,7 +611,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -628,7 +628,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -645,7 +645,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -662,7 +662,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -709,7 +709,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -726,7 +726,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -743,7 +743,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -760,7 +760,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -777,7 +777,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -794,7 +794,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -842,7 +842,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -859,7 +859,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -876,7 +876,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -893,7 +893,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -910,7 +910,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -927,7 +927,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -974,7 +974,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -991,7 +991,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1008,7 +1008,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1025,7 +1025,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1042,7 +1042,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1059,7 +1059,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1107,7 +1107,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1124,7 +1124,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1141,7 +1141,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1158,7 +1158,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1175,7 +1175,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1192,7 +1192,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1239,7 +1239,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1256,7 +1256,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1273,7 +1273,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1290,7 +1290,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1307,7 +1307,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1324,7 +1324,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1371,7 +1371,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1388,7 +1388,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1405,7 +1405,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1422,7 +1422,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1439,7 +1439,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1456,7 +1456,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py index 888744fcb..2449fe656 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_20Mhz_5g.py @@ -49,7 +49,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -66,7 +66,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -83,7 +83,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -100,7 +100,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -117,7 +117,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -134,7 +134,7 @@ class Test20Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -181,7 +181,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -198,7 +198,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -215,7 +215,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -232,7 +232,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -249,7 +249,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -266,7 +266,7 @@ class Test20Mhz5GChannel40PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_40", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -312,7 +312,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -329,7 +329,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -346,7 +346,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -363,7 +363,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -380,7 +380,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -397,7 +397,7 @@ class Test20Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -444,7 +444,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -461,7 +461,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -478,7 +478,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -495,7 +495,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -512,7 +512,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -529,7 +529,7 @@ class TestCountryCA20Mhz5GChannel48PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_48", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -576,7 +576,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -593,7 +593,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -610,7 +610,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -627,7 +627,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -644,7 +644,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -661,7 +661,7 @@ class TestCountryCA20Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -708,7 +708,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -725,7 +725,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -742,7 +742,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -759,7 +759,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -776,7 +776,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -793,7 +793,7 @@ class TestCountryCA20Mhz5GChannel56PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_56", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -841,7 +841,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -858,7 +858,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -875,7 +875,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -892,7 +892,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -909,7 +909,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -926,7 +926,7 @@ class TestCountryCA20Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -974,7 +974,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -991,7 +991,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1008,7 +1008,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1025,7 +1025,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1042,7 +1042,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1059,7 +1059,7 @@ class TestCountryCA20Mhz5GChannel64PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_64", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1107,7 +1107,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1124,7 +1124,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1141,7 +1141,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1158,7 +1158,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1175,7 +1175,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1192,7 +1192,7 @@ class TestCountryCA20Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1239,7 +1239,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1256,7 +1256,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1273,7 +1273,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1290,7 +1290,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1307,7 +1307,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1324,7 +1324,7 @@ class TestCountryCA20Mhz5GChannel104PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_104", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1372,7 +1372,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1389,7 +1389,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1406,7 +1406,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1423,7 +1423,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1440,7 +1440,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1457,7 +1457,7 @@ class TestCountryCA20Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1505,7 +1505,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1522,7 +1522,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1539,7 +1539,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1556,7 +1556,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1573,7 +1573,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1590,7 +1590,7 @@ class TestCountryCA20Mhz5GChannel112PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_112", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1638,7 +1638,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1655,7 +1655,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1672,7 +1672,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1689,7 +1689,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1706,7 +1706,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1723,7 +1723,7 @@ class TestCountryCA20Mhz5GChannel116PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_116", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1771,7 +1771,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1788,7 +1788,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1805,7 +1805,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1822,7 +1822,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1839,7 +1839,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1856,7 +1856,7 @@ class TestCountryCA20Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1902,7 +1902,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1919,7 +1919,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1936,7 +1936,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1953,7 +1953,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1970,7 +1970,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1987,7 +1987,7 @@ class TestCountryCA20Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -2033,7 +2033,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -2050,7 +2050,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -2067,7 +2067,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -2084,7 +2084,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -2101,7 +2101,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -2118,7 +2118,7 @@ class TestCountryCA20Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -2164,7 +2164,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -2181,7 +2181,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -2198,7 +2198,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -2215,7 +2215,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -2232,7 +2232,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -2249,7 +2249,7 @@ class TestCountryCA20Mhz5GChannel144PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_144", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py index 154cb5b26..52d067a29 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_2g.py @@ -49,7 +49,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -66,7 +66,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -83,7 +83,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -100,7 +100,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -117,7 +117,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -134,7 +134,7 @@ class Test20Mhz2GChannel1PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_1", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -181,7 +181,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -198,7 +198,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -215,7 +215,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -232,7 +232,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -249,7 +249,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -266,7 +266,7 @@ class Test20Mhz2GChannel2PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_2", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -313,7 +313,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -330,7 +330,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -347,7 +347,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -364,7 +364,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -381,7 +381,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -398,7 +398,7 @@ class Test20Mhz2GChannel3PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_3", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -445,7 +445,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -462,7 +462,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -479,7 +479,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -496,7 +496,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -513,7 +513,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -530,7 +530,7 @@ class Test20Mhz2GChannel4PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_4", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -577,7 +577,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -594,7 +594,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -611,7 +611,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -628,7 +628,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -645,7 +645,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -662,7 +662,7 @@ class Test20Mhz2GChannel5PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_5", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -709,7 +709,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -726,7 +726,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -743,7 +743,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -760,7 +760,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -777,7 +777,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -794,7 +794,7 @@ class Test20Mhz2GChannel6PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_6", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -842,7 +842,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -859,7 +859,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -876,7 +876,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -893,7 +893,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -910,7 +910,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -927,7 +927,7 @@ class Test20Mhz2GChannel7PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_7", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -974,7 +974,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -991,7 +991,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1008,7 +1008,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1025,7 +1025,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1042,7 +1042,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1059,7 +1059,7 @@ class Test20Mhz2GChannel8PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_8", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1107,7 +1107,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1124,7 +1124,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1141,7 +1141,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1158,7 +1158,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1175,7 +1175,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1192,7 +1192,7 @@ class Test20Mhz2GChannel9PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_9", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1239,7 +1239,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1256,7 +1256,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1273,7 +1273,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1290,7 +1290,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1307,7 +1307,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1324,7 +1324,7 @@ class Test20Mhz2GChannel10PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_10", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1371,7 +1371,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1388,7 +1388,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1405,7 +1405,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1422,7 +1422,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1439,7 +1439,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1456,7 +1456,7 @@ class Test20Mhz2GChannel11PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_2g_11", "appliedRadios": ["2G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py index 86ae8a371..9f2681711 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_40Mhz_5g.py @@ -50,7 +50,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -67,7 +67,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -84,7 +84,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -101,7 +101,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -118,7 +118,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -135,7 +135,7 @@ class Test40Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -182,7 +182,7 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" assert True @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6944", name="WIFI-6944") @@ -194,7 +194,7 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" assert True @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6943", name="WIFI-6943") @@ -206,7 +206,7 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" assert True @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6946", name="WIFI-6946") @@ -218,7 +218,7 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" assert True @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6942", name="WIFI-6942") @@ -230,7 +230,7 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" assert True @@ -243,7 +243,7 @@ class Test40Mhz5GChannel44PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_44", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" assert True @@ -286,7 +286,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -303,7 +303,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -320,7 +320,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -337,7 +337,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -354,7 +354,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -371,7 +371,7 @@ class Test40Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -418,7 +418,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -435,7 +435,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -452,7 +452,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -469,7 +469,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -486,7 +486,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -503,7 +503,7 @@ class Test40Mhz5GChannel60PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -551,7 +551,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -568,7 +568,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -585,7 +585,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -602,7 +602,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -619,7 +619,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -636,7 +636,7 @@ class Test40Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_60", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -684,7 +684,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -701,7 +701,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -718,7 +718,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -735,7 +735,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -752,7 +752,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -769,7 +769,7 @@ class Test40Mhz5GChannel108PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_108", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -818,7 +818,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -835,7 +835,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -852,7 +852,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -869,7 +869,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -886,7 +886,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -903,7 +903,7 @@ class Test40Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -949,7 +949,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -966,7 +966,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -983,7 +983,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1000,7 +1000,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1017,7 +1017,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1034,7 +1034,7 @@ class Test40Mhz5GChannel136PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_136", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1081,7 +1081,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -1098,7 +1098,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -1115,7 +1115,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1132,7 +1132,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -1149,7 +1149,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -1166,7 +1166,7 @@ class Test40Mhz5GChannel140PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_140", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", diff --git a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py index 6f553f4de..1413168ea 100644 --- a/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py +++ b/tests/e2e/basic/performance_tests/peak_throughput_tests/nat_mode/wpa_encryption/test_peak_throughput_wpa_80Mhz_5g.py @@ -51,7 +51,7 @@ class Test80Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -68,7 +68,7 @@ class Test80Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -85,7 +85,7 @@ class Test80Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -102,7 +102,7 @@ class Test80Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -119,7 +119,7 @@ class Test80Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -136,7 +136,7 @@ class Test80Mhz5GChannel36PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_36", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -183,7 +183,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -200,7 +200,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -217,7 +217,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -234,7 +234,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -251,7 +251,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -268,7 +268,7 @@ class Test80Mhz5GChannel52PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_52", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -316,7 +316,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -333,7 +333,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -350,7 +350,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -367,7 +367,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -384,7 +384,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -401,7 +401,7 @@ class Test80Mhz5GChannel100PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_100", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -449,7 +449,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="TCP-IPv4", duration="60000", @@ -466,7 +466,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="0Gbps", protocol="UDP-IPv4", duration="60000", @@ -483,7 +483,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -500,7 +500,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_bidirectional", mode=mode, download_rate="1Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", @@ -517,7 +517,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_tcp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="TCP-IPv4", duration="60000", @@ -534,7 +534,7 @@ class Test80Mhz5GChannel132PeakThroughput(object): """ profile_data = {"ssid_name": "ssid_wpa_5g_132", "appliedRadios": ["5G"], "security_key": "something"} ssid_name = profile_data["ssid_name"] - mode = "NAT" + mode = "NAT-WAN" get_test_library.wifi_capacity(instance_name="test_client_wpa_nat_udp_ul", mode=mode, download_rate="0Gbps", batch_size="1", upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000",