mirror of
				https://github.com/Telecominfraproject/wlan-testing.git
				synced 2025-10-31 19:08:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			109 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			109 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/python3
 | |
| 
 | |
| ##AP Models Under Test
 | |
| ap_models = ["ec420","ea8300","ecw5211","ecw5410"]
 | |
| 
 | |
| ##Cloud Type(cloudSDK = v1, CMAP = cmap)
 | |
| cloud_type = "v1"
 | |
| 
 | |
| ##RADIUS Info
 | |
| radius_info = {
 | |
| 
 | |
|     "name": "Lab-RADIUS",
 | |
|     "subnet_name": "Lab",
 | |
|     "subnet": "10.10.0.0",
 | |
|     "subnet_mask": 16,
 | |
|     "region": "Toronto",
 | |
|     "server_name": "Lab-RADIUS",
 | |
|     "server_ip": "10.10.10.203",
 | |
|     "secret": "testing123",
 | |
|     "auth_port": 1812
 | |
| }
 | |
| ##AP Models for firmware upload
 | |
| cloud_sdk_models = {
 | |
|     "ec420": "EC420-G1",
 | |
|     "ea8300": "EA8300-CA",
 | |
|     "ecw5211": "ECW5211",
 | |
|     "ecw5410": "ECW5410",
 | |
|     "wf188n": "WF188N",
 | |
|     "eap101": "EAP101",
 | |
|     "eap102": "EAP102"
 | |
| }
 | |
| 
 | |
| mimo_5g = {
 | |
|     "ec420": "4x4",
 | |
|     "ea8300": "2x2",
 | |
|     "ecw5211": "2x2",
 | |
|     "ecw5410": "4x4"
 | |
| }
 | |
| 
 | |
| mimo_2dot4g = {
 | |
|     "ec420": "2x2",
 | |
|     "ea8300": "2x2",
 | |
|     "ecw5211": "2x2",
 | |
|     "ecw5410": "4x4"
 | |
| }
 | |
| 
 | |
| ##Customer ID for testing
 | |
| customer_id = "2"
 | |
| 
 | |
| ##Test Case information - Maps a generic TC name to TestRail TC numbers
 | |
| test_cases = {
 | |
|     "ap_upgrade": 2233,
 | |
|     "5g_wpa2_bridge": 2236,
 | |
|     "2g_wpa2_bridge": 2237,
 | |
|     "5g_wpa_bridge": 2419,
 | |
|     "2g_wpa_bridge": 2420,
 | |
|     "2g_wpa_nat": 4323,
 | |
|     "5g_wpa_nat": 4324,
 | |
|     "2g_wpa2_nat": 4325,
 | |
|     "5g_wpa2_nat": 4326,
 | |
|     "2g_eap_bridge": 5214,
 | |
|     "5g_eap_bridge": 5215,
 | |
|     "2g_eap_nat": 5216,
 | |
|     "5g_eap_nat": 5217,
 | |
|     "cloud_connection": 5222,
 | |
|     "cloud_fw": 5247,
 | |
|     "5g_wpa2_vlan": 5248,
 | |
|     "5g_wpa_vlan": 5249,
 | |
|     "5g_eap_vlan": 5250,
 | |
|     "2g_wpa2_vlan": 5251,
 | |
|     "2g_wpa_vlan": 5252,
 | |
|     "2g_eap_vlan": 5253,
 | |
|     "cloud_ver": 5540,
 | |
|     "bridge_vifc": 5541,
 | |
|     "nat_vifc": 5542,
 | |
|     "vlan_vifc": 5543,
 | |
|     "bridge_vifs": 5544,
 | |
|     "nat_vifs": 5545,
 | |
|     "vlan_vifs": 5546,
 | |
|     "upgrade_api": 5547,
 | |
|     "create_fw": 5548,
 | |
|     "ap_bridge": 5641,
 | |
|     "ap_nat": 5642,
 | |
|     "ap_vlan": 5643,
 | |
|     "ssid_2g_eap_bridge": 5644,
 | |
|     "ssid_2g_wpa2_bridge": 5645,
 | |
|     "ssid_2g_wpa_bridge": 5646,
 | |
|     "ssid_5g_eap_bridge": 5647,
 | |
|     "ssid_5g_wpa2_bridge": 5648,
 | |
|     "ssid_5g_wpa_bridge": 5649,
 | |
|     "ssid_2g_eap_nat": 5650,
 | |
|     "ssid_2g_wpa2_nat": 5651,
 | |
|     "ssid_2g_wpa_nat": 5652,
 | |
|     "ssid_5g_eap_nat": 5653,
 | |
|     "ssid_5g_wpa2_nat": 5654,
 | |
|     "ssid_5g_wpa_nat": 5655,
 | |
|     "ssid_2g_eap_vlan": 5656,
 | |
|     "ssid_2g_wpa2_vlan": 5657,
 | |
|     "ssid_2g_wpa_vlan": 5658,
 | |
|     "ssid_5g_eap_vlan": 5659,
 | |
|     "ssid_5g_wpa2_vlan": 5660,
 | |
|     "ssid_5g_wpa_vlan": 5661,
 | |
|     "radius_profile": 5808
 | |
| }
 | |
| 
 | |
| ## Other profiles
 | |
| radius_profile = 129
 | |
| rf_profile = 10
 | 
