mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2026-01-27 10:23:37 +00:00
Add hot reload config test (Tx-Power parameter) (#1004)
* add DFS paramter config test case
Signed-off-by: anil-tegala <anil.tegala@candelatech.com>
* add Tx-Power paramter config test case
Signed-off-by: anil-tegala <anil.tegala@candelatech.com>
* Revert "add Tx-Power paramter config test case"
This reverts commit 6c484213b7.
* add Tx-Power paramter config test case
Signed-off-by: anil-tegala <anil.tegala@candelatech.com>
---------
Signed-off-by: anil-tegala <anil.tegala@candelatech.com>
This commit is contained in:
committed by
GitHub
parent
cbb1a9878c
commit
7e53c6c65e
@@ -150,3 +150,36 @@ class TestHotReloadConfigSuite(object):
|
||||
|
||||
assert passes == "PASS", result
|
||||
|
||||
|
||||
@pytest.mark.wpa2_personal
|
||||
@pytest.mark.fiveg
|
||||
@pytest.mark.tx_power
|
||||
@allure.story('wpa2_personal 5 GHZ Band')
|
||||
@allure.title("BRIDGE Mode Hot Reload with wpa2_personal encryption 5 GHz Band(TX power Parameter)")
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12779", name="WIFI-12779")
|
||||
def test_hot_config_reload_tx_power(self, get_test_library, get_test_device_logs,
|
||||
get_testbed_details,
|
||||
get_dut_logs_per_test_case, get_target_object,
|
||||
num_stations, check_connectivity, setup_configuration,
|
||||
client_type):
|
||||
"""
|
||||
Test Description: The hot reload config feature allows real-time configuration updates without restarting services, minimizing downtime and service disruptions. It’s essential for maintaining continuous operation, especially in critical systems or environments with frequent updates. This feature enhances flexibility, improves scalability, and reduces the risk of human error. Here Tx-Power is the exception where on modifying this, service should not get restart.
|
||||
Marker:
|
||||
hot_reload and bridge and general and wpa2_personal and fiveg and tx_power
|
||||
"""
|
||||
print("----------------setup_configuration:", setup_configuration)
|
||||
profile_data = {"ssid_name": "OpenWifi", "appliedRadios": ["5G"], "security_key": "OpenWifi"}
|
||||
ssid_name = profile_data["ssid_name"]
|
||||
security_key = profile_data["security_key"]
|
||||
security = "wpa2"
|
||||
mode = "BRIDGE"
|
||||
band = "fiveg"
|
||||
reconfig = "tx_power"
|
||||
# Hot Reload Configuration
|
||||
passes, result = get_test_library.hot_config_reload_test(ssid=ssid_name, security=security,
|
||||
dut_data=setup_configuration,
|
||||
passkey=security_key, mode=mode, band=band,
|
||||
num_sta=num_stations, tip_2x_obj=get_target_object,
|
||||
reconfig=reconfig)
|
||||
assert passes == "PASS", result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user