Wifi 7868 restructuring sanity suite to cover golden coverage of suites (#529)

* WIFI-7868: Added ow_sanity_lf suite for sanity restructuring

Added client connectivity tests under the ow_sanity_lf

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* [WIFI-7869] Fix: regression testing AWS variables placement

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>

* [WIFI-7779] Add: helm deploy support for mailer envs (#517)

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>

* Also pin kubectl version when destroying namespace

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* [WIFI-7604] Add workflows to test deployment upgrade paths (#471)

* Create and switch to composite action for Docker Compose in Kubernetes deployment

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add missing inputs to composite action

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add input for hashed password and adapt variable names

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix input variable names

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add Docker Compose upgrade test workflow

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Get deploy script according to deployment_version input

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Hard-code branch for testing

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Re-add RTTY_TOKEN for testing previous release upgrades

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* [WIFI-7697] Move deploy related files from wlan-testing to wlan-cloud-ucentral-deploy (#472)

* Change composite actions and workflows to use wlan-cloud-ucentral-deploy repo

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Checkout target branch matching with deployment version

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Remove working-directory option

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Rename image version variables to enable search and replace in deploy script

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Remove defaults from action inputs

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Try removing owsub and owanalytics ports for 2.4 deployment

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Actually remove ports since commenting out doesn't work

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* [WIFI-7766] Switch Docker Compose testing workflow to deployment on EC2 (#499)

* Switch from Kubernetes pod to EC2 instance deployment

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix indentation

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add VPC subnet ID to use existing security group

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Move env variable definition to executed SSH command

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Remove defaults from inputs to avoid overwriting deployment_version

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix variable syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add my own SSH key for debugging

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Revert "Add my own SSH key for debugging"

This reverts commit e4a9fee140.

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Increase AWS instance size

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Update package lists before installing

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add curl insecure option and append self-signed REST API cert to AP cert trust store

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Pass FLAGS variable to clustersysteminfo Docker container

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Switch to github.run_number for uniqueness

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Start Docker manually on instance

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Install Docker using the repository

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Do not destroy created instances for debugging

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Quote selfsigned_restapi_ca

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Split SSH commands into multiple lines for better readability

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix typo

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Revert "Split SSH commands into multiple lines for better readability"

This reverts commit c08ec026cfe3915e36cef3215226b41dd0319ed8.

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Revert "Fix syntax"

This reverts commit f408cfd19f5cf01d6b1d1f78c930897f9442c7de.

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add debugging output for REST API CA cert

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add: RTTY_TOKEN env for older versions support

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>

* Download self-signed REST API CA cert directly to virtual AP

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Switch to self-signed certs

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix variable name

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix step name

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Change hostname and use sudo to add hosts entry

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Actually add IP to hosts entry

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix missing hostname in AP hosts entry

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Adapt Docker Compose upgrade workflow to EC2 instance deployment

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Configure Docker to log to logstash input

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix Docker daemon config

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add missing EOF

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix indentation

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Try to fix syntax again

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Use different delimiter

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix conflict after rebase

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix workflow syntax

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Disable StrictHostKeyChecking in workflow

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

Co-authored-by: Dmitry Dunaev <dmitry@opsfleet.com>

* Remove obsolete inputs and add RTTY_TOKEN to other workflows as well

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix value file names

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Wifi 7858 (#518)

* Crated a new file for FMS related testcases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed Fms system ifo test case from gateway service file

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Location related test cases of Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Location related functions for support

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the function name

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the allure attachment names on edit functions

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* WIFI-7868: Added multivlan scenarios in ow_sanity and removed Some of the rate limiting as they take a long time to complete

Added few up, dw, up+dw in rate limit for ow_sanity_lf

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* WIFI-7868 : Added dvlan and rate limit from radius in sanity suite and reduced the rate limiting tests as they are taking alot of time

Signed-off-by: shivam <shivam.thakur@candelatech.com>

* WIFI-7868 Adding some marker improvements to reduce number of test cases and increase coverage

optimised rate limiting, added dvlan, added rate limit with radius

Signed-off-by: shivam <shivam.thakur@candelatech.com>

Co-authored-by: Dmitry Dunaev <dmitry@opsfleet.com>
Co-authored-by: Dmitry Dunaev <83591011+dunaev-opsfleet@users.noreply.github.com>
Co-authored-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
Co-authored-by: Haricharan Jaka <87761091+haricharan-jaka@users.noreply.github.com>
This commit is contained in:
Shivam Thakur
2022-05-17 01:32:12 +05:30
committed by GitHub
parent d3aace48c2
commit 516358d1b5
26 changed files with 225 additions and 171 deletions

View File

@@ -541,6 +541,7 @@ class ProvUtils(ConfigureController):
self.check_response("PUT", resp, self.make_headers(), payload, uri)
return resp
def get_venue(self):
uri = self.build_url_prov("venue/")
print(uri)
@@ -959,4 +960,4 @@ if __name__ == '__main__':
# print(profile.get_ssid_info())
# # print(obj.get_devices())
# obj.logout()
obj.logout()

View File

@@ -13,7 +13,8 @@ import allure
@pytest.mark.uc_sanity
@pytest.mark.gw_all_api
@pytest.mark.ow_sanity_lf
@pytest.mark.owgw_api_tests
@allure.feature("SDK REST API")
class TestUcentralGatewayService(object):
"""
@@ -237,4 +238,4 @@ class TestUcentralGatewayService(object):
resp = setup_controller.get_device_status(device_name)
print(resp.json())
allure.attach(name="Device status", body=str(resp.json()), attachment_type=allure.attachment_type.JSON)
assert resp.status_code == 200

View File

@@ -12,8 +12,9 @@ import json
import allure
@pytest.mark.ow_sanity_lf
@pytest.mark.uc_sanity
@pytest.mark.prov_all_api
@pytest.mark.owprov_api_tests
@allure.feature("SDK PROV REST API")
class TestUcentralProvisionService(object):

View File

@@ -7,7 +7,10 @@ import pytest
import json
import allure
@pytest.mark.uc_sanity
@pytest.mark.ow_sanity_lf
@pytest.mark.owsec_api_tests
@allure.feature("SDK REST API")
class TestUcentralSecService(object):
"""
@@ -37,6 +40,7 @@ class TestUcentralSecService(object):
assert resp.status_code == 204
setup_controller.login()
'''
@pytest.mark.sdk_restapi
def test_secservice_system_endpoints(self, setup_controller):
"""
@@ -120,4 +124,4 @@ class TestUcentralSecService(object):
assert False
if system['start'] == '':
assert False
assert False

View File

@@ -4,7 +4,10 @@ import os
import time
import pandas as pd
pytestmark = [pytest.mark.regression, pytest.mark.dfs, pytest.mark.bridge]
pytestmark = [pytest.mark.regression,
pytest.mark.ow_sanity_lf,
pytest.mark.dfs,
pytest.mark.bridge]
setup_params_general1 = {
"mode": "BRIDGE",
@@ -25,6 +28,8 @@ setup_params_general1 = {
},
"radius": False
}
@pytest.mark.parametrize(
'setup_profiles',
[setup_params_general1],
@@ -32,7 +37,6 @@ setup_params_general1 = {
scope="class"
)
@pytest.mark.usefixtures("setup_profiles")
class TestDFSChannel52Bw80(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6376", name="WIFI-6376")
@pytest.mark.wpa2_personal
@@ -85,6 +89,7 @@ class TestDFSChannel52Bw80(object):
if not dfs_fail:
assert False
setup_params_general2 = {
"mode": "BRIDGE",
"ssid_modes": {
@@ -104,6 +109,8 @@ setup_params_general2 = {
},
"radius": False
}
@pytest.mark.parametrize(
'setup_profiles',
[setup_params_general2],
@@ -111,7 +118,6 @@ setup_params_general2 = {
scope="class"
)
@pytest.mark.usefixtures("setup_profiles")
class TestDFSChannel100Bw80(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6311", name="WIFI-6311")
@pytest.mark.wpa2_personal
@@ -164,6 +170,7 @@ class TestDFSChannel100Bw80(object):
if not dfs_fail:
assert False
# setup_params_general3 = {
# "mode": "BRIDGE",
# "ssid_modes": {
@@ -775,6 +782,8 @@ setup_params_general11 = {
},
"radius": False
}
@pytest.mark.parametrize(
'setup_profiles',
[setup_params_general11],
@@ -782,7 +791,6 @@ setup_params_general11 = {
scope="class"
)
@pytest.mark.usefixtures("setup_profiles")
class TestDFSChannel132Bw80(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6384", name="WIFI-6384")
@pytest.mark.wpa2_personal
@@ -981,4 +989,4 @@ class TestDFSChannel132Bw80(object):
# break
# time.sleep(1)
# if not dfs_fail:
# assert False
# assert False

View File

@@ -1,10 +1,9 @@
import allure
import pytest
pytestmark = [pytest.mark.client_connectivity,
pytestmark = [pytest.mark.ow_client_connectivity_lf, pytest.mark.ow_sanity_lf,
pytest.mark.bridge, pytest.mark.enterprise, pytest.mark.tls, pytest.mark.uc_sanity]
setup_params_enterprise = {
"mode": "BRIDGE",
"ssid_modes": {
@@ -23,6 +22,8 @@ setup_params_enterprise = {
}
@allure.suite(suite_name="OpenWifi Sanity LF")
@allure.sub_suite(sub_suite_name="Bridge Mode EAP TLS Client Connectivity : Suite-A")
@pytest.mark.parametrize(
'setup_profiles',
[setup_params_enterprise],
@@ -39,8 +40,8 @@ class TestBridgeModeEnterpriseTLSSuiteA(object):
@pytest.mark.wpa_enterprise
@pytest.mark.twog
def test_tls_wpa_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, setup_profiles, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
station_names_twog, setup_profiles, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and tts and twog"
"""
@@ -62,18 +63,18 @@ class TestBridgeModeEnterpriseTLSSuiteA(object):
# pk_passwd = radcius_info['pk_password']
# lf_tools.add_vlan(vlan)
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security, extra_securities=extra_secu,
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_twog,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_twog,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa_enterprise
@pytest.mark.fiveg
def test_tls_wpa_enterprise_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, setup_profiles, lf_test,
update_report, exit_on_fail,
test_cases, radius_info, get_ap_channel):
station_names_fiveg, setup_profiles, lf_test,
update_report, exit_on_fail,
test_cases, radius_info, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and tts and twog"
"""
@@ -95,17 +96,16 @@ class TestBridgeModeEnterpriseTLSSuiteA(object):
# pk_passwd = radcius_info['pk_password']
# lf_tools.add_vlan(vlan)
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security, extra_securities=extra_secu,
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_fiveg,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_fiveg,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa2_enterprise
@pytest.mark.twog
def test_tls_wpa2_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, setup_profiles, lf_test, update_report,
station_names_twog, setup_profiles, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and tts and twog"
@@ -126,18 +126,18 @@ class TestBridgeModeEnterpriseTLSSuiteA(object):
# pk_passwd = radius_info['pk_password']
# lf_tools.add_vlan(vlan)
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_twog,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_twog,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa2_enterprise
@pytest.mark.fiveg
def test_tls_wpa2_enterprise_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, setup_profiles, lf_test,
update_report, exit_on_fail,
test_cases, radius_info, get_ap_channel):
station_names_fiveg, setup_profiles, lf_test,
update_report, exit_on_fail,
test_cases, radius_info, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and tts and twog"
"""
@@ -157,17 +157,16 @@ class TestBridgeModeEnterpriseTLSSuiteA(object):
# pk_passwd = radius_info['pk_password']
# lf_tools.add_vlan(vlan)
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_fiveg,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_fiveg,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa3_enterprise
@pytest.mark.twog
@pytest.mark.shivam
def test_tls_wpa3_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, setup_profiles, lf_test, update_report,
station_names_twog, setup_profiles, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and tts and twog"
@@ -188,18 +187,18 @@ class TestBridgeModeEnterpriseTLSSuiteA(object):
# pk_passwd = radius_info['pk_password']
# lf_tools.add_vlan(vlan)
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_twog,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_twog,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa3_enterprise
@pytest.mark.fiveg
def test_tls_wpa3_enterprise_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, setup_profiles, lf_test,
update_report, exit_on_fail,
test_cases, radius_info, get_ap_channel):
station_names_fiveg, setup_profiles, lf_test,
update_report, exit_on_fail,
test_cases, radius_info, get_ap_channel):
""" wpa enterprise 5g
pytest -m "client_connectivity and bridge and enterprise and tts and twog"
"""
@@ -219,12 +218,13 @@ class TestBridgeModeEnterpriseTLSSuiteA(object):
# pk_passwd = radius_info['pk_password']
# lf_tools.add_vlan(vlan)
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_fiveg,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band, eap=eap, ttls_passwd=tls_passwd,
identity=identity, station_name=station_names_fiveg,
key_mgmt=key_mgmt, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
setup_params_enterprise_two = {
"mode": "BRIDGE",
"ssid_modes": {
@@ -239,8 +239,9 @@ setup_params_enterprise_two = {
"radius": True
}
@allure.suite(suite_name="sanity")
@allure.sub_suite(sub_suite_name="Bridge Mode EAP Client Connectivity : Suite-B")
@allure.suite(suite_name="OpenWifi Sanity LF")
@allure.sub_suite(sub_suite_name="Bridge Mode EAP TLS Client Connectivity : Suite-B")
@pytest.mark.suiteB
@pytest.mark.parametrize(
'setup_profiles',
@@ -257,7 +258,7 @@ class TestBridgeModeEnterpriseTLSSuiteTwo(object):
@pytest.mark.wpa_wpa2_enterprise_mixed
@pytest.mark.twog
def test_wpa_wpa2_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, setup_profiles, lf_test, update_report,
station_names_twog, setup_profiles, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and ttls and wpa_wpa2_enterprise_mixed and twog"
@@ -275,16 +276,16 @@ class TestBridgeModeEnterpriseTLSSuiteTwo(object):
eap = "TLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security, extra_securities=extra_secu,
mode=mode, band=band,
eap=eap, ttls_passwd=tls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=tls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa_wpa2_enterprise_mixed
@pytest.mark.fiveg
def test_wpa_wpa2_enterprise_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, setup_profiles, lf_test,
station_names_fiveg, setup_profiles, lf_test,
update_report, test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and ttls and wpa_wpa2_enterprise_mixed and fiveg"
@@ -302,15 +303,16 @@ class TestBridgeModeEnterpriseTLSSuiteTwo(object):
eap = "TLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security, extra_securities=extra_secu,
mode=mode, band=band,
eap=eap, ttls_passwd=tls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=tls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa3_enterprise_mixed
@pytest.mark.twog
def test_wpa3_enterprise_mixed_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, setup_profiles, lf_test,
station_names_twog, setup_profiles, lf_test,
update_report, test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and ttls and wpa3_enterprise_mixed and twog"
@@ -328,16 +330,16 @@ class TestBridgeModeEnterpriseTLSSuiteTwo(object):
eap = "TLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band,
eap=eap, ttls_passwd=tls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=tls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa3_enterprise_mixed
@pytest.mark.fiveg
def test_wpa3_enterprise_mixed_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, setup_profiles, lf_test,
station_names_fiveg, setup_profiles, lf_test,
update_report, exit_on_fail,
test_cases, radius_info, get_ap_channel):
""" wpa enterprise 2g
@@ -355,9 +357,8 @@ class TestBridgeModeEnterpriseTLSSuiteTwo(object):
eap = "TLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band,
eap=eap, ttls_passwd=tls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=tls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result

View File

@@ -7,7 +7,7 @@
import allure
import pytest
pytestmark = [pytest.mark.client_connectivity, pytest.mark.bridge, pytest.mark.enterprise, pytest.mark.ttls,
pytestmark = [pytest.mark.ow_client_connectivity_lf, pytest.mark.bridge, pytest.mark.enterprise, pytest.mark.ttls,
pytest.mark.ucentral, pytest.mark.sanity, pytest.mark.uc_sanity]
setup_params_enterprise = {
@@ -28,8 +28,8 @@ setup_params_enterprise = {
}
@allure.suite(suite_name="sanity")
@allure.sub_suite(sub_suite_name="Bridge Mode EAP Client Connectivity : Suite-A")
@allure.suite(suite_name="OpenWifi Sanity LF")
@allure.sub_suite(sub_suite_name="Bridge Mode EAP TTLS Client Connectivity : Suite-A")
@pytest.mark.suiteA
@pytest.mark.parametrize(
'setup_profiles',
@@ -45,8 +45,8 @@ class TestBridgeModeEnterpriseTTLSSuiteA(object):
@pytest.mark.wpa_enterprise
@pytest.mark.twog
def test_wpa_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test, update_report,
def test_wpa_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and ttls and wpa_enterprise and twog"
@@ -64,9 +64,9 @@ class TestBridgeModeEnterpriseTTLSSuiteA(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security, extra_securities=extra_secu,
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@@ -91,16 +91,16 @@ class TestBridgeModeEnterpriseTTLSSuiteA(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security, extra_securities=extra_secu,
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.sanity_light
@pytest.mark.wpa2_enterprise
@pytest.mark.twog
def test_wpa2_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test, update_report,
def test_wpa2_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and ttls and wpa2_enterprise and twog"
@@ -117,16 +117,16 @@ class TestBridgeModeEnterpriseTTLSSuiteA(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.sanity_light
@pytest.mark.wpa2_enterprise
@pytest.mark.fiveg
def test_wpa2_enterprise_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, lf_test, update_report,
def test_wpa2_enterprise_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and ttls and wpa2_enterprise and fiveg"
@@ -143,15 +143,15 @@ class TestBridgeModeEnterpriseTTLSSuiteA(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa3_enterprise
@pytest.mark.twog
def test_wpa3_enterprise_2g(self, get_ap_logs, get_lf_logs,
def test_wpa3_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
@@ -169,15 +169,15 @@ class TestBridgeModeEnterpriseTTLSSuiteA(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band, ieee80211w=2, key_mgmt="WPA-EAP-SHA256",
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band, ieee80211w=2, key_mgmt="WPA-EAP-SHA256",
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa3_enterprise
@pytest.mark.fiveg
def test_wpa3_enterprise_5g(self, get_ap_logs, get_lf_logs,
def test_wpa3_enterprise_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
@@ -195,9 +195,9 @@ class TestBridgeModeEnterpriseTTLSSuiteA(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band, ieee80211w=2, key_mgmt="WPA-EAP-SHA256",
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band, ieee80211w=2, key_mgmt="WPA-EAP-SHA256",
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@@ -217,8 +217,8 @@ setup_params_enterprise_two = {
}
@allure.suite(suite_name="sanity")
@allure.sub_suite(sub_suite_name="Bridge Mode EAP Client Connectivity : Suite-B")
@allure.suite(suite_name="OpenWifi Sanity LF")
@allure.sub_suite(sub_suite_name="Bridge Mode EAP TTLS Client Connectivity : Suite-B")
@pytest.mark.suiteB
@pytest.mark.parametrize(
'setup_profiles',
@@ -234,8 +234,8 @@ class TestBridgeModeEnterpriseTTLSSuiteTwo(object):
@pytest.mark.wpa_wpa2_enterprise_mixed
@pytest.mark.twog
def test_wpa_wpa2_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test, update_report,
def test_wpa_wpa2_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and ttls and wpa_wpa2_enterprise_mixed and twog"
@@ -253,16 +253,16 @@ class TestBridgeModeEnterpriseTTLSSuiteTwo(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security, extra_securities=extra_secu,
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa_wpa2_enterprise_mixed
@pytest.mark.fiveg
def test_wpa_wpa2_enterprise_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, lf_test,
def test_wpa_wpa2_enterprise_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, lf_test,
update_report, test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and ttls and wpa_wpa2_enterprise_mixed and fiveg"
@@ -280,16 +280,16 @@ class TestBridgeModeEnterpriseTTLSSuiteTwo(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security, extra_securities=extra_secu,
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa3_enterprise_mixed
@pytest.mark.twog
def test_wpa3_enterprise_mixed_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test,
def test_wpa3_enterprise_mixed_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test,
update_report, test_cases, radius_info, exit_on_fail, get_ap_channel):
""" wpa enterprise 2g
pytest -m "client_connectivity and bridge and enterprise and ttls and wpa3_enterprise_mixed and twog"
@@ -306,16 +306,16 @@ class TestBridgeModeEnterpriseTTLSSuiteTwo(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_twog, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result
@pytest.mark.wpa3_enterprise_mixed
@pytest.mark.fiveg
def test_wpa3_enterprise_mixed_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, lf_test,
def test_wpa3_enterprise_mixed_5g(self, get_ap_logs, get_lf_logs,
station_names_fiveg, lf_test,
update_report, exit_on_fail,
test_cases, radius_info, get_ap_channel):
""" wpa enterprise 2g
@@ -333,8 +333,8 @@ class TestBridgeModeEnterpriseTTLSSuiteTwo(object):
eap = "TTLS"
identity = radius_info['user']
passes, result = lf_test.EAP_Connect(ssid=ssid_name, security=security,
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
mode=mode, band=band,
eap=eap, ttls_passwd=ttls_passwd, identity=identity,
station_name=station_names_fiveg, vlan_id=vlan, ssid_channel=channel)
assert passes == "PASS", result

View File

@@ -8,7 +8,7 @@
import allure
import pytest
pytestmark = [pytest.mark.client_connectivity, pytest.mark.bridge, pytest.mark.general, pytest.mark.ucentral,
pytestmark = [pytest.mark.ow_client_connectivity_lf, pytest.mark.bridge, pytest.mark.general, pytest.mark.ucentral,
pytest.mark.sanity, pytest.mark.uc_sanity] # pytest.mark.usefixtures("setup_test_run")]
setup_params_general = {
@@ -29,7 +29,7 @@ setup_params_general = {
}
@allure.suite(suite_name="sanity")
@allure.suite(suite_name="OpenWifi Sanity LF")
@allure.sub_suite(sub_suite_name="Bridge Mode Client Connectivity : Suite-A")
@pytest.mark.suiteA
@pytest.mark.sudo
@@ -215,7 +215,7 @@ setup_params_general_two = {
}
@allure.suite(suite_name="sanity")
@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")

View File

@@ -4,15 +4,15 @@
pytest -m "multipsk and wpa2_personal and twog" -s -vvv --skip-testrail --testbed=basic-03 --alluredir=../allure_reports
wifi-3492
"""
import os
import time
import pytest
import allure
import pytest
pytestmark = [pytest.mark.regression, pytest.mark.multipsk, pytest.mark.bridge, pytest.mark.regression, pytest.mark.regression_multipsk]
pytestmark = [pytest.mark.regression,
pytest.mark.ow_sanity_lf,
pytest.mark.ow_multipsk_tests_lf,
pytest.mark.bridge]
setup_params_general = {
"mode": "BRIDGE",
@@ -85,8 +85,9 @@ class TestMultipskBridge(object):
station_name.append("sta" + str(vlan_id[0]))
station_name.append("sta00")
print(station_name)
multipsk_obj = lf_test.multipsk(ssid=ssid_name, security="wpa2", mode="BRIDGE",
vlan_id=vlan_id, key1=key1, key2=key2, band=band, station_name=station_name, n_vlan="1")
multipsk_obj = lf_test.multipsk(ssid=ssid_name, security="wpa2", mode="BRIDGE",
vlan_id=vlan_id, key1=key1, key2=key2, band=band, station_name=station_name,
n_vlan="1")
if multipsk_obj == True:
assert True
else:
@@ -121,7 +122,6 @@ class TestMultipskBridge(object):
station_name.append("sta" + str(i))
time.sleep(10)
station_name.append("sta00")
print(station_name)
multipsk_obj = lf_test.multipsk(ssid=ssid_name, security="wpa2", mode="BRIDGE",
@@ -131,4 +131,3 @@ class TestMultipskBridge(object):
assert True
else:
assert False

View File

@@ -5,8 +5,9 @@ Rate LImiting Bridge Mode Scenario
import allure
import pytest
pytestmark = [pytest.mark.rate_limiting, pytest.mark.bridge, pytest.mark.general, pytest.mark.ucentral,
pytest.mark.regression]
pytestmark = [pytest.mark.regression,
pytest.mark.ow_rate_limiting_tests_lf,
pytest.mark.bridge]
setup_params_general = {
"mode": "BRIDGE",
@@ -110,6 +111,7 @@ class TestRateLimitingBridge(object):
@pytest.mark.wpa2_personal
@pytest.mark.twog
@pytest.mark.up_dw
@pytest.mark.ow_sanity_lf
@pytest.mark.batch_size_125
@allure.story('Rate Limiting Open SSID 2.4 GHZ Band')
def test_wpa2_personal_ssid_up_dw_batch_size_125_2g(self, lf_test, get_vif_state, lf_tools):

View File

@@ -7,7 +7,9 @@ import pytest
from configuration import RATE_LIMITING_RADIUS_SERVER_DATA
from configuration import RATE_LIMITING_RADIUS_ACCOUNTING_DATA
pytestmark = [pytest.mark.regression, pytest.mark.rate_limiting_with_radius, pytest.mark.bridge]
pytestmark = [pytest.mark.regression,
pytest.mark.rate_limiting_with_radius,
pytest.mark.bridge]
setup_params_general = {
@@ -54,6 +56,7 @@ class TestRateLimitingWithRadiusBridge(object):
@pytest.mark.wpa2_enterprise
@pytest.mark.twog
@pytest.mark.ow_sanity_lf
@pytest.mark.twog_upload_per_ssid
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-5849", name="WIFI-5849")
def test_radius_server_2g_upload_per_ssid(self, lf_test, lf_tools, rate_radius_info, rate_radius_accounting_info, station_names_twog):
@@ -89,6 +92,7 @@ class TestRateLimitingWithRadiusBridge(object):
@pytest.mark.wpa2_enterprise
@pytest.mark.twog
@pytest.mark.twog_download_perssid_persta
@pytest.mark.ow_sanity_lf
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-5850", name="WIFI-5850")
def test_radius_server_2g_download_perssid_persta(self, lf_test, lf_tools, rate_radius_info, rate_radius_accounting_info,
station_names_twog):

View File

@@ -1,7 +1,7 @@
import allure
import pytest
pytestmark = [pytest.mark.client_connectivity,
pytestmark = [pytest.mark.ow_client_connectivity_lf,
pytest.mark.nat, pytest.mark.enterprise, pytest.mark.tls, pytest.mark.uc_sanity]
setup_params_enterprise = {

View File

@@ -1,8 +1,13 @@
import allure
import pytest
pytestmark = [pytest.mark.client_connectivity, pytest.mark.nat, pytest.mark.enterprise, pytest.mark.ttls,
pytest.mark.ucentral, pytest.mark.sanity, pytest.mark.uc_sanity]
pytestmark = [pytest.mark.ow_sanity_lf,
pytest.mark.ow_client_connectivity_lf,
pytest.mark.nat,
pytest.mark.enterprise,
pytest.mark.ttls,
pytest.mark.sanity,
pytest.mark.uc_sanity]
setup_params_enterprise = {
"mode": "NAT",
@@ -21,7 +26,7 @@ setup_params_enterprise = {
"radius": True
}
@allure.feature("NAT MODE CLIENT CONNECTIVITY")
@pytest.mark.parametrize(
'setup_profiles',
[setup_params_enterprise],
@@ -33,6 +38,7 @@ class TestNATModeEnterpriseTTLSSuiteOne(object):
@pytest.mark.wpa_enterprise
@pytest.mark.twog
@allure.story('open 2.4 GHZ Band')
def test_wpa_enterprise_2g(self, get_ap_logs, get_lf_logs,
station_names_twog, lf_test, update_report,
test_cases, radius_info, exit_on_fail, get_ap_channel):

View File

@@ -8,7 +8,7 @@
import allure
import pytest
pytestmark = [pytest.mark.client_connectivity, pytest.mark.nat, pytest.mark.general, pytest.mark.sanity,
pytestmark = [pytest.mark.ow_client_connectivity_lf, pytest.mark.nat, pytest.mark.general, pytest.mark.sanity,
pytest.mark.uc_sanity, pytest.mark.ucentral]
setup_params_general = {

View File

@@ -4,14 +4,14 @@
pytest -m "multipsk and wpa2_personal and twog" -s -vvv --skip-testrail --testbed=basic-03 --alluredir=../allure_reports
wifi-3492
"""
import os
import time
import pytest
import allure
import pytest
pytestmark = [pytest.mark.regression, pytest.mark.multipsk, pytest.mark.nat, pytest.mark.regression, pytest.mark.regression_multipsk]
# pytest.mark.usefixtures("setup_test_run")]
pytestmark = [pytest.mark.regression,
pytest.mark.ow_sanity_lf,
pytest.mark.ow_multipsk_tests_lf,
pytest.mark.nat]
setup_params_general = {

View File

@@ -5,8 +5,11 @@ Rate LImiting Nat Mode Scenario
import allure
import pytest
# pytestmark = [pytest.mark.rate_limiting, pytest.mark.nat, pytest.mark.general, pytest.mark.ucentral,
# pytest.mark.regression]
pytestmark = [pytest.mark.regression,
pytest.mark.ow_rate_limiting_tests_lf,
pytest.mark.nat]
setup_params_general = {
"mode": "NAT",
@@ -111,6 +114,7 @@ class TestRateLimitingNat(object):
@pytest.mark.twog
@pytest.mark.up_dw
@pytest.mark.batch_size_125
@pytest.mark.ow_sanity_lf
@allure.story('Rate Limiting Open SSID 2.4 GHZ Band')
def test_wpa2_personal_nat_ssid_up_dw_batch_size_125_2g(self, lf_test, get_vif_state, lf_tools):
"""

View File

@@ -1,7 +1,7 @@
import allure
import pytest
pytestmark = [pytest.mark.client_connectivity,
pytestmark = [pytest.mark.ow_client_connectivity_lf,
pytest.mark.vlan, pytest.mark.enterprise, pytest.mark.tls, pytest.mark.uc_sanity]
setup_params_enterprise = {

View File

@@ -1,7 +1,7 @@
import allure
import pytest
pytestmark = [pytest.mark.client_connectivity, pytest.mark.vlan, pytest.mark.enterprise, pytest.mark.ttls,
pytestmark = [pytest.mark.ow_client_connectivity_lf, pytest.mark.vlan, pytest.mark.enterprise, pytest.mark.ttls,
pytest.mark.ucentral, pytest.mark.sanity] # pytest.mark.usefixtures("setup_test_run")
setup_params_enterprise = {

View File

@@ -8,8 +8,11 @@
import allure
import pytest
pytestmark = [pytest.mark.client_connectivity, pytest.mark.vlan, pytest.mark.general, pytest.mark.ucentral,
pytest.mark.sanity] # pytest.mark.usefixtures("setup_test_run")]
pytestmark = [pytest.mark.ow_sanity_lf,
pytest.mark.ow_client_connectivity_lf,
pytest.mark.vlan,
pytest.mark.general,
pytest.mark.sanity]
setup_params_general = {
"mode": "VLAN",
@@ -30,7 +33,7 @@ setup_params_general = {
@pytest.mark.uc_sanity
@pytest.mark.suiteA
@allure.feature("vlan MODE CLIENT CONNECTIVITY")
@allure.feature("VLAN MODE CLIENT CONNECTIVITY")
@pytest.mark.parametrize(
'setup_profiles',
[setup_params_general],

View File

@@ -11,7 +11,11 @@ import pytest
from configuration import DYNAMIC_VLAN_RADIUS_SERVER_DATA
from configuration import DYNAMIC_VLAN_RADIUS_ACCOUNTING_DATA
pytestmark = [pytest.mark.regression, pytest.mark.dynamic_vlan, pytest.mark.wpa2_enterprise, pytest.mark.vlan,pytest.mark.fiveg]
pytestmark = [pytest.mark.regression,
pytest.mark.ow_sanity_lf,
pytest.mark.dynamic_vlan,
pytest.mark.wpa2_enterprise,
pytest.mark.fiveg]
setup_params_general = {
"mode": "VLAN",

View File

@@ -12,7 +12,9 @@ import time
from configuration import DYNAMIC_VLAN_RADIUS_SERVER_DATA
from configuration import DYNAMIC_VLAN_RADIUS_ACCOUNTING_DATA
pytestmark = [pytest.mark.regression, pytest.mark.dynamic_vlan, pytest.mark.wpa2_enterprise, pytest.mark.vlan,
pytestmark = [pytest.mark.regression,
pytest.mark.dynamic_vlan,
pytest.mark.wpa2_enterprise,
pytest.mark.fiveg]
setup_params_general = {
@@ -44,6 +46,7 @@ class TestDynamicVlan5GWpa2(object):
@pytest.mark.absence_of_radius_vlan_identifier
@pytest.mark.wpa2_enterprise
@pytest.mark.fiveg
@pytest.mark.ow_sanity_lf
@allure.testcase(name="test_ssid_vlan_in_the_absence_of_radius_vlan_identifier",
url="https://telecominfraproject.atlassian.net/browse/WIFI-5704")
def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_5g_wpa2(self, get_vif_state, lf_tools, get_lf_logs, get_ap_logs,

View File

@@ -11,7 +11,11 @@ import pytest
from configuration import DYNAMIC_VLAN_RADIUS_SERVER_DATA
from configuration import DYNAMIC_VLAN_RADIUS_ACCOUNTING_DATA
pytestmark = [pytest.mark.regression, pytest.mark.dynamic_vlan, pytest.mark.wpa2_enterprise, pytest.mark.vlan,pytest.mark.twog]
pytestmark = [pytest.mark.regression,
pytest.mark.ow_sanity_lf,
pytest.mark.dynamic_vlan,
pytest.mark.wpa2_enterprise,
pytest.mark.twog]
setup_params_general = {
"mode": "VLAN",

View File

@@ -12,7 +12,9 @@ import time
from configuration import DYNAMIC_VLAN_RADIUS_SERVER_DATA
from configuration import DYNAMIC_VLAN_RADIUS_ACCOUNTING_DATA
pytestmark = [pytest.mark.regression, pytest.mark.dynamic_vlan, pytest.mark.wpa2_enterprise, pytest.mark.vlan,
pytestmark = [pytest.mark.regression,
pytest.mark.dynamic_vlan,
pytest.mark.wpa2_enterprise,
pytest.mark.twog]
setup_params_general = {
@@ -44,6 +46,7 @@ class TestDynamicVlan2GWpa2(object):
@pytest.mark.absence_of_radius_vlan_identifier
@pytest.mark.wpa2_enterprise
@pytest.mark.twog
@pytest.mark.ow_sanity_lf
@allure.testcase(name="test_ssid_vlan_in_the_absence_of_radius_vlan_identifier",
url="https://telecominfraproject.atlassian.net/browse/WIFI-5704")
def test_ssid_vlan_in_the_absence_of_radius_vlan_identifier_2g_wpa2(self, get_vif_state, lf_tools, get_lf_logs, get_ap_logs,

View File

@@ -7,7 +7,9 @@ import time
import allure
import pytest
pytestmark = [pytest.mark.vlan, pytest.mark.multi_vlan, pytest.mark.test_vlan_config_5g_radio, pytest.mark.fiveg]
pytestmark = [pytest.mark.ow_sanity_lf,
pytest.mark.multi_vlan,
pytest.mark.fiveg]
setup_params_general = {
"mode": "VLAN",
@@ -17,7 +19,7 @@ setup_params_general = {
"wpa": [{"ssid_name": "ssid_wpa_5g", "appliedRadios": ["5G"],
"security_key": "something", "vlan": 125}],
"wpa2_personal":[
"wpa2_personal": [
{"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"],
"security_key": "something", "vlan": 200}],
@@ -45,7 +47,7 @@ class TestVlanConfigFivegRadio(object):
@allure.testcase(name="test_station_ip_wpa_ssid_5g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2169")
def test_station_ip_wpa_ssid_5g(self, lf_test, lf_tools,
update_report, station_names_fiveg,
station_names_fiveg,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa, fiveg
@@ -60,7 +62,7 @@ class TestVlanConfigFivegRadio(object):
vlan = 125
lanforge_data = get_configuration["traffic_generator"]["details"]
upstream_port = lanforge_data["upstream"]
print("upstream_port: ",upstream_port)
print("upstream_port: ", upstream_port)
port_resources = upstream_port.split(".")
lf_test.Client_disconnect(station_names_fiveg)
passes, result = lf_test.Client_Connectivity(ssid=ssid_name, security=security,
@@ -101,7 +103,7 @@ class TestVlanConfigFivegRadio(object):
@allure.testcase(name="test_station_ip_wpa2_ssid_5g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2157")
def test_station_ip_wpa2_ssid_5g(self, lf_test, lf_tools,
update_report, station_names_fiveg,
station_names_fiveg,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa2, fiveg
@@ -149,7 +151,7 @@ class TestVlanConfigFivegRadio(object):
@allure.testcase(name="test_disable_vlan_wpa2_ssid_5g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2174")
def test_disable_vlan_wpa2_ssid_5g(self, lf_test, lf_tools,
update_report, station_names_fiveg,
station_names_fiveg,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa2, fiveg
@@ -204,7 +206,7 @@ class TestVlanConfigFivegRadio(object):
@allure.testcase(name="test_station_ip_open_ssid_5g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2161")
def test_station_ip_open_ssid_5g(self, lf_test, lf_tools,
update_report, station_names_fiveg,
station_names_fiveg,
test_cases, get_configuration):
"""
Client connectivity using vlan, open, fiveg
@@ -259,7 +261,7 @@ class TestVlanConfigFivegRadio(object):
@allure.testcase(name="test_station_ip_wpa_wpa2_personal_ssid_5g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2167")
def test_station_ip_wpa_wpa2_personal_ssid_5g(self, lf_test,
lf_tools, update_report, station_names_fiveg,
lf_tools, station_names_fiveg,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa, wpa2, fiveg
@@ -316,8 +318,8 @@ class TestVlanConfigFivegRadio(object):
@allure.testcase(name="test_station_ip_wpa2_personal_ssid_5g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2172")
def test_enable_vlan_wpa2_ssid_5g(self, lf_test, lf_tools,
update_report, station_names_fiveg,
test_cases, get_configuration):
station_names_fiveg,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa2, fiveg
pytest -m enable_vlan_fiveg
@@ -367,4 +369,4 @@ class TestVlanConfigFivegRadio(object):
try:
lf_test.Client_disconnect(station_names_fiveg)
except:
pass
pass

View File

@@ -5,8 +5,9 @@ Rate LImiting Vlan Mode Scenario
import allure
import pytest
# pytestmark = [pytest.mark.rate_limiting, pytest.mark.vlan, pytest.mark.general, pytest.mark.ucentral,
# pytest.mark.regression]
pytestmark = [pytest.mark.regression,
pytest.mark.ow_rate_limiting_tests_lf,
pytest.mark.vlan]
setup_params_general = {
"mode": "VLAN",
@@ -111,6 +112,7 @@ class TestRateLimitingVlan(object):
@pytest.mark.twog
@pytest.mark.up_dw
@pytest.mark.batch_size_125
@pytest.mark.ow_sanity_lf
@allure.story('Rate Limiting Open SSID 2.4 GHZ Band')
def test_wpa2_personal_vlan_ssid_up_dw_batch_size_125_2g(self, lf_test, get_vif_state, lf_tools):
"""

View File

@@ -7,7 +7,9 @@ import time
import allure
import pytest
pytestmark = [pytest.mark.vlan, pytest.mark.multi_vlan, pytest.mark.test_vlan_config_2g_radio, pytest.mark.twog]
pytestmark = [pytest.mark.ow_sanity_lf,
pytest.mark.multi_vlan,
pytest.mark.twog]
setup_params_general = {
"mode": "VLAN",
@@ -43,7 +45,7 @@ class TestVlanConfigTwogRadio(object):
@allure.testcase(name="test_station_ip_wpa_ssid_2g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2168")
def test_station_ip_wpa_ssid_2g(self, lf_test, lf_tools,
update_report, station_names_twog,
station_names_twog,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa, twog
@@ -97,7 +99,7 @@ class TestVlanConfigTwogRadio(object):
@allure.testcase(name="test_station_ip_wpa2_ssid_2g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2156")
def test_station_ip_wpa2_ssid_2g(self, lf_test, lf_tools,
update_report, station_names_twog,
station_names_twog,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa2, twog
@@ -144,7 +146,7 @@ class TestVlanConfigTwogRadio(object):
@allure.testcase(name="test_disable_vlan_wpa2_ssid_2g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2158")
def test_disable_vlan_wpa2_ssid_2g(self, lf_test, lf_tools,
update_report, station_names_twog,
station_names_twog,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa2, twog
@@ -199,7 +201,7 @@ class TestVlanConfigTwogRadio(object):
@allure.testcase(name="test_station_ip_open_ssid_2g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2160")
def test_station_ip_open_ssid_2g(self, lf_test, lf_tools,
update_report, station_names_twog,
station_names_twog,
test_cases, get_configuration):
"""
Client connectivity using vlan, open, twog
@@ -253,7 +255,7 @@ class TestVlanConfigTwogRadio(object):
@allure.testcase(name="test_station_ip_wpa_wpa2_personal_ssid_2g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2166")
def test_station_ip_wpa_wpa2_personal_ssid_2g(self, lf_test,
lf_tools, update_report, station_names_twog,
lf_tools, station_names_twog,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa, wpa2, twog
@@ -309,7 +311,7 @@ class TestVlanConfigTwogRadio(object):
@allure.testcase(name="test_station_ip_wpa2_personal_ssid_2g",
url="https://telecominfraproject.atlassian.net/browse/WIFI-2172")
def test_enable_vlan_wpa2_ssid_2g(self, lf_test, lf_tools,
update_report, station_names_twog,
station_names_twog,
test_cases, get_configuration):
"""
Client connectivity using vlan, wpa2, twog