mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 11:57:49 +00:00
Added Bridge mode Capacity test support for ax clients (#385)
Signed-off-by: shivam <shivam.thakur@candelatech.com>
This commit is contained in:
@@ -2,6 +2,8 @@ import re
|
|||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
|
||||||
sys.path.append(
|
sys.path.append(
|
||||||
os.path.dirname(
|
os.path.dirname(
|
||||||
os.path.realpath(__file__)
|
os.path.realpath(__file__)
|
||||||
@@ -211,7 +213,7 @@ class ChamberView:
|
|||||||
self.raw_line.append(station_data)
|
self.raw_line.append(station_data)
|
||||||
if num_stations == "max":
|
if num_stations == "max":
|
||||||
for radio in self.twog_radios:
|
for radio in self.twog_radios:
|
||||||
num_stations = 64
|
num_stations = self.get_max_sta(radio)
|
||||||
station_data = ["profile_link " + radio.split(".")[0] + "." + radio.split(".")[1] +
|
station_data = ["profile_link " + radio.split(".")[0] + "." + radio.split(".")[1] +
|
||||||
" STA-AUTO " + str(num_stations) + " 'DUT: " + dut + " Radio-" +
|
" STA-AUTO " + str(num_stations) + " 'DUT: " + dut + " Radio-" +
|
||||||
str(int(idx) + 1) + "'" + " NA " + radio.split(".")[2]]
|
str(int(idx) + 1) + "'" + " NA " + radio.split(".")[2]]
|
||||||
@@ -237,7 +239,7 @@ class ChamberView:
|
|||||||
self.raw_line.append(station_data)
|
self.raw_line.append(station_data)
|
||||||
if num_stations == "max":
|
if num_stations == "max":
|
||||||
for radio in self.fiveg_radios:
|
for radio in self.fiveg_radios:
|
||||||
num_stations = 64
|
num_stations = self.get_max_sta(radio)
|
||||||
station_data = ["profile_link " + radio.split(".")[0] + "." + radio.split(".")[1] +
|
station_data = ["profile_link " + radio.split(".")[0] + "." + radio.split(".")[1] +
|
||||||
" STA-AUTO " + str(num_stations) + " 'DUT: " + dut + " Radio-" +
|
" STA-AUTO " + str(num_stations) + " 'DUT: " + dut + " Radio-" +
|
||||||
str(int(idx) + 1) + "'" + " NA " + radio.split(".")[2]]
|
str(int(idx) + 1) + "'" + " NA " + radio.split(".")[2]]
|
||||||
@@ -245,10 +247,19 @@ class ChamberView:
|
|||||||
self.raw_line.append(station_data)
|
self.raw_line.append(station_data)
|
||||||
|
|
||||||
if band == "ax":
|
if band == "ax":
|
||||||
|
|
||||||
if num_stations != "max":
|
if num_stations != "max":
|
||||||
|
max_possible = 0
|
||||||
|
for radio in self.ax_radios:
|
||||||
|
max_possible = max_possible + self.get_max_sta(radio)
|
||||||
if num_stations > 1:
|
if num_stations > 1:
|
||||||
|
if num_stations > max_possible:
|
||||||
|
pytest.exit("Error: Can't Create " + num_stations + ", only " + max_possible + " Stations can be created")
|
||||||
|
|
||||||
num_stations = int(num_stations / len(self.ax_radios))
|
num_stations = int(num_stations / len(self.ax_radios))
|
||||||
for radio in self.ax_radios:
|
for radio in self.ax_radios:
|
||||||
|
max = self.get_max_sta(radio)
|
||||||
|
num_stations = num_stations - max
|
||||||
station_data = ["profile_link 1.1 STA-AUTO " + str(num_stations) + " 'DUT: " + dut + " Radio-" +
|
station_data = ["profile_link 1.1 STA-AUTO " + str(num_stations) + " 'DUT: " + dut + " Radio-" +
|
||||||
str(int(idx) + 1) + "'" + " NA " + radio]
|
str(int(idx) + 1) + "'" + " NA " + radio]
|
||||||
self.raw_line.append(station_data)
|
self.raw_line.append(station_data)
|
||||||
@@ -259,7 +270,7 @@ class ChamberView:
|
|||||||
self.raw_line.append(station_data)
|
self.raw_line.append(station_data)
|
||||||
if num_stations == "max":
|
if num_stations == "max":
|
||||||
for radio in self.ax_radios:
|
for radio in self.ax_radios:
|
||||||
num_stations = 1
|
num_stations = self.get_max_sta(radio)
|
||||||
station_data = ["profile_link 1.1 STA-AUTO " + str(num_stations) + " 'DUT: " + dut + " Radio-" +
|
station_data = ["profile_link 1.1 STA-AUTO " + str(num_stations) + " 'DUT: " + dut + " Radio-" +
|
||||||
str(int(idx) + 1) + "'" + " NA " + radio]
|
str(int(idx) + 1) + "'" + " NA " + radio]
|
||||||
self.raw_line.append(station_data)
|
self.raw_line.append(station_data)
|
||||||
@@ -466,87 +477,119 @@ class ChamberView:
|
|||||||
cli_base = LFCliBase(_lfjson_host=self.lanforge_ip, _lfjson_port=self.lanforge_port, )
|
cli_base = LFCliBase(_lfjson_host=self.lanforge_ip, _lfjson_port=self.lanforge_port, )
|
||||||
return cli_base.json_post(req_url, data)
|
return cli_base.json_post(req_url, data)
|
||||||
|
|
||||||
|
def get_max_sta(self, radio=""):
|
||||||
|
data = self.json_get("/radiostatus/all")
|
||||||
|
return data[radio]["max_sta"]
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# lanforge_data = {'ip': 'localhost', 'port': 8802, 'ssh_port': 8804, '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'}
|
# # lanforge_data = {'ip': 'localhost', 'port': 8802, 'ssh_port': 8804, '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'}
|
||||||
|
# lanforge_data = {
|
||||||
|
# "type": "mesh",
|
||||||
|
# "ip": "localhost", # 10.28.3.14
|
||||||
|
# "port": 8802, # 8080
|
||||||
|
# "ssh_port": 8804,
|
||||||
|
# "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"
|
||||||
|
# }
|
||||||
|
# # ap_data = [{'model': 'wf188n', 'mode': 'wifi6', 'serial': '0000c1018812', 'jumphost': True, 'ip': 'localhost', 'username': 'lanforge', 'password': 'pumpkin77', 'port': 8803, 'jumphost_tty': '/dev/ttyAP1', 'version': 'https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/uCentral/cig_wf188/20210729-cig_wf188-v2.0.0-rc2-ec3662e-upgrade.bin'}]
|
||||||
|
# ap_data = [
|
||||||
|
# {
|
||||||
|
# 'type': 'root',
|
||||||
|
# 'model': 'eap101',
|
||||||
|
# 'mode': 'wifi6',
|
||||||
|
# 'serial': '34efb6af4a7a',
|
||||||
|
# 'jumphost': True,
|
||||||
|
# 'ip': "localhost", # 10\.28\.3\.101
|
||||||
|
# 'username': "lanforge",
|
||||||
|
# 'password': "pumpkin77",
|
||||||
|
# 'port': 8803, # 22
|
||||||
|
# 'jumphost_tty': '/dev/ttyAP2',
|
||||||
|
# 'version': "latest"
|
||||||
|
# },
|
||||||
|
# {
|
||||||
|
# 'type': 'node-1',
|
||||||
|
# 'model': 'eap101',
|
||||||
|
# 'mode': 'wifi6',
|
||||||
|
# 'serial': '34efb6af4903',
|
||||||
|
# 'jumphost': True,
|
||||||
|
# 'ip': "localhost", # 10\.28\.3\.101
|
||||||
|
# 'username': "lanforge",
|
||||||
|
# 'password': "pumpkin77",
|
||||||
|
# 'port': 8803, # 22
|
||||||
|
# 'jumphost_tty': '/dev/ttyAP3',
|
||||||
|
# 'version': "latest"
|
||||||
|
# },
|
||||||
|
# {
|
||||||
|
# 'type': 'node-2',
|
||||||
|
# 'model': 'eap102',
|
||||||
|
# 'mode': 'wifi6',
|
||||||
|
# 'serial': '34efb6af4a7a',
|
||||||
|
# 'jumphost': True,
|
||||||
|
# 'ip': "localhost", # 10\.28\.3\.101
|
||||||
|
# 'username': "lanforge",
|
||||||
|
# 'password': "pumpkin77",
|
||||||
|
# 'port': 8803, # 22
|
||||||
|
# 'jumphost_tty': '/dev/ttyAP4',
|
||||||
|
# 'version': "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/eap101/trunk/eap101-1.1.0.tar.gz"
|
||||||
|
# }
|
||||||
|
# ]
|
||||||
|
# testbed = "mesh"
|
||||||
lanforge_data = {
|
lanforge_data = {
|
||||||
"type": "mesh",
|
"ip": "10.28.3.6",
|
||||||
"ip": "localhost", # 10.28.3.14
|
"port": 8080,
|
||||||
"port": 8802, # 8080
|
"ssh_port": 22,
|
||||||
"ssh_port": 8804,
|
"2.4G-Radio": ["1.1.wiphy4"],
|
||||||
"2.4G-Radio-mobile-sta": ["1.1.wiphy0", "1.1.wiphy2"],
|
"5G-Radio": ["1.1.wiphy5"],
|
||||||
"5G-Radio-mobile-sta": ["1.1.wiphy1", "1.1.wiphy3"],
|
"AX-Radio": ["1.1.wiphy0", "1.1.wiphy1", "1.1.wiphy2", "1.1.wiphy3"],
|
||||||
"AX-Radio-mobile-sta": ["1.1.wiphy4", "1.1.wiphy5", "1.1.wiphy6", "1.1.wiphy7"],
|
"upstream": "1.1.eth2",
|
||||||
"upstream-mobile-sta": "1.1.eth2",
|
"upstream_subnet": "10.28.2.1/24",
|
||||||
"upstream_subnet-mobile-sta": "10.28.2.1/24",
|
"uplink": "1.1.eth3",
|
||||||
"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",
|
"2.4G-Station-Name": "wlan0",
|
||||||
"5G-Station-Name": "wlan0",
|
"5G-Station-Name": "wlan1",
|
||||||
"AX-Station-Name": "ax"
|
"AX-Station-Name": "ax"
|
||||||
}
|
}
|
||||||
# ap_data = [{'model': 'wf188n', 'mode': 'wifi6', 'serial': '0000c1018812', 'jumphost': True, 'ip': 'localhost', 'username': 'lanforge', 'password': 'pumpkin77', 'port': 8803, 'jumphost_tty': '/dev/ttyAP1', 'version': 'https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/uCentral/cig_wf188/20210729-cig_wf188-v2.0.0-rc2-ec3662e-upgrade.bin'}]
|
ap_data = [{
|
||||||
ap_data = [
|
"model": "edgecore_ecw5410",
|
||||||
{
|
"mode": "wifi5",
|
||||||
'type': 'root',
|
"serial": "3c2c99f44e77",
|
||||||
'model': 'eap101',
|
"jumphost": True,
|
||||||
'mode': 'wifi6',
|
"ip": "10.28.3.100",
|
||||||
'serial': '34efb6af4a7a',
|
"username": "lanforge",
|
||||||
'jumphost': True,
|
"password": "pumpkin77",
|
||||||
'ip': "localhost", # 10\.28\.3\.101
|
"port": 22,
|
||||||
'username': "lanforge",
|
"jumphost_tty": "/dev/ttyAP1",
|
||||||
'password': "pumpkin77",
|
"version": "release-latest"
|
||||||
'port': 8803, # 22
|
}]
|
||||||
'jumphost_tty': '/dev/ttyAP2',
|
obj = ChamberView(lanforge_data=lanforge_data, access_point_data=ap_data, testbed="basic")
|
||||||
'version': "latest"
|
a = obj.get_max_sta("1.1.wiphy0")
|
||||||
},
|
print(a)
|
||||||
{
|
# obj.create_mesh_dut()
|
||||||
'type': 'node-1',
|
|
||||||
'model': 'eap101',
|
|
||||||
'mode': 'wifi6',
|
|
||||||
'serial': '34efb6af4903',
|
|
||||||
'jumphost': True,
|
|
||||||
'ip': "localhost", # 10\.28\.3\.101
|
|
||||||
'username': "lanforge",
|
|
||||||
'password': "pumpkin77",
|
|
||||||
'port': 8803, # 22
|
|
||||||
'jumphost_tty': '/dev/ttyAP3',
|
|
||||||
'version': "latest"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'type': 'node-2',
|
|
||||||
'model': 'eap102',
|
|
||||||
'mode': 'wifi6',
|
|
||||||
'serial': '34efb6af4a7a',
|
|
||||||
'jumphost': True,
|
|
||||||
'ip': "localhost", # 10\.28\.3\.101
|
|
||||||
'username': "lanforge",
|
|
||||||
'password': "pumpkin77",
|
|
||||||
'port': 8803, # 22
|
|
||||||
'jumphost_tty': '/dev/ttyAP4',
|
|
||||||
'version': "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/eap101/trunk/eap101-1.1.0.tar.gz"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
testbed = "mesh"
|
|
||||||
obj = ChamberView(lanforge_data=lanforge_data, access_point_data=ap_data, testbed="mesh")
|
|
||||||
obj.create_mesh_dut()
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3926", name="WIFI-3926")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3926", name="WIFI-3926")
|
||||||
@pytest.mark.tcp_download
|
@pytest.mark.tcp_download
|
||||||
def test_client_wpa2_BRIDGE_tcp_dl(self, get_vif_state, lf_tools, setup_profiles,
|
def test_client_wpa2_bridge_tcp_dl(self, get_vif_state, lf_tools, setup_profiles,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -62,7 +62,7 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
|
|||||||
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
|
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
|
||||||
lf_tools.add_stations(band="2G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="2G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
lf_tools.add_stations(band="5G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="5G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
# lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
lf_tools.Chamber_View()
|
lf_tools.Chamber_View()
|
||||||
influx_tags = ["tcp", "download", "2.4G-5G Combined"]
|
influx_tags = ["tcp", "download", "2.4G-5G Combined"]
|
||||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_dl", mode=mode, vlan_id=vlan,
|
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_dl", mode=mode, vlan_id=vlan,
|
||||||
@@ -78,7 +78,7 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3927", name="WIFI-3927")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3927", name="WIFI-3927")
|
||||||
@pytest.mark.udp_download
|
@pytest.mark.udp_download
|
||||||
def test_client_wpa2_BRIDGE_udp_dl(self, get_vif_state, lf_tools,
|
def test_client_wpa2_bridge_udp_dl(self, get_vif_state, lf_tools,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -95,7 +95,7 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
|
|||||||
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
|
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
|
||||||
lf_tools.add_stations(band="2G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="2G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
lf_tools.add_stations(band="5G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="5G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
# lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
lf_tools.Chamber_View()
|
lf_tools.Chamber_View()
|
||||||
influx_tags = ["udp", "download", "2.4G-5G Combined"]
|
influx_tags = ["udp", "download", "2.4G-5G Combined"]
|
||||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_dl", mode=mode, vlan_id=vlan,
|
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_dl", mode=mode, vlan_id=vlan,
|
||||||
@@ -111,7 +111,7 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3932", name="WIFI-3932")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3932", name="WIFI-3932")
|
||||||
@pytest.mark.tcp_bidirectional
|
@pytest.mark.tcp_bidirectional
|
||||||
def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_vif_state, lf_tools,
|
def test_client_wpa2_bridge_tcp_bidirectional(self, get_vif_state, lf_tools,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -127,7 +127,7 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
|
|||||||
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
|
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
|
||||||
lf_tools.add_stations(band="2G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="2G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
lf_tools.add_stations(band="5G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="5G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
# lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
lf_tools.Chamber_View()
|
lf_tools.Chamber_View()
|
||||||
influx_tags = ["tcp", "bidirectional", "2.4G-5G Combined"]
|
influx_tags = ["tcp", "bidirectional", "2.4G-5G Combined"]
|
||||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_bi", mode=mode, vlan_id=vlan,
|
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_tcp_bi", mode=mode, vlan_id=vlan,
|
||||||
@@ -143,7 +143,7 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3933", name="WIFI-3933")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3933", name="WIFI-3933")
|
||||||
@pytest.mark.udp_bidirectional
|
@pytest.mark.udp_bidirectional
|
||||||
def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_vif_state, lf_tools,
|
def test_client_wpa2_bridge_udp_bidirectional(self, get_vif_state, lf_tools,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -159,7 +159,7 @@ class TestWifiCapacityBRIDGEModeDualBand(object):
|
|||||||
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
|
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
|
||||||
lf_tools.add_stations(band="2G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="2G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
lf_tools.add_stations(band="5G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="5G", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
# lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
lf_tools.add_stations(band="ax", num_stations="max", dut=lf_tools.dut_name, ssid_name=ssid_name)
|
||||||
lf_tools.Chamber_View()
|
lf_tools.Chamber_View()
|
||||||
influx_tags = ["udp", "bidirectional", "2.4G-5G Combined"]
|
influx_tags = ["udp", "bidirectional", "2.4G-5G Combined"]
|
||||||
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_bi", mode=mode, vlan_id=vlan,
|
wct_obj = lf_test.wifi_capacity(instance_name="test_client_wpa2_BRIDGE_udp_bi", mode=mode, vlan_id=vlan,
|
||||||
@@ -204,7 +204,7 @@ class TestWifiCapacityBRIDGEMode2G(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3928", name="WIFI-3928")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3928", name="WIFI-3928")
|
||||||
@pytest.mark.tcp_download
|
@pytest.mark.tcp_download
|
||||||
def test_client_wpa2_BRIDGE_tcp_dl(self, get_vif_state, lf_tools, setup_profiles,
|
def test_client_wpa2_bridge_tcp_dl(self, get_vif_state, lf_tools, setup_profiles,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -232,7 +232,7 @@ class TestWifiCapacityBRIDGEMode2G(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3930", name="WIFI-3930")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3930", name="WIFI-3930")
|
||||||
@pytest.mark.udp_download
|
@pytest.mark.udp_download
|
||||||
def test_client_wpa2_BRIDGE_udp_dl(self, get_vif_state, lf_tools,
|
def test_client_wpa2_bridge_udp_dl(self, get_vif_state, lf_tools,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -260,7 +260,7 @@ class TestWifiCapacityBRIDGEMode2G(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3934", name="WIFI-3934")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3934", name="WIFI-3934")
|
||||||
@pytest.mark.tcp_bidirectional
|
@pytest.mark.tcp_bidirectional
|
||||||
def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_vif_state, lf_tools,
|
def test_client_wpa2_bridge_tcp_bidirectional(self, get_vif_state, lf_tools,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -288,7 +288,7 @@ class TestWifiCapacityBRIDGEMode2G(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3935", name="WIFI-3935")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3935", name="WIFI-3935")
|
||||||
@pytest.mark.udp_bidirectional
|
@pytest.mark.udp_bidirectional
|
||||||
def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_vif_state, lf_tools,
|
def test_client_wpa2_bridge_udp_bidirectional(self, get_vif_state, lf_tools,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -345,7 +345,7 @@ class TestWifiCapacityBRIDGEMode5G(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3929", name="WIFI-3929")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3929", name="WIFI-3929")
|
||||||
@pytest.mark.tcp_download
|
@pytest.mark.tcp_download
|
||||||
def test_client_wpa2_BRIDGE_tcp_dl(self, get_vif_state, lf_tools, setup_profiles,
|
def test_client_wpa2_bridge_tcp_dl(self, get_vif_state, lf_tools, setup_profiles,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -373,7 +373,7 @@ class TestWifiCapacityBRIDGEMode5G(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3931", name="WIFI-3931")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3931", name="WIFI-3931")
|
||||||
@pytest.mark.udp_download
|
@pytest.mark.udp_download
|
||||||
def test_client_wpa2_BRIDGE_udp_dl(self, get_vif_state, lf_tools,
|
def test_client_wpa2_bridge_udp_dl(self, get_vif_state, lf_tools,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -401,7 +401,7 @@ class TestWifiCapacityBRIDGEMode5G(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3936", name="WIFI-3936")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3936", name="WIFI-3936")
|
||||||
@pytest.mark.tcp_bidirectional
|
@pytest.mark.tcp_bidirectional
|
||||||
def test_client_wpa2_BRIDGE_tcp_bidirectional(self, get_vif_state, lf_tools,
|
def test_client_wpa2_bridge_tcp_bidirectional(self, get_vif_state, lf_tools,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
@@ -429,7 +429,7 @@ class TestWifiCapacityBRIDGEMode5G(object):
|
|||||||
|
|
||||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3937", name="WIFI-3937")
|
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-3937", name="WIFI-3937")
|
||||||
@pytest.mark.udp_bidirectional
|
@pytest.mark.udp_bidirectional
|
||||||
def test_client_wpa2_BRIDGE_udp_bidirectional(self, get_vif_state, lf_tools,
|
def test_client_wpa2_bridge_udp_bidirectional(self, get_vif_state, lf_tools,
|
||||||
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
lf_test, station_names_twog, create_lanforge_chamberview_dut,
|
||||||
get_configuration):
|
get_configuration):
|
||||||
""" Wifi Capacity Test BRIDGE mode
|
""" Wifi Capacity Test BRIDGE mode
|
||||||
|
|||||||
Reference in New Issue
Block a user