diff --git a/docker/Dockerfile b/docker/Dockerfile index b7798abd0..86fa1c166 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,7 +8,6 @@ RUN echo "index-url = https://pypi.org/simple" >> ~/.pip/pip.conf RUN echo "extra-index-url = https://tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple/" >> ~/.pip/pip.conf COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt -COPY lanforge /wlan-testing/lanforge COPY tests /wlan-testing/tests COPY libs /wlan-testing/libs WORKDIR /wlan-testing diff --git a/libs/tip_2x/ap_lib.py b/libs/tip_2x/ap_lib.py index dd9bb002c..5a622a5aa 100644 --- a/libs/tip_2x/ap_lib.py +++ b/libs/tip_2x/ap_lib.py @@ -343,7 +343,7 @@ class APLIBS: if __name__ == '__main__': - basic_1 = { + basic_05 = { "target": "tip_2x", "controller": { "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", @@ -351,17 +351,33 @@ if __name__ == '__main__': "password": "OpenWifi%123" }, "device_under_tests": [{ - "model": "edgecore_eap101", + "model": "cig_wf188n", "supported_bands": ["2G", "5G"], "supported_modes": ["BRIDGE", "NAT", "VLAN"], + "wan_port": "1.1.eth2", + "ssid": { + "mode": "BRIDGE", + "2g-ssid": "OpenWifi", + "5g-ssid": "OpenWifi", + "6g-ssid": "OpenWifi", + "2g-password": "OpenWifi", + "5g-password": "OpenWifi", + "6g-password": "OpenWifi", + "2g-encryption": "WPA2", + "5g-encryption": "WPA2", + "6g-encryption": "WPA3", + "2g-bssid": "68:7d:b4:5f:5c:31", + "5g-bssid": "68:7d:b4:5f:5c:3c", + "6g-bssid": "68:7d:b4:5f:5c:38" + }, "mode": "wifi6", - "identifier": "903cb36c44f0", + "identifier": "0000c1018812", "method": "serial", - "host_ip": "192.168.200.101", + "host_ip": "10.28.3.103", "host_username": "lanforge", - "host_password": "Endurance@123", + "host_password": "pumpkin77", "host_ssh_port": 22, - "serial_tty": "/dev/ttyUSB0", + "serial_tty": "/dev/ttyAP1", "firmware_version": "next-latest" }], "traffic_generator": { @@ -378,22 +394,46 @@ if __name__ == '__main__': "lease-first": 10, "lease-count": 10000, "lease-time": "6h" - }} + } + } }, "lan_ports": { - + "1.1.eth1": {"addressing": "dynamic"} }, "uplink_nat_ports": { - "1.1.eth1": {"addressing": "static", "subnet": "10.28.2.16/24", "gateway_ip": "10.28.2.1"} + "1.1.eth1": {"addressing": "static", + "subnet": "10.28.2.16/24", + "gateway_ip": "10.28.2.1", + "ip_mask": "255.255.255.0" + } } } } } logging.basicConfig(format='%(asctime)s - %(message)s', level=logging.NOTSET) - obj = APLIBS(dut_data=basic_1["device_under_tests"]) + obj = APLIBS(dut_data=basic_05["device_under_tests"]) # obj.exit_from_uboot() - obj.setup_serial_environment() - # obj.run_generic_command("uci show ucentral") + # obj.setup_serial_environment() + d = obj.run_generic_command("iw dev | grep channel") + d = d.replace("\n", "").replace("\t", "").replace(" ", "").split("channel") + d.pop(0) + data = dict.fromkeys(["2G", "5G", "6G"]) + for i in d: + channel = int(i.split("(")[0]) + bandwidth = int(i.split(":")[1].split("MHz")[0]) + center_freq = int(i.split(":")[-1].replace("MHz", "")) + if 2401 < center_freq < 2495: + data["2G"] = [channel, bandwidth, center_freq] + elif center_freq in [5955, 5975, 5995] and channel <= 9: + data["6G"] = [channel, bandwidth, center_freq] + elif 5030 < center_freq < 5990: + data["5G"] = [channel, bandwidth, center_freq] + elif 5995 < center_freq < 7125: + data["6G"] = [channel, bandwidth, center_freq] + else: + pass + + print(data) # obj.verify_certificates() # obj.get_dut_logs() # l = obj.get_latest_config_recieved() diff --git a/libs/tip_2x/tip_2x.py b/libs/tip_2x/tip_2x.py index 5f80151ec..04381ca79 100644 --- a/libs/tip_2x/tip_2x.py +++ b/libs/tip_2x/tip_2x.py @@ -365,12 +365,59 @@ class tip_2x: """ return r_val + def get_dut_channel_data(self, idx): + try: + d = self.dut_library_object.run_generic_command(cmd="iw dev | grep channel", idx=idx) + d = d.replace("\n", "").replace("\t", "").replace(" ", "").split("channel") + d.pop(0) + d = list(set(d)) + data = dict.fromkeys(["2G", "5G", "6G"]) + for i in d: + channel = int(i.split("(")[0]) + bandwidth = int(i.split(":")[1].split("MHz")[0]) + center_freq = int(i.split(":")[-1].replace("MHz", "")) + if 2401 < center_freq < 2495: + data["2G"] = [channel, bandwidth, center_freq] + elif center_freq in [5955, 5975, 5995] and channel <= 9: + data["6G"] = [channel, bandwidth, center_freq] + elif 5030 < center_freq < 5990: + data["5G"] = [channel, bandwidth, center_freq] + elif 5995 < center_freq < 7125: + data["6G"] = [channel, bandwidth, center_freq] + else: + pass + except Exception as e: + logging.error("Exception in getting DUT Channel and bw data, Retrying again!") + try: + d = self.dut_library_object.run_generic_command(cmd="iw dev | grep channel", idx=idx) + d = d.replace("\n", "").replace("\t", "").replace(" ", "").split("channel") + d.pop(0) + data = dict.fromkeys(["2G", "5G", "6G"]) + for i in d: + channel = int(i.split("(")[0]) + bandwidth = int(i.split(":")[1].split("MHz")[0]) + center_freq = int(i.split(":")[-1].replace("MHz", "")) + if 2401 < center_freq < 2495: + data["2G"] = [channel, bandwidth, center_freq] + elif center_freq in [5955, 5975, 5995] and channel <= 9: + data["6G"] = [channel, bandwidth, center_freq] + elif 5030 < center_freq < 5990: + data["5G"] = [channel, bandwidth, center_freq] + elif 5995 < center_freq < 7125: + data["6G"] = [channel, bandwidth, center_freq] + else: + pass + except Exception as e: + logging.error("Exception in getting DUT Channel and bw data.") + return data + def get_applied_ssid_info(self, profile_object=None, idx=0): if profile_object is None: logging.error("Profile object is None, Unable to fetch ssid info from AP") return None ssid_info_sdk = profile_object.get_ssid_info() ap_wifi_data = self.dut_library_object.get_iwinfo(idx=idx) + channel_info = self.get_dut_channel_data(idx=idx) o = ap_wifi_data.split() iwinfo_bssid_data = {} for i in range(len(o)): @@ -384,6 +431,7 @@ class tip_2x: for q in ssid_info_sdk: if iwinfo_bssid_data[p][0] == q[0] and iwinfo_bssid_data[p][2] == q[3]: q.append(iwinfo_bssid_data[p][1]) + ssid_info_sdk.append(channel_info) return ssid_info_sdk def get_dut_version(self): @@ -736,7 +784,7 @@ class tip_2x: if __name__ == '__main__': - basic_1 = { + basic_05 = { "target": "tip_2x", "controller": { "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", @@ -744,26 +792,70 @@ if __name__ == '__main__': "password": "OpenWifi%123" }, "device_under_tests": [{ - "model": "edgecore_eap101", + "model": "cig_wf188n", "supported_bands": ["2G", "5G"], "supported_modes": ["BRIDGE", "NAT", "VLAN"], + "wan_port": "1.1.eth2", + "ssid": { + "mode": "BRIDGE", + "2g-ssid": "OpenWifi", + "5g-ssid": "OpenWifi", + "6g-ssid": "OpenWifi", + "2g-password": "OpenWifi", + "5g-password": "OpenWifi", + "6g-password": "OpenWifi", + "2g-encryption": "WPA2", + "5g-encryption": "WPA2", + "6g-encryption": "WPA3", + "2g-bssid": "68:7d:b4:5f:5c:31", + "5g-bssid": "68:7d:b4:5f:5c:3c", + "6g-bssid": "68:7d:b4:5f:5c:38" + }, "mode": "wifi6", - "identifier": "903cb36c44f0", + "identifier": "0000c1018812", "method": "serial", - "host_ip": "192.168.200.101", + "host_ip": "10.28.3.103", "host_username": "lanforge", - "host_password": "Endurance@123", + "host_password": "pumpkin77", "host_ssh_port": 22, - "serial_tty": "/dev/ttyUSB0", + "serial_tty": "/dev/ttyAP1", "firmware_version": "next-latest" }], - "traffic_generator": {} + "traffic_generator": { + "name": "lanforge", + "testbed": "basic", + "scenario": "dhcp-bridge", + "details": { + "manager_ip": "10.28.3.28", + "http_port": 8080, + "ssh_port": 22, + "setup": {"method": "build", "DB": "Test_Scenario_Automation"}, + "wan_ports": { + "1.1.eth2": {"addressing": "dhcp-server", "subnet": "172.16.0.1/16", "dhcp": { + "lease-first": 10, + "lease-count": 10000, + "lease-time": "6h" + } + } + }, + "lan_ports": { + "1.1.eth1": {"addressing": "dynamic"} + }, + "uplink_nat_ports": { + "1.1.eth1": {"addressing": "static", + "subnet": "10.28.2.16/24", + "gateway_ip": "10.28.2.1", + "ip_mask": "255.255.255.0" + } + } + } + } } - var = tip_2x(controller_data=basic_1["controller"], - device_under_tests_info=basic_1["device_under_tests"], - target=basic_1["target"]) + var = tip_2x(controller_data=basic_05["controller"], + device_under_tests_info=basic_05["device_under_tests"], + target=basic_05["target"]) - var.setup_objects() + # var.setup_objects() setup_params_general = { "mode": "BRIDGE", "ssid_modes": { @@ -780,6 +872,8 @@ if __name__ == '__main__': "radius": False } target = [['2G', 'wpa2_personal'], ['5G', 'wpa2_personal']] - # var.setup_basic_configuration(configuration=setup_params_general, requested_combination=target) - var.setup_firmware() - var.teardown_objects() + + d = var.setup_basic_configuration(configuration=setup_params_general, requested_combination=target) + print(d) + # var.setup_firmware() + # var.teardown_objects() diff --git a/tests/e2e/basic/conftest.py b/tests/e2e/basic/conftest.py index 3438c4147..3f66aeaf9 100644 --- a/tests/e2e/basic/conftest.py +++ b/tests/e2e/basic/conftest.py @@ -13,6 +13,6 @@ def setup_configuration(request, get_markers, get_target_object): print(requested_combination) # Method to setup the basic configuration - status = get_target_object.setup_basic_configuration(configuration=configuration, + data = get_target_object.setup_basic_configuration(configuration=configuration, requested_combination=requested_combination) - yield status + yield data diff --git a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/client_connectivity/test_general_security_modes.py b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/client_connectivity/test_general_security_modes.py index af4aed1ac..e2410812b 100644 --- a/tests/e2e/basic/validation_of_operating_modes/bridge_mode/client_connectivity/test_general_security_modes.py +++ b/tests/e2e/basic/validation_of_operating_modes/bridge_mode/client_connectivity/test_general_security_modes.py @@ -1,14 +1,14 @@ """ - Client Connectivity and tcp-udp Traffic Test: Bridge Mode - pytest -m "client_connectivity and bridge and general" + Client Connectivity and tcp-udp Traffic Test: BRIDGE Mode + pytest -m "client_connectivity and nat and general" """ import allure import pytest -pytestmark = [pytest.mark.ow_client_connectivity_lf, pytest.mark.bridge, pytest.mark.general] +pytestmark = [pytest.mark.client_connectivity_tests, pytest.mark.nat, pytest.mark.general] setup_params_general = { "mode": "BRIDGE", @@ -24,29 +24,30 @@ setup_params_general = { } -@allure.suite(suite_name="OpenWifi Sanity LF") -@allure.sub_suite(sub_suite_name="Bridge Mode Client Connectivity : Suite-A") -@pytest.mark.suiteA @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") -# @pytest.mark.parametrize( -# 'setup_configuration', -# [setup_params_general], -# indirect=True, -# scope="class" -# ) -# @pytest.mark.usefixtures("setup_configuration") +@allure.parent_suite("Client Connectivity Tests") +@allure.suite(suite_name="BRIDGE Mode") +@allure.sub_suite(sub_suite_name="General security mode Client Connectivity") +@pytest.mark.parametrize( + 'setup_configuration', + [setup_params_general], + indirect=True, + scope="class" +) +@pytest.mark.usefixtures("setup_configuration") class TestBridgeModeConnectivitySuiteA(object): """ Client Connectivity SuiteA - pytest -m "client_connectivity and bridge and general and suiteA" + pytest -m "client_connectivity and nat and general " """ - @pytest.mark.shivamt @pytest.mark.open @pytest.mark.twog + @allure.title("Client Connectivity Test with open encryption 2.4 GHz Band") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2809", name="JIRA LINK") - def test_open_ssid_2g(self, get_lanforge_library): - """Client Connectivity open ssid 2.4G - pytest -m "client_connectivity and bridge and general and open and twog" + def test_bridge_open_2g_client_connectivity(self, get_test_library, setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with open encryption 2.4 GHz Band + pytest -m "client_connectivity and bridge and general and open and twog" """ profile_data = setup_params_general["ssid_modes"]["open"][0] ssid_name = profile_data["ssid_name"] @@ -55,162 +56,128 @@ class TestBridgeModeConnectivitySuiteA(object): mode = "BRIDGE" band = "twog" vlan = 1 - passes, result = get_lanforge_library.client_connectivity_test(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - num_sta=1, vlan_id=vlan, ssid_channel=1) + + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) + + assert passes == "PASS", result + + @pytest.mark.open + @pytest.mark.fiveg + @allure.title("Client Connectivity Test with open encryption 5 GHz Band") + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2801", name="JIRA LINK") + def test_bridge_open_5g_client_connectivity(self, get_test_library, setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with open encryption 5 GHz Band + pytest -m "client_connectivity and bridge and general and open and fiveg" + """ + profile_data = setup_params_general["ssid_modes"]["open"][1] + ssid_name = profile_data["ssid_name"] + security_key = "[BLANK]" + security = "open" + mode = "BRIDGE" + band = "twog" + vlan = 1 + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) assert passes == "PASS", result - # @pytest.mark.open - # @pytest.mark.fiveg - # @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2801", name="JIRA LINK") - # def test_open_ssid_5g(self, get_ap_logs, lf_test, test_cases, station_names_fiveg, get_lf_logs, - # update_report, get_ap_channel): - # """Client Connectivity open ssid 5G - # pytest -m "client_connectivity and bridge and general and open and fiveg" - # """ - # profile_data = setup_params_general["ssid_modes"]["open"][1] - # ssid_name = profile_data["ssid_name"] - # security_key = "[BLANK]" - # security = "open" - # mode = "BRIDGE" - # band = "fiveg" - # channel = get_ap_channel[0]["5G"] - # print("ssid channel:- ", channel) - # vlan = 1 - # passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - # passkey=security_key, mode=mode, band=band, - # station_name=station_names_fiveg, vlan_id=vlan, - # ssid_channel=channel) # - # assert passes == "PASS", result + + @pytest.mark.wpa + @pytest.mark.twog + @allure.story('wpa 2.4 GHZ Band') + @allure.title("Client Connectivity Test with wpa encryption 2.4 GHz Band") + @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2801", name="JIRA LINK") + def test_bridge_wpa_2g_client_connectivity(self, get_test_library, setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa encryption 2.4 GHz Band + pytest -m "client_connectivity and bridge and general and wpa and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "twog" + vlan = 1 + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) + + assert passes == "PASS", result + + @pytest.mark.wpa + @pytest.mark.fiveg + @allure.story('wpa 5 GHZ Band') + @allure.title("Client Connectivity Test with wpa encryption 5 GHz Band") + def test_bridge_wpa_5g_client_connectivity(self, get_test_library, setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa encryption 5 GHz Band + pytest -m "client_connectivity and bridge and general and wpa and fiveg" + """ + profile_data = setup_params_general["ssid_modes"]["wpa"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) + + assert passes == "PASS", result + + @pytest.mark.wpa2_personal + @pytest.mark.twog + @allure.story('wpa2_personal 2.4 GHZ Band') + @allure.title("Client Connectivity Test with wpa2_personal encryption 2.4 GHz Band") + def test_bridge_wpa2_personal_2g_client_connectivity(self, get_test_library, setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa2_personal encryption 2.4 GHz Band + pytest -m "client_connectivity and bridge and general and wpa2_personal and twog" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "twog" + vlan = 1 + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) + + assert passes == "PASS", result + # - # @pytest.mark.open - # @pytest.mark.sixg - # @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2801", name="JIRA LINK") - # def test_open_ssid_6g(self, get_ap_logs, lf_test, test_cases, station_names_fiveg, get_lf_logs, - # update_report, get_ap_channel): - # """Client Connectivity open ssid 5G - # pytest -m "client_connectivity and bridge and general and open and fiveg" - # """ - # profile_data = setup_params_general["ssid_modes"]["open"][1] - # ssid_name = profile_data["ssid_name"] - # security_key = "[BLANK]" - # security = "open" - # mode = "BRIDGE" - # band = "sixg" - # channel = get_ap_channel[0]["5G"] - # print("ssid channel:- ", channel) - # vlan = 1 - # passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - # passkey=security_key, mode=mode, band=band, - # station_name=station_names_fiveg, vlan_id=vlan, - # ssid_channel=channel) - # - # assert passes == "PASS", result - # - # @pytest.mark.sanity_light - # @pytest.mark.wpa - # @pytest.mark.twog - # @allure.story('wpa 2.4 GHZ Band') - # @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2801", name="JIRA LINK") - # def test_wpa_ssid_2g(self, get_ap_logs, update_report, get_lf_logs, - # lf_test, test_cases, station_names_twog, get_ap_channel): - # """Client Connectivity wpa ssid 2.4G - # pytest -m "client_connectivity and bridge and general and wpa and twog" - # """ - # profile_data = setup_params_general["ssid_modes"]["wpa"][0] - # ssid_name = profile_data["ssid_name"] - # security_key = profile_data["security_key"] - # security = "wpa" - # mode = "BRIDGE" - # band = "twog" - # channel = get_ap_channel[0]["2G"] - # print("ssid channel:- ", channel) - # vlan = 1 - # passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - # passkey=security_key, mode=mode, band=band, - # station_name=station_names_twog, vlan_id=vlan, - # ssid_channel=channel) - # - # assert passes == "PASS", result - # - # @pytest.mark.sanity_light - # @pytest.mark.wpa - # @pytest.mark.fiveg - # @allure.story('wpa 5 GHZ Band') - # def test_wpa_ssid_5g(self, get_ap_logs, lf_test, update_report, get_lf_logs, - # test_cases, station_names_fiveg, get_ap_channel): - # """Client Connectivity wpa ssid 5G - # pytest -m "client_connectivity and bridge and general and wpa and fiveg" - # """ - # profile_data = setup_params_general["ssid_modes"]["wpa"][1] - # ssid_name = profile_data["ssid_name"] - # security_key = profile_data["security_key"] - # security = "wpa" - # mode = "BRIDGE" - # band = "fiveg" - # channel = get_ap_channel[0]["5G"] - # print("ssid channel:- ", channel) - # vlan = 1 - # passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - # passkey=security_key, mode=mode, band=band, - # station_name=station_names_fiveg, vlan_id=vlan, - # ssid_channel=channel) - # - # assert passes == "PASS", result - # - # @pytest.mark.sanity_light - # @pytest.mark.wpa2_personal - # @pytest.mark.twog - # @allure.story('wpa2_personal 2.4 GHZ Band') - # def test_wpa2_personal_ssid_2g(self, get_ap_logs, get_lf_logs, - # lf_test, update_report, test_cases, - # station_names_twog, get_ap_channel): - # """Client Connectivity wpa2_personal ssid 2.4G - # pytest -m "client_connectivity and bridge and general and wpa2_personal and twog" - # """ - # profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][0] - # ssid_name = profile_data["ssid_name"] - # security_key = profile_data["security_key"] - # security = "wpa2" - # mode = "BRIDGE" - # band = "twog" - # channel = get_ap_channel[0]["2G"] - # print("ssid channel:- ", channel) - # vlan = 1 - # passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - # passkey=security_key, mode=mode, band=band, - # station_name=station_names_twog, vlan_id=vlan, - # ssid_channel=channel) - # - # assert passes == "PASS", result - # - # @pytest.mark.sanity_light - # @pytest.mark.wpa2_personal - # @pytest.mark.fiveg - # @allure.story('wpa2_personal 5 GHZ Band') - # def test_wpa2_personal_ssid_5g(self, get_ap_logs, update_report, test_cases, - # station_names_fiveg, get_lf_logs, - # lf_test, get_ap_channel): - # """Client Connectivity wpa2_personal ssid 5G - # pytest -m "client_connectivity and bridge and general and wpa2_personal and fiveg" - # """ - # profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] - # ssid_name = profile_data["ssid_name"] - # security_key = profile_data["security_key"] - # security = "wpa2" - # mode = "BRIDGE" - # band = "fiveg" - # channel = get_ap_channel[0]["5G"] - # print("ssid channel:- ", channel) - # vlan = 1 - # passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - # passkey=security_key, mode=mode, band=band, - # station_name=station_names_fiveg, vlan_id=vlan, - # ssid_channel=channel) - # - # assert passes == "PASS", result + + @pytest.mark.wpa2_personal + @pytest.mark.fiveg + @allure.story('wpa2_personal 5 GHZ Band') + @allure.title("Client Connectivity Test with wpa2_personal encryption 5 GHz Band") + def test_bridge_wpa2_personal_5g_client_connectivity(self, get_test_library, setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa2_personal encryption 5 GHz Band + pytest -m "client_connectivity and bridge and general and wpa2_personal and fiveg" + """ + profile_data = setup_params_general["ssid_modes"]["wpa2_personal"][1] + ssid_name = profile_data["ssid_name"] + security_key = profile_data["security_key"] + security = "wpa2" + mode = "BRIDGE" + band = "fiveg" + vlan = 1 + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) + + assert passes == "PASS", result setup_params_general_two = { @@ -232,17 +199,17 @@ setup_params_general_two = { } -@allure.suite(suite_name="OpenWifi Sanity LF") -@allure.sub_suite(sub_suite_name="Bridge Mode Client Connectivity : Suite-B") -@pytest.mark.suiteB @allure.feature("BRIDGE MODE CLIENT CONNECTIVITY") +@allure.parent_suite("Client Connectivity Tests") +@allure.suite(suite_name="BRIDGE Mode") +@allure.sub_suite(sub_suite_name="General security mode Client Connectivity") @pytest.mark.parametrize( - 'setup_profiles', + 'setup_configuration', [setup_params_general_two], indirect=True, scope="class" ) -@pytest.mark.usefixtures("setup_profiles") +@pytest.mark.usefixtures("setup_configuration") class TestBridgeModeConnectivitySuiteTwo(object): """ Client Connectivity SuiteA pytest -m "client_connectivity and bridge and suiteB" @@ -250,12 +217,12 @@ class TestBridgeModeConnectivitySuiteTwo(object): @pytest.mark.wpa3_personal @pytest.mark.twog - @allure.story('open 2.4 GHZ Band') - def test_wpa3_personal_ssid_2g_bridge(self, get_ap_logs, station_names_twog, lf_test, - update_report, - test_cases, get_ap_channel): - """Client Connectivity open ssid 2.4G - pytest -m "client_connectivity and bridge and general and wpa3_personal and twog" + @allure.story('wpa3_personal 2.4 GHZ Band') + @allure.title("BRIDGE Mode Client Connectivity Test with wpa3_personal encryption 2.4 GHz Band") + def test_bridge_wpa3_personal_2g_client_connectivity(self, get_test_library, setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa3_personal encryption 2.4 GHz Band + pytest -m "client_connectivity and bridge and general and wpa3_personal and twog" """ profile_data = setup_params_general_two["ssid_modes"]["wpa3_personal"][0] ssid_name = profile_data["ssid_name"] @@ -263,24 +230,22 @@ class TestBridgeModeConnectivitySuiteTwo(object): security = "wpa3" mode = "BRIDGE" band = "twog" - channel = get_ap_channel[0]["2G"] - print("ssid channel:- ", channel) vlan = 1 - passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan, - ssid_channel=channel) + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) assert passes == "PASS", result @pytest.mark.wpa3_personal @pytest.mark.fiveg - @allure.story('open 5 GHZ Band') - def test_wpa3_personal_ssid_5g_bridge(self, get_ap_logs, station_names_fiveg, - lf_test, test_cases, get_lf_logs, - update_report, get_ap_channel): - """Client Connectivity open ssid 2.4G - pytest -m "client_connectivity and bridge and general and wpa3_personal and fiveg" + @allure.story('wpa3_personal 5 GHZ Band') + @allure.title("BRIDGE Mode Client Connectivity Test with wpa3_personal encryption 5 GHz Band") + def test_bridge_wpa3_personal_5g_client_connectivity(self, get_test_library, setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa3_personal encryption 5 GHz Band + pytest -m "client_connectivity and bridge and general and wpa3_personal and fiveg" """ profile_data = setup_params_general_two["ssid_modes"]["wpa3_personal"][1] ssid_name = profile_data["ssid_name"] @@ -288,50 +253,45 @@ class TestBridgeModeConnectivitySuiteTwo(object): security = "wpa3" mode = "BRIDGE" band = "fiveg" - channel = get_ap_channel[0]["5G"] - print("ssid channel:- ", channel) vlan = 1 - passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan, - ssid_channel=channel) + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) - assert result + assert passes == "PASS", result @pytest.mark.wpa3_personal @pytest.mark.sixg - @allure.story('WPA3 6 GHZ Band') - def test_wpa3_personal_ssid_6g_bridge(self, get_ap_logs, station_names_fiveg, - lf_test, test_cases, get_lf_logs, - update_report, get_ap_channel): - """Client Connectivity open ssid 2.4G - pytest -m "client_connectivity and bridge and general and wpa3_personal and fiveg" + @allure.story('wpa3_personal 6 GHZ Band') + @allure.title("BRIDGE Mode Client Connectivity Test with wpa3_personal encryption 5 GHz Band") + def test_bridge_wpa3_personal_6g_client_connectivity(self, get_test_library, setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa3_personal encryption 6 GHz Band + pytest -m "client_connectivity and bridge and general and wpa3_personal and sixg" """ profile_data = setup_params_general_two["ssid_modes"]["wpa3_personal"][2] ssid_name = profile_data["ssid_name"] security_key = profile_data["security_key"] security = "wpa3" - mode = "BRIDGE" band = "sixg" - channel = get_ap_channel[0]["6G"] - print("ssid channel:- ", channel) vlan = 1 - passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan, - ssid_channel=channel) + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) - assert result + assert passes == "PASS", result @pytest.mark.wpa3_personal_mixed @pytest.mark.twog - @allure.story('open 2.4 GHZ Band') - def test_wpa3_personal_mixed_ssid_2g(self, get_ap_logs, station_names_twog, - lf_test, get_lf_logs, - update_report, - test_cases, get_ap_channel): - """Client Connectivity open ssid 2.4G - pytest -m "client_connectivity and bridge and general and wpa3_personal_mixed and twog" + @allure.story('wpa3_personal_mixed 2.4 GHZ Band') + @allure.title("BRIDGE Mode Client Connectivity Test with wpa3_personal_mixed encryption 2.4 GHz Band") + def test_bridge_wpa3_personal_mixed_2g_client_connectivity(self, get_test_library, + setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa3_personal_mixed encryption 2.4 GHz Band + pytest -m "client_connectivity and bridge and general and wpa3_personal_mixed and twog" """ profile_data = setup_params_general_two["ssid_modes"]["wpa3_personal_mixed"][0] ssid_name = profile_data["ssid_name"] @@ -339,24 +299,23 @@ class TestBridgeModeConnectivitySuiteTwo(object): security = "wpa3" mode = "BRIDGE" band = "twog" - channel = get_ap_channel[0]["2G"] - print("ssid channel:- ", channel) vlan = 1 - passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan, - ssid_channel=channel) + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) assert passes == "PASS", result @pytest.mark.wpa3_personal_mixed @pytest.mark.fiveg - @allure.story('open 5 GHZ Band') - def test_wpa3_personal_mixed_ssid_5g(self, get_ap_logs, station_names_fiveg, lf_test, - test_cases, get_lf_logs, - update_report, get_ap_channel): - """Client Connectivity open ssid 2.4G - pytest -m "client_connectivity and bridge and general and wpa3_personal_mixed and fiveg" + @allure.story('wpa3_personal_mixed 5 GHZ Band') + @allure.title("BRIDGE Mode Client Connectivity Test with wpa3_personal_mixed encryption 5 GHz Band") + def test_bridge_wpa3_personal_mixed_5g_client_connectivity(self, get_test_library, + setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa3_personal_mixed encryption 5 GHz Band + pytest -m "client_connectivity and bridge and general and wpa3_personal_mixed and fiveg" """ profile_data = setup_params_general_two["ssid_modes"]["wpa3_personal_mixed"][1] ssid_name = profile_data["ssid_name"] @@ -364,25 +323,23 @@ class TestBridgeModeConnectivitySuiteTwo(object): security = "wpa3" mode = "BRIDGE" band = "fiveg" - channel = get_ap_channel[0]["5G"] - print("ssid channel:- ", channel) vlan = 1 - passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan, - ssid_channel=channel) + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) assert passes == "PASS", result @pytest.mark.wpa_wpa2_personal_mixed @pytest.mark.twog @allure.story('wpa wpa2 personal mixed 2.4 GHZ Band') - def test_wpa_wpa2_personal_ssid_2g(self, get_ap_logs, station_names_twog, - lf_test, get_lf_logs, - update_report, - test_cases, get_ap_channel): - """Client Connectivity open ssid 2.4G - pytest -m "client_connectivity and bridge and general and wpa_wpa2_personal_mixed and twog" + @allure.title("BRIDGE Mode Client Connectivity Test with wpa3_personal_mixed encryption 5 GHz Band") + def test_bridge_wpa_wpa2_personal_mixed_2g_client_connectivity(self, get_test_library, + setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa_wpa2_personal_mixed encryption 2.4 GHz Band + pytest -m "client_connectivity and bridge and general and wpa_wpa2_personal_mixed and twog" """ profile_data = setup_params_general_two["ssid_modes"]["wpa_wpa2_personal_mixed"][0] ssid_name = profile_data["ssid_name"] @@ -391,24 +348,24 @@ class TestBridgeModeConnectivitySuiteTwo(object): extra_secu = ["wpa2"] mode = "BRIDGE" band = "twog" - channel = get_ap_channel[0]["2G"] - print("ssid channel:- ", channel) vlan = 1 - passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, extra_securities=extra_secu, - passkey=security_key, mode=mode, band=band, - station_name=station_names_twog, vlan_id=vlan, - ssid_channel=channel) + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, + extra_securities=extra_secu, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) assert passes == "PASS", result @pytest.mark.wpa_wpa2_personal_mixed @pytest.mark.fiveg @allure.story('wpa wpa2 personal mixed 5 GHZ Band') - def test_wpa_wpa2_personal_ssid_5g(self, get_ap_logs, station_names_fiveg, get_lf_logs, - lf_test, test_cases, - update_report, get_ap_channel): - """Client Connectivity open ssid 2.4G - pytest -m "client_connectivity and bridge and general and wpa_wpa2_personal_mixed and fiveg" + @allure.title("BRIDGE Mode Client Connectivity Test with wpa3_personal_mixed encryption 5 GHz Band") + def test_bridge_wpa_wpa2_personal_mixed_5g_client_connectivity(self, get_test_library, + setup_configuration): + """ + BRIDGE Mode Client Connectivity Test with wpa_wpa2_personal_mixed encryption 5 GHz Band + pytest -m "client_connectivity and bridge and general and wpa_wpa2_personal_mixed and fiveg" """ profile_data = setup_params_general_two["ssid_modes"]["wpa_wpa2_personal_mixed"][1] ssid_name = profile_data["ssid_name"] @@ -417,91 +374,12 @@ class TestBridgeModeConnectivitySuiteTwo(object): extra_secu = ["wpa2"] mode = "BRIDGE" band = "fiveg" - channel = get_ap_channel[0]["5G"] - print("ssid channel:- ", channel) vlan = 1 - passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, extra_securities=extra_secu, - passkey=security_key, mode=mode, band=band, - station_name=station_names_fiveg, vlan_id=vlan, - ssid_channel=channel) + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, + extra_securities=extra_secu, + passkey=security_key, mode=mode, band=band, + num_sta=1, vlan_id=vlan, ssid_channel=1) + assert passes == "PASS", result -# WEP Security Feature not available -# setup_params_wep = { -# "mode": "BRIDGE", -# "ssid_modes": { -# "wep": [ {"ssid_name": "ssid_wep_2g", "appliedRadios": ["2G"], "default_key_id": 1, -# "wep_key": 1234567890}, -# {"ssid_name": "ssid_wep_5g", "appliedRadios": ["5G"], -# "default_key_id": 1, "wep_key": 1234567890}] -# }, -# "rf": {}, -# "radius": True -# } -# -# -# @pytest.mark.enterprise -# @pytest.mark.parametrize( -# 'setup_profiles', -# [setup_params_wep], -# indirect=True, -# scope="class" -# ) -# @pytest.mark.usefixtures("setup_profiles") -# class TestBridgeModeWEP(object): -# -# @pytest.mark.wep -# @pytest.mark.twog -# def test_wep_2g(self, get_vif_state,station_names_twog, setup_profiles, lf_test, update_report, -# test_cases, radius_info): -# profile_data = setup_params_wep["ssid_modes"]["wep"][0] -# ssid_name = profile_data["ssid_name"] -# wep_key = "[BLANK]" -# security = "open" -# extra_secu = [] -# mode = "BRIDGE" -# band = "twog" -# vlan = 1 -# passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, -# passkey=wep_key, mode=mode, band=band, -# station_name=station_names_twog, vlan_id=vlan) -# -# if passes: -# update_report.update_testrail(case_id=test_cases["2g_wpa_bridge"], -# status_id=1, -# msg='2G WPA Client Connectivity Passed successfully - bridge mode' + str( -# passes)) -# else: -# update_report.update_testrail(case_id=test_cases["2g_wpa_bridge"], -# status_id=5, -# msg='2G WPA Client Connectivity Failed - bridge mode' + str( -# passes)) -# assert passes -# -# @pytest.mark.wep -# @pytest.mark.fiveg -# def test_wep_5g(self, get_vif_state,station_names_fiveg, setup_profiles, lf_test, update_report, -# test_cases, radius_info): -# profile_data = setup_params_wep["ssid_modes"]["wep"][1] -# ssid_name = profile_data["ssid_name"] -# wep_key = "[BLANK]" -# security = "open" -# extra_secu = [] -# mode = "BRIDGE" -# band = "twog" -# vlan = 1 -# passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security, -# passkey=wep_key, mode=mode, band=band, -# station_name=station_names_fiveg, vlan_id=vlan) -# -# if passes: -# update_report.update_testrail(case_id=test_cases["2g_wpa_bridge"], -# status_id=1, -# msg='2G WPA Client Connectivity Passed successfully - bridge mode' + str( -# passes)) -# else: -# update_report.update_testrail(case_id=test_cases["2g_wpa_bridge"], -# status_id=5, -# msg='2G WPA Client Connectivity Failed - bridge mode' + str( -# passes)) -# assert passes diff --git a/tests/e2e/basic/validation_of_operating_modes/nat_mode/client_connectivity/test_general_security_modes.py b/tests/e2e/basic/validation_of_operating_modes/nat_mode/client_connectivity/test_general_security_modes.py index b68638e2b..be6490352 100644 --- a/tests/e2e/basic/validation_of_operating_modes/nat_mode/client_connectivity/test_general_security_modes.py +++ b/tests/e2e/basic/validation_of_operating_modes/nat_mode/client_connectivity/test_general_security_modes.py @@ -45,7 +45,7 @@ class TestBridgeModeConnectivitySuiteA(object): @pytest.mark.parametrize('execution_number', range(2)) @allure.title("Client Connectivity Test with open encryption 2.4 GHz Band") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2809", name="JIRA LINK") - def test_nat_open_2g_client_connectivity(self, get_test_library, execution_number): + def test_nat_open_2g_client_connectivity(self, get_test_library, execution_number, setup_configuration): """ NAT Mode Client Connectivity Test with open encryption 2.4 GHz Band pytest -m "client_connectivity and nat and general and open and twog" @@ -60,7 +60,7 @@ class TestBridgeModeConnectivitySuiteA(object): mode = "NAT-LAN" band = "twog" vlan = 1 - passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -71,7 +71,7 @@ class TestBridgeModeConnectivitySuiteA(object): @pytest.mark.parametrize('execution_number', range(2)) @allure.title("Client Connectivity Test with open encryption 5 GHz Band") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2801", name="JIRA LINK") - def test_nat_open_5g_client_connectivity(self, get_test_library, execution_number): + def test_nat_open_5g_client_connectivity(self, get_test_library, execution_number, setup_configuration): """ NAT Mode Client Connectivity Test with open encryption 5 GHz Band pytest -m "client_connectivity and nat and general and open and fiveg" @@ -86,7 +86,7 @@ class TestBridgeModeConnectivitySuiteA(object): mode = "NAT-LAN" band = "twog" vlan = 1 - passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -100,7 +100,7 @@ class TestBridgeModeConnectivitySuiteA(object): @allure.story('wpa 2.4 GHZ Band') @allure.title("Client Connectivity Test with wpa encryption 2.4 GHz Band") @allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-2801", name="JIRA LINK") - def test_nat_wpa_2g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa_2g_client_connectivity(self, get_test_library, execution_number, setup_configuration): """ NAT Mode Client Connectivity Test with wpa encryption 2.4 GHz Band pytest -m "client_connectivity and nat and general and wpa and twog" @@ -115,7 +115,7 @@ class TestBridgeModeConnectivitySuiteA(object): mode = "NAT-LAN" band = "twog" vlan = 1 - passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -126,7 +126,7 @@ class TestBridgeModeConnectivitySuiteA(object): @pytest.mark.parametrize('execution_number', range(2)) @allure.story('wpa 5 GHZ Band') @allure.title("Client Connectivity Test with wpa encryption 5 GHz Band") - def test_nat_wpa_5g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa_5g_client_connectivity(self, get_test_library, execution_number, setup_configuration): """ NAT Mode Client Connectivity Test with wpa encryption 5 GHz Band pytest -m "client_connectivity and nat and general and wpa and fiveg" @@ -141,7 +141,7 @@ class TestBridgeModeConnectivitySuiteA(object): mode = "NAT-LAN" band = "fiveg" vlan = 1 - passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -152,7 +152,7 @@ class TestBridgeModeConnectivitySuiteA(object): @pytest.mark.parametrize('execution_number', range(2)) @allure.story('wpa2_personal 2.4 GHZ Band') @allure.title("Client Connectivity Test with wpa2_personal encryption 2.4 GHz Band") - def test_nat_wpa2_personal_2g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa2_personal_2g_client_connectivity(self, get_test_library, execution_number, setup_configuration): """ NAT Mode Client Connectivity Test with wpa2_personal encryption 2.4 GHz Band pytest -m "client_connectivity and nat and general and wpa2_personal and twog" @@ -167,7 +167,7 @@ class TestBridgeModeConnectivitySuiteA(object): mode = "NAT-LAN" band = "twog" vlan = 1 - passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -180,7 +180,7 @@ class TestBridgeModeConnectivitySuiteA(object): @pytest.mark.parametrize('execution_number', range(2)) @allure.story('wpa2_personal 5 GHZ Band') @allure.title("Client Connectivity Test with wpa2_personal encryption 5 GHz Band") - def test_nat_wpa2_personal_5g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa2_personal_5g_client_connectivity(self, get_test_library, execution_number, setup_configuration): """ NAT Mode Client Connectivity Test with wpa2_personal encryption 5 GHz Band pytest -m "client_connectivity and nat and general and wpa2_personal and fiveg" @@ -195,7 +195,7 @@ class TestBridgeModeConnectivitySuiteA(object): mode = "NAT-LAN" band = "fiveg" vlan = 1 - passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -242,7 +242,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): @pytest.mark.parametrize('execution_number', range(2)) @allure.story('wpa3_personal 2.4 GHZ Band') @allure.title("NAT Mode Client Connectivity Test with wpa3_personal encryption 2.4 GHz Band") - def test_nat_wpa3_personal_2g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa3_personal_2g_client_connectivity(self, get_test_library, execution_number, setup_configuration): """ NAT Mode Client Connectivity Test with wpa3_personal encryption 2.4 GHz Band pytest -m "client_connectivity and nat and general and wpa3_personal and twog" @@ -258,6 +258,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): band = "twog" vlan = 1 passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -268,7 +269,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): @pytest.mark.parametrize('execution_number', range(2)) @allure.story('wpa3_personal 5 GHZ Band') @allure.title("NAT Mode Client Connectivity Test with wpa3_personal encryption 5 GHz Band") - def test_nat_wpa3_personal_5g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa3_personal_5g_client_connectivity(self, get_test_library, execution_number, setup_configuration): """ NAT Mode Client Connectivity Test with wpa3_personal encryption 5 GHz Band pytest -m "client_connectivity and nat and general and wpa3_personal and fiveg" @@ -284,6 +285,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): band = "fiveg" vlan = 1 passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -294,7 +296,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): @allure.story('wpa3_personal 6 GHZ Band') @pytest.mark.parametrize('execution_number', range(2)) @allure.title("NAT Mode Client Connectivity Test with wpa3_personal encryption 5 GHz Band") - def test_nat_wpa3_personal_6g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa3_personal_6g_client_connectivity(self, get_test_library, execution_number, setup_configuration): """ NAT Mode Client Connectivity Test with wpa3_personal encryption 6 GHz Band pytest -m "client_connectivity and nat and general and wpa3_personal and sixg" @@ -310,6 +312,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): band = "sixg" vlan = 1 passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -320,7 +323,8 @@ class TestBridgeModeConnectivitySuiteTwo(object): @allure.story('wpa3_personal_mixed 2.4 GHZ Band') @pytest.mark.parametrize('execution_number', range(2)) @allure.title("NAT Mode Client Connectivity Test with wpa3_personal_mixed encryption 2.4 GHz Band") - def test_nat_wpa3_personal_mixed_2g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa3_personal_mixed_2g_client_connectivity(self, get_test_library, execution_number, + setup_configuration): """ NAT Mode Client Connectivity Test with wpa3_personal_mixed encryption 2.4 GHz Band pytest -m "client_connectivity and nat and general and wpa3_personal_mixed and twog" @@ -336,6 +340,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): band = "twog" vlan = 1 passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -346,7 +351,8 @@ class TestBridgeModeConnectivitySuiteTwo(object): @allure.story('wpa3_personal_mixed 5 GHZ Band') @pytest.mark.parametrize('execution_number', range(2)) @allure.title("NAT Mode Client Connectivity Test with wpa3_personal_mixed encryption 5 GHz Band") - def test_nat_wpa3_personal_mixed_5g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa3_personal_mixed_5g_client_connectivity(self, get_test_library, execution_number, + setup_configuration): """ NAT Mode Client Connectivity Test with wpa3_personal_mixed encryption 5 GHz Band pytest -m "client_connectivity and nat and general and wpa3_personal_mixed and fiveg" @@ -362,6 +368,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): band = "fiveg" vlan = 1 passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -372,7 +379,8 @@ class TestBridgeModeConnectivitySuiteTwo(object): @allure.story('wpa wpa2 personal mixed 2.4 GHZ Band') @pytest.mark.parametrize('execution_number', range(2)) @allure.title("NAT Mode Client Connectivity Test with wpa3_personal_mixed encryption 5 GHz Band") - def test_nat_wpa_wpa2_personal_mixed_2g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa_wpa2_personal_mixed_2g_client_connectivity(self, get_test_library, execution_number, + setup_configuration): """ NAT Mode Client Connectivity Test with wpa_wpa2_personal_mixed encryption 2.4 GHz Band pytest -m "client_connectivity and nat and general and wpa_wpa2_personal_mixed and twog" @@ -389,6 +397,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): band = "twog" vlan = 1 passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, extra_securities=extra_secu, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) @@ -400,7 +409,8 @@ class TestBridgeModeConnectivitySuiteTwo(object): @allure.story('wpa wpa2 personal mixed 5 GHZ Band') @pytest.mark.parametrize('execution_number', range(2)) @allure.title("NAT Mode Client Connectivity Test with wpa3_personal_mixed encryption 5 GHz Band") - def test_nat_wpa_wpa2_personal_mixed_5g_client_connectivity(self, get_test_library, execution_number): + def test_nat_wpa_wpa2_personal_mixed_5g_client_connectivity(self, get_test_library, execution_number, + setup_configuration): """ NAT Mode Client Connectivity Test with wpa_wpa2_personal_mixed encryption 5 GHz Band pytest -m "client_connectivity and nat and general and wpa_wpa2_personal_mixed and fiveg" @@ -417,6 +427,7 @@ class TestBridgeModeConnectivitySuiteTwo(object): band = "fiveg" vlan = 1 passes, result = get_test_library.client_connectivity_test(ssid=ssid_name, security=security, + dut_data=setup_configuration, extra_securities=extra_secu, passkey=security_key, mode=mode, band=band, num_sta=1, vlan_id=vlan, ssid_channel=1) diff --git a/tests/lab_info.json b/tests/lab_info.json index 3100716ad..5f6714f7e 100644 --- a/tests/lab_info.json +++ b/tests/lab_info.json @@ -1,956 +1,65 @@ { "CONFIGURATION" : { - "basic-01": { + "basic-05" : { "target": "tip_2x", - "controller": { + "controller" : { "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", "username": "tip@ucentral.com", "password": "OpenWifi%123" }, - "device_under_tests": [ - { - "model": "wallys_dr40x9", - "mode": "wifi5", - "serial": "c44bd1005b30", - "jumphost": true, - "ip": "10.28.3.100", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP8", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.6", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy4"], - "5G-Radio": ["1.1.wiphy5"], - "AX-Radio": ["1.1.wiphy0", "1.1.wiphy1", "1.1.wiphy2", "1.1.wiphy3"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan1", - "AX-Station-Name": "ax" - } - } - }, - "basic-02": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "hfcl_ion4", - "mode": "wifi5", - "serial": "0006aee53b84", - "jumphost": true, - "ip": "192.168.52.89", - "username": "lanforge", - "password": "lanforge", - "port": 22, - "jumphost_tty": "/dev/ttyAP2", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "192.168.52.89", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy4"], - "5G-Radio": ["1.1.wiphy5"], - "AX-Radio": ["1.1.wiphy0", "1.1.wiphy1", "1.1.wiphy2", "1.1.wiphy3"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - }, - "basic-03": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "tp-link_ec420-g1", - "mode": "wifi5", - "serial": "001122090801", - "jumphost": true, - "ip": "10.28.3.100", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP3", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.10", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy4"], - "5G-Radio": ["1.1.wiphy5"], - "AX-Radio": ["1.1.wiphy0", "1.1.wiphy1", "1.1.wiphy2", "1.1.wiphy3"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "sta00", - "5G-Station-Name": "sta10", - "AX-Station-Name": "ax" - } - } - }, - "basic-03a": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "indio_um-305ac", - "mode": "wifi5", - "serial": "706dec0a8a79", - "jumphost": true, - "ip": "10.28.3.100", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP6", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.10", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy4"], - "5G-Radio": ["1.1.wiphy5"], - "AX-Radio": ["1.1.wiphy0", "1.1.wiphy1", "1.1.wiphy2", "1.1.wiphy3"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "sta00", - "5G-Station-Name": "sta10", - "AX-Station-Name": "ax" - } - } - }, - "basic-04": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "edgecore_ecw5211", - "mode": "wifi5", - "serial": "68215fda456d", - "jumphost": true, - "ip": "10.28.3.100", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP5", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.12", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy4"], - "5G-Radio": ["1.1.wiphy5"], - "AX-Radio": ["1.1.wiphy0", "1.1.wiphy1", "1.1.wiphy2", "1.1.wiphy3"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - }, - "basic-04a": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "hfcl_ion4xi", - "mode": "wifi5", - "serial": "0006ae6df11f", - "jumphost": true, - "ip": "10.28.3.100", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP7", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.12", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy4"], - "5G-Radio": ["1.1.wiphy5"], - "AX-Radio": ["1.1.wiphy0", "1.1.wiphy1", "1.1.wiphy2", "1.1.wiphy3"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - }, - "basic-05": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "cig_wf188n", - "mode": "wifi6", - "serial": "0000c1018812", - "jumphost": true, - "ip": "10.28.3.103", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP1", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.28", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth1", - "2.4G-Station-Name": "sta00", - "5G-Station-Name": "sta10", - "AX-Station-Name": "ax" - } - } - }, - "basic-06": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "edgecore_eap102", - "mode": "wifi6", - "serial": "903cb39d6918", - "jumphost": true, - "ip": "10.28.3.103", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP2", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.30", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - }, - "basic-06a": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "hfcl_ion4xe", - "mode": "wifi6", - "serial": "0006ae6f7007", - "jumphost": true, - "ip": "10.28.3.103", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP7", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.30", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - }, - "basic-07": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "edgecore_eap101", - "mode": "wifi6", - "serial": "903cb36ae223", - "jumphost": true, - "ip": "10.28.3.103", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP3", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.32", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "sta10", - "5G-Station-Name": "sta00", - "AX-Station-Name": "ax" - } - } - }, - "basic-08": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "cig_wf194c", - "mode": "wifi6", - "serial": "00c115194c15", - "jumphost": true, - "ip": "10.28.3.103", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP5", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.34", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - }, - "basic-08a": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "udaya_a5-id2", - "mode": "wifi6", - "serial": "50987100327b", - "jumphost": true, - "ip": "10.28.3.103", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP6", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.34", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - }, - - "advanced-01": { - "controller": { - "url":"https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "cig_wf194c4", - "mode": "wifi6", - "serial": "f40b9fe78e03", - "jumphost": true, - "ip": "10.28.3.102", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP2", - "version": "release-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.24", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2","1.1.wiphy4"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3", "1.1.wiphy5"], - "AX-Radio": [], - "upstream": "1.1.eth1", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - - }, - "advanced-02": { - "controller": { - "url":"https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "edgecore_eap102", - "mode": "wifi6", - "serial": "903cb39d6958", - "jumphost": true, - "ip": "10.28.3.102", - "username": "lanforge", - "password": "pumpkin77", - "port": 22 , - "jumphost_tty": "/dev/ttyAP3", - "version": "release-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.26", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2","1.1.wiphy4"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3", "1.1.wiphy5"], - "AX-Radio": [], - "upstream": "1.1.eth1", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - - }, - "advanced-03": { - "controller": { - "url":"https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "cig_wf196", - "mode": "wifi6", - "serial": "824f816011e4", - "jumphost": true, - "ip": "10.28.3.115", - "username": "lanforge", - "password": "pumpkin77", - "port": 22 , - "jumphost_tty": "/dev/ttyAP0", - "version": "release-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.117", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2","1.1.wiphy4"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3", "1.1.wiphy5"], - "AX-Radio": ["1.2.wiphy0", "1.2.wiphy1", "1.2.wiphy2", "1.2.wiphy3", "1.2.wiphy4", "1.2.wiphy5", "1.2.wiphy6", "1.2.wiphy7", "1.2.wiphy8", - "1.2.wiphy9", "1.2.wiphy10", "1.2.wiphy11", "1.3.wiphy0", "1.3.wiphy1", "1.3.wiphy2", "1.3.wiphy3", "1.3.wiphy4", "1.3.wiphy5", - "1.3.wiphy6", "1.3.wiphy7", "1.3.wiphy8", "1.3.wiphy9", "1.3.wiphy10", "1.3.wiphy11", "1.3.wiphy12", "1.3.wiphy13", "1.3.wiphy14", - "1.3.wiphy15", "1.3.wiphy16", "1.3.wiphy17", "1.3.wiphy18", "1.3.wiphy19", "1.3.wiphy20", "1.3.wiphy21", "1.3.wiphy22", "1.3.wiphy23"], - "upstream": "1.3.eth2", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.3.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - } - - }, - "mesh-01": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "type" : "root", - "model": "edgecore_eap101", - "mode": "wifi6", - "serial": "34efb6af4a7a", - "jumphost": true, - "ip": "10.28.3.101", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP2", - "version": "next-latest" + "device_under_tests": [{ + "model": "cig_wf188n", + "supported_bands": ["2G", "5G"], + "supported_modes": ["BRIDGE", "NAT", "VLAN"], + "wan_port": "1.1.eth2", + "ssid": { + "2g-ssid": "OpenWifi", + "5g-ssid": "OpenWifi", + "6g-ssid": "OpenWifi", + "2g-password": "OpenWifi", + "5g-password": "OpenWifi", + "6g-password": "OpenWifi", + "2g-encryption": "WPA2", + "5g-encryption": "WPA2", + "6g-encryption": "WPA3", + "2g-bssid": "68:7d:b4:5f:5c:31", + "5g-bssid": "68:7d:b4:5f:5c:3c", + "6g-bssid": "68:7d:b4:5f:5c:38" }, - { - "type": "node-1", - "model": "edgecore_eap101", - "mode": "wifi6", - "serial": "34efb6af4903", - "jumphost": true, - "ip": "10.28.3.101", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP3", - "version": "next-latest" - }, - { - "type": "node-2", - "model": "edgecore_eap102", - "mode": "wifi6", - "serial": "903cb39d692c", - "jumphost": true, - "ip": "10.28.3.101", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP4", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge-mesh", - "details": { - "type": "mesh", - "ip": "10.28.3.14", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio-mobile-sta": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio-mobile-sta": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio-mobile-sta": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream-mobile-sta": "1.1.eth2", - "upstream_subnet-mobile-sta": "10.28.2.1/24", - "uplink-mobile-sta": "1.1.eth3", - "2.4G-Radio-root": ["1.2.wiphy0"], - "5G-Radio-root": ["1.2.wiphy1"], - "AX-Radio-root": [], - "upstream-root": "1.2.eth2", - "upstream_subnet-root": "10.28.2.1/24", - "uplink-root": "1.2.eth3", - "2.4G-Radio-node-1": ["1.3.wiphy0"], - "5G-Radio-node-1": ["1.3.wiphy1"], - "AX-Radio-node-1": [], - "upstream-node-1": "1.3.eth2", - "upstream_subnet-node-1": "10.28.2.1/24", - "uplink--node-1": "1.3.eth3", - "2.4G-Radio-node-2": ["1.4.wiphy0"], - "5G-Radio-node-2": ["1.4.wiphy1"], - "AX-Radio-node-2": [], - "upstream-node-2": "1.4.eth2", - "upstream_subnet-node-2": "10.28.2.1/24", - "uplink--node-2": "1.4.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - - } - }, - "mesh-02": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "type" : "root", - "model": "edgecore_eap102", - "mode": "wifi6", - "serial": "903cb3bd72dd", - "jumphost": true, - "ip": "10.28.3.104", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP2", - "version": "next-latest" - }, - { - "type": "node-1", - "model": "edgecore_eap102", - "mode": "wifi6", - "serial": "903cb3bd72fd", - "jumphost": true, - "ip": "10.28.3.104", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP3", - "version": "next-latest" - }, - { - "type": "node-2", - "model": "edgecore_eap102", - "mode": "wifi6", - "serial": "903cb3bd732d", - "jumphost": true, - "ip": "10.28.3.104", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP4", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge-mesh", - "details": { - "type": "mesh", - "ip": "10.28.3.36", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio-mobile-sta": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio-mobile-sta": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio-mobile-sta": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream-mobile-sta": "1.1.eth2", - "upstream_subnet-mobile-sta": "10.28.2.1/24", - "uplink-mobile-sta": "1.1.eth3", - "2.4G-Radio-root": ["1.2.wiphy0"], - "5G-Radio-root": ["1.2.wiphy1"], - "AX-Radio-root": [], - "upstream-root": "1.2.eth2", - "upstream_subnet-root": "10.28.2.1/24", - "uplink-root": "1.2.eth3", - "2.4G-Radio-node-1": ["1.3.wiphy0"], - "5G-Radio-node-1": ["1.3.wiphy1"], - "AX-Radio-node-1": [], - "upstream-node-1": "1.3.eth2", - "upstream_subnet-node-1": "10.28.2.1/24", - "uplink--node-1": "1.3.eth3", - "2.4G-Radio-node-2": ["1.4.wiphy0"], - "5G-Radio-node-2": ["1.4.wiphy1"], - "AX-Radio-node-2": [], - "upstream-node-2": "1.4.eth2", - "upstream_subnet-node-2": "10.28.2.1/24", - "uplink--node-2": "1.4.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" - } - - } - }, - - "interop-01": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "edgecore_eap102", - "mode": "wifi6", - "serial": "903cb39d69c0", - "jumphost": true, - "ip": "10.28.3.102", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP1", - "version": "next-latest" - } - ], + "mode": "wifi6", + "identifier": "0000c1018812", + "method": "serial", + "host_ip": "10.28.3.103", + "host_username": "lanforge", + "host_password": "pumpkin77", + "host_ssh_port": 22, + "serial_tty": "/dev/ttyAP1", + "firmware_version": "next-latest" + }], "traffic_generator": { "name": "lanforge", + "testbed": "basic", + "scenario": "dhcp-bridge", "details": { - "ip": "10.28.3.22", - "port": 8080, + "manager_ip": "10.28.3.28", + "http_port": 8080, "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth1", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan1", - "AX-Station-Name": "ax", - "securityToken": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3NzkzZGM0Ni1jZmU4LTQ4ODMtYjhiOS02ZWFlZGU2OTc2MDkifQ.eyJqdGkiOiJjYjRjYjQzYi05Y2FiLTQxNzQtOTYxYi04MDEwNTZkNDM2MzgiLCJleHAiOjAsIm5iZiI6MCwiaWF0IjoxNjExNTk0NzcxLCJpc3MiOiJodHRwczovL2F1dGgyLnBlcmZlY3RvbW9iaWxlLmNvbS9hdXRoL3JlYWxtcy90aXAtcGVyZmVjdG9tb2JpbGUtY29tIiwiYXVkIjoiaHR0cHM6Ly9hdXRoMi5wZXJmZWN0b21vYmlsZS5jb20vYXV0aC9yZWFsbXMvdGlwLXBlcmZlY3RvbW9iaWxlLWNvbSIsInN1YiI6IjdiNTMwYWUwLTg4MTgtNDdiOS04M2YzLTdmYTBmYjBkZGI0ZSIsInR5cCI6Ik9mZmxpbmUiLCJhenAiOiJvZmZsaW5lLXRva2VuLWdlbmVyYXRvciIsIm5vbmNlIjoiZTRmOTY4NjYtZTE3NS00YzM2LWEyODMtZTQwMmI3M2U5NzhlIiwiYXV0aF90aW1lIjowLCJzZXNzaW9uX3N0YXRlIjoiYWNkNTQ3MTctNzJhZC00MGU3LWI0ZDctZjlkMTAyNDRkNWZlIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJyZXBvcnRpdW0iOnsicm9sZXMiOlsiYWRtaW5pc3RyYXRvciJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBvZmZsaW5lX2FjY2VzcyBlbWFpbCJ9.SOL-wlZiQ4BoLLfaeIW8QoxJ6xzrgxBjwSiSzkLBPYw", - "perfectoURL": "tip" - } - } - }, + "setup": {"method": "build", "DB": "Test_Scenario_Automation"}, + "wan_ports": { + "1.1.eth2": {"addressing": "dhcp-server", "subnet": "172.16.0.1/16", "dhcp": { + "lease-first": 10, + "lease-count": 10000, + "lease-time": "6h" + } + } + }, + "lan_ports": { - "interop-02": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "edgecore_eap101", - "mode": "wifi6", - "serial": "903cb36ae4a3", - "jumphost": true, - "ip": "10.28.3.102", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP4", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.22", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth1", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan1", - "AX-Station-Name": "ax", - "securityToken": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3NzkzZGM0Ni1jZmU4LTQ4ODMtYjhiOS02ZWFlZGU2OTc2MDkifQ.eyJqdGkiOiJjYjRjYjQzYi05Y2FiLTQxNzQtOTYxYi04MDEwNTZkNDM2MzgiLCJleHAiOjAsIm5iZiI6MCwiaWF0IjoxNjExNTk0NzcxLCJpc3MiOiJodHRwczovL2F1dGgyLnBlcmZlY3RvbW9iaWxlLmNvbS9hdXRoL3JlYWxtcy90aXAtcGVyZmVjdG9tb2JpbGUtY29tIiwiYXVkIjoiaHR0cHM6Ly9hdXRoMi5wZXJmZWN0b21vYmlsZS5jb20vYXV0aC9yZWFsbXMvdGlwLXBlcmZlY3RvbW9iaWxlLWNvbSIsInN1YiI6IjdiNTMwYWUwLTg4MTgtNDdiOS04M2YzLTdmYTBmYjBkZGI0ZSIsInR5cCI6Ik9mZmxpbmUiLCJhenAiOiJvZmZsaW5lLXRva2VuLWdlbmVyYXRvciIsIm5vbmNlIjoiZTRmOTY4NjYtZTE3NS00YzM2LWEyODMtZTQwMmI3M2U5NzhlIiwiYXV0aF90aW1lIjowLCJzZXNzaW9uX3N0YXRlIjoiYWNkNTQ3MTctNzJhZC00MGU3LWI0ZDctZjlkMTAyNDRkNWZlIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJyZXBvcnRpdW0iOnsicm9sZXMiOlsiYWRtaW5pc3RyYXRvciJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBvZmZsaW5lX2FjY2VzcyBlbWFpbCJ9.SOL-wlZiQ4BoLLfaeIW8QoxJ6xzrgxBjwSiSzkLBPYw", - "perfectoURL": "tip" - } - } - }, - - "interop-03": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "edgecore_eap101", - "mode": "wifi6", - "serial": "903cb36ae255", - "jumphost": true, - "ip": "10.28.3.102", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP5", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.22", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth1", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan1", - "AX-Station-Name": "ax", - "securityToken": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3NzkzZGM0Ni1jZmU4LTQ4ODMtYjhiOS02ZWFlZGU2OTc2MDkifQ.eyJqdGkiOiJjYjRjYjQzYi05Y2FiLTQxNzQtOTYxYi04MDEwNTZkNDM2MzgiLCJleHAiOjAsIm5iZiI6MCwiaWF0IjoxNjExNTk0NzcxLCJpc3MiOiJodHRwczovL2F1dGgyLnBlcmZlY3RvbW9iaWxlLmNvbS9hdXRoL3JlYWxtcy90aXAtcGVyZmVjdG9tb2JpbGUtY29tIiwiYXVkIjoiaHR0cHM6Ly9hdXRoMi5wZXJmZWN0b21vYmlsZS5jb20vYXV0aC9yZWFsbXMvdGlwLXBlcmZlY3RvbW9iaWxlLWNvbSIsInN1YiI6IjdiNTMwYWUwLTg4MTgtNDdiOS04M2YzLTdmYTBmYjBkZGI0ZSIsInR5cCI6Ik9mZmxpbmUiLCJhenAiOiJvZmZsaW5lLXRva2VuLWdlbmVyYXRvciIsIm5vbmNlIjoiZTRmOTY4NjYtZTE3NS00YzM2LWEyODMtZTQwMmI3M2U5NzhlIiwiYXV0aF90aW1lIjowLCJzZXNzaW9uX3N0YXRlIjoiYWNkNTQ3MTctNzJhZC00MGU3LWI0ZDctZjlkMTAyNDRkNWZlIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJyZXBvcnRpdW0iOnsicm9sZXMiOlsiYWRtaW5pc3RyYXRvciJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBvZmZsaW5lX2FjY2VzcyBlbWFpbCJ9.SOL-wlZiQ4BoLLfaeIW8QoxJ6xzrgxBjwSiSzkLBPYw", - "perfectoURL": "tip" - } - } - }, - - "interop-04": { - "controller": { - "url": "https://sec-qa01.cicd.lab.wlan.tip.build:16001", - "username": "tip@ucentral.com", - "password": "OpenWifi%123" - }, - "access_point": [ - { - "model": "cig_wf194c4", - "mode": "wifi6", - "serial": "f40b9fe78d3d", - "jumphost": true, - "ip": "10.28.3.102", - "username": "lanforge", - "password": "pumpkin77", - "port": 22, - "jumphost_tty": "/dev/ttyAP7", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "10.28.3.22", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["1.1.wiphy0", "1.1.wiphy2"], - "5G-Radio": ["1.1.wiphy1", "1.1.wiphy3"], - "AX-Radio": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"], - "upstream": "1.1.eth1", - "upstream_subnet": "10.28.2.1/24", - "uplink": "1.1.eth3", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan1", - "AX-Station-Name": "ax", - "securityToken": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3NzkzZGM0Ni1jZmU4LTQ4ODMtYjhiOS02ZWFlZGU2OTc2MDkifQ.eyJqdGkiOiJjYjRjYjQzYi05Y2FiLTQxNzQtOTYxYi04MDEwNTZkNDM2MzgiLCJleHAiOjAsIm5iZiI6MCwiaWF0IjoxNjExNTk0NzcxLCJpc3MiOiJodHRwczovL2F1dGgyLnBlcmZlY3RvbW9iaWxlLmNvbS9hdXRoL3JlYWxtcy90aXAtcGVyZmVjdG9tb2JpbGUtY29tIiwiYXVkIjoiaHR0cHM6Ly9hdXRoMi5wZXJmZWN0b21vYmlsZS5jb20vYXV0aC9yZWFsbXMvdGlwLXBlcmZlY3RvbW9iaWxlLWNvbSIsInN1YiI6IjdiNTMwYWUwLTg4MTgtNDdiOS04M2YzLTdmYTBmYjBkZGI0ZSIsInR5cCI6Ik9mZmxpbmUiLCJhenAiOiJvZmZsaW5lLXRva2VuLWdlbmVyYXRvciIsIm5vbmNlIjoiZTRmOTY4NjYtZTE3NS00YzM2LWEyODMtZTQwMmI3M2U5NzhlIiwiYXV0aF90aW1lIjowLCJzZXNzaW9uX3N0YXRlIjoiYWNkNTQ3MTctNzJhZC00MGU3LWI0ZDctZjlkMTAyNDRkNWZlIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJyZXBvcnRpdW0iOnsicm9sZXMiOlsiYWRtaW5pc3RyYXRvciJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBvZmZsaW5lX2FjY2VzcyBlbWFpbCJ9.SOL-wlZiQ4BoLLfaeIW8QoxJ6xzrgxBjwSiSzkLBPYw", - "perfectoURL": "tip" - } - } - }, - - "basic-ext-03-03": { - "controller": { - "url": "https://wlan-portal-svc-nola-ext-03.cicd.lab.wlan.tip.build", - "username": "support@example.com", - "password": "support", - "version": "1.1.0-SNAPSHOT", - "commit_date": "2021-04-27" - }, - "access_point": [ - { - "model": "ecw5410", - "mode": "wifi5", - "serial": "903cb3944857", - "jumphost": true, - "ip": "192.168.200.80", - "username": "lanforge", - "password": "lanforge", - "port": 22, - "jumphost_tty": "/dev/ttyAP1", - "version": "next-latest" - } - ], - "traffic_generator": { - "name": "lanforge", - "details": { - "ip": "192.168.200.80", - "port": 8080, - "ssh_port": 22, - "2.4G-Radio": ["wiphy0"], - "5G-Radio": ["wiphy1"], - "AX-Radio": ["wiphy2"], - "upstream": "1.1.eth1", - "upstream_subnet": "192.168.200.1/24", - "uplink": "1.1.eth2", - "2.4G-Station-Name": "wlan0", - "5G-Station-Name": "wlan0", - "AX-Station-Name": "ax" + }, + "uplink_nat_ports": { + "1.1.eth1": {"addressing": "static", "subnet": "10.28.2.16/24", "gateway_ip": "10.28.2.1"} + } } } }