mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-01 11:28:09 +00:00
Add test-bed config
This test bed is similar to 'real' test beds, but uses a less capable LANforge system with only 3 radios. DUT is a Linksys MR8300 (aka EA8300).
This commit is contained in:
10
testbeds/ben-home/228_sta_scenario.txt
Normal file
10
testbeds/ben-home/228_sta_scenario.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
profile_link 1.1 STA-AC 64 'DUT: mr8300 Radio-2' NA wiphy0,AUTO -1
|
||||||
|
profile_link 1.1 STA-AC 100 'DUT: mr8300 Radio-1' NA wiphy1,AUTO -1
|
||||||
|
profile_link 1.1 STA-AC 64 'DUT: mr8300 Radio-3' NA wiphy2,AUTO -1
|
||||||
|
profile_link 1.1 upstream-dhcp 1 'DUT: mr8300 LAN' NA eth0,AUTO -1
|
||||||
|
profile_link 1.1 uplink-nat 1 'DUT: uplink LAN 192.168.3.5/24' NA eth1,eth0 -1
|
||||||
|
dut uplink 323 37
|
||||||
|
dut mr8300 459 125
|
||||||
|
resource 1.1 244 252
|
||||||
|
|
||||||
|
|
||||||
74
testbeds/ben-home/AP-Auto-ap-auto-228.txt
Normal file
74
testbeds/ben-home/AP-Auto-ap-auto-228.txt
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
[BLANK]
|
||||||
|
sel_port-0: 1.1.eth0
|
||||||
|
show_events: 1
|
||||||
|
show_log: 0
|
||||||
|
port_sorting: 0
|
||||||
|
bg: 0xE0ECF8
|
||||||
|
test_rig:
|
||||||
|
show_scan: 1
|
||||||
|
auto_helper: 1
|
||||||
|
skip_2: 1
|
||||||
|
skip_5: 1
|
||||||
|
dut5-0: mr8300 OpenWrt-5hi
|
||||||
|
dut2-0: mr8300 OpenWrt-2
|
||||||
|
dut5-1: NA
|
||||||
|
dut2-1: NA
|
||||||
|
dut5-2: NA
|
||||||
|
dut2-2: NA
|
||||||
|
spatial_streams: AUTO
|
||||||
|
bandw_options: AUTO
|
||||||
|
modes: Auto
|
||||||
|
upstream_port: 1.1.1 eth0
|
||||||
|
operator:
|
||||||
|
mconn: 1
|
||||||
|
tos: 0
|
||||||
|
vid_buf: 1000000
|
||||||
|
vid_speed: 700000
|
||||||
|
reset_stall_thresh_udp_dl: 100000
|
||||||
|
reset_stall_thresh_udp_ul: 100000
|
||||||
|
reset_stall_thresh_tcp_dl: 100000
|
||||||
|
reset_stall_thresh_tcp_ul: 100000
|
||||||
|
reset_stall_thresh_l4: 100000
|
||||||
|
reset_stall_thresh_voip: 20000
|
||||||
|
stab_udp_dl_min: 500000
|
||||||
|
stab_udp_dl_max: 0
|
||||||
|
stab_udp_ul_min: 500000
|
||||||
|
stab_udp_ul_max: 0
|
||||||
|
stab_tcp_dl_min: 500000
|
||||||
|
stab_tcp_dl_max: 0
|
||||||
|
stab_tcp_ul_min: 500000
|
||||||
|
stab_tcp_ul_max: 0
|
||||||
|
dl_speed: 85%
|
||||||
|
ul_speed: 85%
|
||||||
|
max_stations_2: 100
|
||||||
|
max_stations_5: 128
|
||||||
|
max_stations_dual: 228
|
||||||
|
lt_sta: 2
|
||||||
|
voip_calls: 20
|
||||||
|
lt_dur: 3600
|
||||||
|
reset_dur: 3600
|
||||||
|
lt_gi: 30
|
||||||
|
dur20: 20
|
||||||
|
hunt_retries: 1
|
||||||
|
cap_dl: 1
|
||||||
|
cap_ul: 0
|
||||||
|
cap_use_pkt_sizes: 0
|
||||||
|
stability_reset_radios: 0
|
||||||
|
pkt_loss_thresh: 10000
|
||||||
|
frame_sizes: 200, 512, 1024, MTU
|
||||||
|
capacities: 1, 2, 5, 10, 20, 40, 64, 128, 256, 512, 1024, MAX
|
||||||
|
radio2-0: 1.1.4 wiphy1
|
||||||
|
radio5-0: 1.1.3 wiphy0
|
||||||
|
radio5-1: 1.1.5 wiphy2
|
||||||
|
basic_cx: 1
|
||||||
|
tput: 0
|
||||||
|
dual_band_tput: 0
|
||||||
|
capacity: 0
|
||||||
|
longterm: 0
|
||||||
|
mix_stability: 0
|
||||||
|
loop_iter: 1
|
||||||
|
reset_batch_size: 1
|
||||||
|
reset_duration_min: 10000
|
||||||
|
reset_duration_max: 60000
|
||||||
|
|
||||||
|
|
||||||
290
testbeds/ben-home/WCT-228sta.txt
Normal file
290
testbeds/ben-home/WCT-228sta.txt
Normal file
@@ -0,0 +1,290 @@
|
|||||||
|
[BLANK]
|
||||||
|
sel_port-0: 1.1.eth0
|
||||||
|
sel_port-1: 1.1.sta00000
|
||||||
|
sel_port-2: 1.1.sta00001
|
||||||
|
sel_port-3: 1.1.sta00002
|
||||||
|
sel_port-4: 1.1.sta00003
|
||||||
|
sel_port-5: 1.1.sta00004
|
||||||
|
sel_port-6: 1.1.sta00005
|
||||||
|
sel_port-7: 1.1.sta00006
|
||||||
|
sel_port-8: 1.1.sta00007
|
||||||
|
sel_port-9: 1.1.sta00008
|
||||||
|
sel_port-10: 1.1.sta00009
|
||||||
|
sel_port-11: 1.1.sta00010
|
||||||
|
sel_port-12: 1.1.sta00011
|
||||||
|
sel_port-13: 1.1.sta00012
|
||||||
|
sel_port-14: 1.1.sta00013
|
||||||
|
sel_port-15: 1.1.sta00014
|
||||||
|
sel_port-16: 1.1.sta00015
|
||||||
|
sel_port-17: 1.1.sta00016
|
||||||
|
sel_port-18: 1.1.sta00017
|
||||||
|
sel_port-19: 1.1.sta00018
|
||||||
|
sel_port-20: 1.1.sta00019
|
||||||
|
sel_port-21: 1.1.sta00020
|
||||||
|
sel_port-22: 1.1.sta00021
|
||||||
|
sel_port-23: 1.1.sta00022
|
||||||
|
sel_port-24: 1.1.sta00023
|
||||||
|
sel_port-25: 1.1.sta00024
|
||||||
|
sel_port-26: 1.1.sta00025
|
||||||
|
sel_port-27: 1.1.sta00026
|
||||||
|
sel_port-28: 1.1.sta00027
|
||||||
|
sel_port-29: 1.1.sta00028
|
||||||
|
sel_port-30: 1.1.sta00029
|
||||||
|
sel_port-31: 1.1.sta00030
|
||||||
|
sel_port-32: 1.1.sta00031
|
||||||
|
sel_port-33: 1.1.sta00032
|
||||||
|
sel_port-34: 1.1.sta00033
|
||||||
|
sel_port-35: 1.1.sta00034
|
||||||
|
sel_port-36: 1.1.sta00035
|
||||||
|
sel_port-37: 1.1.sta00036
|
||||||
|
sel_port-38: 1.1.sta00037
|
||||||
|
sel_port-39: 1.1.sta00038
|
||||||
|
sel_port-40: 1.1.sta00039
|
||||||
|
sel_port-41: 1.1.sta00040
|
||||||
|
sel_port-42: 1.1.sta00041
|
||||||
|
sel_port-43: 1.1.sta00042
|
||||||
|
sel_port-44: 1.1.sta00043
|
||||||
|
sel_port-45: 1.1.sta00044
|
||||||
|
sel_port-46: 1.1.sta00045
|
||||||
|
sel_port-47: 1.1.sta00046
|
||||||
|
sel_port-48: 1.1.sta00047
|
||||||
|
sel_port-49: 1.1.sta00048
|
||||||
|
sel_port-50: 1.1.sta00049
|
||||||
|
sel_port-51: 1.1.sta00050
|
||||||
|
sel_port-52: 1.1.sta00051
|
||||||
|
sel_port-53: 1.1.sta00052
|
||||||
|
sel_port-54: 1.1.sta00053
|
||||||
|
sel_port-55: 1.1.sta00054
|
||||||
|
sel_port-56: 1.1.sta00055
|
||||||
|
sel_port-57: 1.1.sta00056
|
||||||
|
sel_port-58: 1.1.sta00057
|
||||||
|
sel_port-59: 1.1.sta00058
|
||||||
|
sel_port-60: 1.1.sta00059
|
||||||
|
sel_port-61: 1.1.sta00060
|
||||||
|
sel_port-62: 1.1.sta00061
|
||||||
|
sel_port-63: 1.1.sta00062
|
||||||
|
sel_port-64: 1.1.sta00063
|
||||||
|
sel_port-65: 1.1.sta00500
|
||||||
|
sel_port-66: 1.1.sta00501
|
||||||
|
sel_port-67: 1.1.sta00502
|
||||||
|
sel_port-68: 1.1.sta00503
|
||||||
|
sel_port-69: 1.1.sta00504
|
||||||
|
sel_port-70: 1.1.sta00505
|
||||||
|
sel_port-71: 1.1.sta00506
|
||||||
|
sel_port-72: 1.1.sta00507
|
||||||
|
sel_port-73: 1.1.sta00508
|
||||||
|
sel_port-74: 1.1.sta00509
|
||||||
|
sel_port-75: 1.1.sta00510
|
||||||
|
sel_port-76: 1.1.sta00511
|
||||||
|
sel_port-77: 1.1.sta00512
|
||||||
|
sel_port-78: 1.1.sta00513
|
||||||
|
sel_port-79: 1.1.sta00514
|
||||||
|
sel_port-80: 1.1.sta00515
|
||||||
|
sel_port-81: 1.1.sta00516
|
||||||
|
sel_port-82: 1.1.sta00517
|
||||||
|
sel_port-83: 1.1.sta00518
|
||||||
|
sel_port-84: 1.1.sta00519
|
||||||
|
sel_port-85: 1.1.sta00520
|
||||||
|
sel_port-86: 1.1.sta00521
|
||||||
|
sel_port-87: 1.1.sta00522
|
||||||
|
sel_port-88: 1.1.sta00523
|
||||||
|
sel_port-89: 1.1.sta00524
|
||||||
|
sel_port-90: 1.1.sta00525
|
||||||
|
sel_port-91: 1.1.sta00526
|
||||||
|
sel_port-92: 1.1.sta00527
|
||||||
|
sel_port-93: 1.1.sta00528
|
||||||
|
sel_port-94: 1.1.sta00529
|
||||||
|
sel_port-95: 1.1.sta00530
|
||||||
|
sel_port-96: 1.1.sta00531
|
||||||
|
sel_port-97: 1.1.sta00532
|
||||||
|
sel_port-98: 1.1.sta00533
|
||||||
|
sel_port-99: 1.1.sta00534
|
||||||
|
sel_port-100: 1.1.sta00535
|
||||||
|
sel_port-101: 1.1.sta00536
|
||||||
|
sel_port-102: 1.1.sta00537
|
||||||
|
sel_port-103: 1.1.sta00538
|
||||||
|
sel_port-104: 1.1.sta00539
|
||||||
|
sel_port-105: 1.1.sta00540
|
||||||
|
sel_port-106: 1.1.sta00541
|
||||||
|
sel_port-107: 1.1.sta00542
|
||||||
|
sel_port-108: 1.1.sta00543
|
||||||
|
sel_port-109: 1.1.sta00544
|
||||||
|
sel_port-110: 1.1.sta00545
|
||||||
|
sel_port-111: 1.1.sta00546
|
||||||
|
sel_port-112: 1.1.sta00547
|
||||||
|
sel_port-113: 1.1.sta00548
|
||||||
|
sel_port-114: 1.1.sta00549
|
||||||
|
sel_port-115: 1.1.sta00550
|
||||||
|
sel_port-116: 1.1.sta00551
|
||||||
|
sel_port-117: 1.1.sta00552
|
||||||
|
sel_port-118: 1.1.sta00553
|
||||||
|
sel_port-119: 1.1.sta00554
|
||||||
|
sel_port-120: 1.1.sta00555
|
||||||
|
sel_port-121: 1.1.sta00556
|
||||||
|
sel_port-122: 1.1.sta00557
|
||||||
|
sel_port-123: 1.1.sta00558
|
||||||
|
sel_port-124: 1.1.sta00559
|
||||||
|
sel_port-125: 1.1.sta00560
|
||||||
|
sel_port-126: 1.1.sta00561
|
||||||
|
sel_port-127: 1.1.sta00562
|
||||||
|
sel_port-128: 1.1.sta00563
|
||||||
|
sel_port-129: 1.1.sta00564
|
||||||
|
sel_port-130: 1.1.sta00565
|
||||||
|
sel_port-131: 1.1.sta00566
|
||||||
|
sel_port-132: 1.1.sta00567
|
||||||
|
sel_port-133: 1.1.sta00568
|
||||||
|
sel_port-134: 1.1.sta00569
|
||||||
|
sel_port-135: 1.1.sta00570
|
||||||
|
sel_port-136: 1.1.sta00571
|
||||||
|
sel_port-137: 1.1.sta00572
|
||||||
|
sel_port-138: 1.1.sta00573
|
||||||
|
sel_port-139: 1.1.sta00574
|
||||||
|
sel_port-140: 1.1.sta00575
|
||||||
|
sel_port-141: 1.1.sta00576
|
||||||
|
sel_port-142: 1.1.sta00577
|
||||||
|
sel_port-143: 1.1.sta00578
|
||||||
|
sel_port-144: 1.1.sta00579
|
||||||
|
sel_port-145: 1.1.sta00580
|
||||||
|
sel_port-146: 1.1.sta00581
|
||||||
|
sel_port-147: 1.1.sta00582
|
||||||
|
sel_port-148: 1.1.sta00583
|
||||||
|
sel_port-149: 1.1.sta00584
|
||||||
|
sel_port-150: 1.1.sta00585
|
||||||
|
sel_port-151: 1.1.sta00586
|
||||||
|
sel_port-152: 1.1.sta00587
|
||||||
|
sel_port-153: 1.1.sta00588
|
||||||
|
sel_port-154: 1.1.sta00589
|
||||||
|
sel_port-155: 1.1.sta00590
|
||||||
|
sel_port-156: 1.1.sta00591
|
||||||
|
sel_port-157: 1.1.sta00592
|
||||||
|
sel_port-158: 1.1.sta00593
|
||||||
|
sel_port-159: 1.1.sta00594
|
||||||
|
sel_port-160: 1.1.sta00595
|
||||||
|
sel_port-161: 1.1.sta00596
|
||||||
|
sel_port-162: 1.1.sta00597
|
||||||
|
sel_port-163: 1.1.sta00598
|
||||||
|
sel_port-164: 1.1.sta00599
|
||||||
|
sel_port-165: 1.1.sta01000
|
||||||
|
sel_port-166: 1.1.sta01001
|
||||||
|
sel_port-167: 1.1.sta01002
|
||||||
|
sel_port-168: 1.1.sta01003
|
||||||
|
sel_port-169: 1.1.sta01004
|
||||||
|
sel_port-170: 1.1.sta01005
|
||||||
|
sel_port-171: 1.1.sta01006
|
||||||
|
sel_port-172: 1.1.sta01007
|
||||||
|
sel_port-173: 1.1.sta01008
|
||||||
|
sel_port-174: 1.1.sta01009
|
||||||
|
sel_port-175: 1.1.sta01010
|
||||||
|
sel_port-176: 1.1.sta01011
|
||||||
|
sel_port-177: 1.1.sta01012
|
||||||
|
sel_port-178: 1.1.sta01013
|
||||||
|
sel_port-179: 1.1.sta01014
|
||||||
|
sel_port-180: 1.1.sta01015
|
||||||
|
sel_port-181: 1.1.sta01016
|
||||||
|
sel_port-182: 1.1.sta01017
|
||||||
|
sel_port-183: 1.1.sta01018
|
||||||
|
sel_port-184: 1.1.sta01019
|
||||||
|
sel_port-185: 1.1.sta01020
|
||||||
|
sel_port-186: 1.1.sta01021
|
||||||
|
sel_port-187: 1.1.sta01022
|
||||||
|
sel_port-188: 1.1.sta01023
|
||||||
|
sel_port-189: 1.1.sta01024
|
||||||
|
sel_port-190: 1.1.sta01025
|
||||||
|
sel_port-191: 1.1.sta01026
|
||||||
|
sel_port-192: 1.1.sta01027
|
||||||
|
sel_port-193: 1.1.sta01028
|
||||||
|
sel_port-194: 1.1.sta01029
|
||||||
|
sel_port-195: 1.1.sta01030
|
||||||
|
sel_port-196: 1.1.sta01031
|
||||||
|
sel_port-197: 1.1.sta01032
|
||||||
|
sel_port-198: 1.1.sta01033
|
||||||
|
sel_port-199: 1.1.sta01034
|
||||||
|
sel_port-200: 1.1.sta01035
|
||||||
|
sel_port-201: 1.1.sta01036
|
||||||
|
sel_port-202: 1.1.sta01037
|
||||||
|
sel_port-203: 1.1.sta01038
|
||||||
|
sel_port-204: 1.1.sta01039
|
||||||
|
sel_port-205: 1.1.sta01040
|
||||||
|
sel_port-206: 1.1.sta01041
|
||||||
|
sel_port-207: 1.1.sta01042
|
||||||
|
sel_port-208: 1.1.sta01043
|
||||||
|
sel_port-209: 1.1.sta01044
|
||||||
|
sel_port-210: 1.1.sta01045
|
||||||
|
sel_port-211: 1.1.sta01046
|
||||||
|
sel_port-212: 1.1.sta01047
|
||||||
|
sel_port-213: 1.1.sta01048
|
||||||
|
sel_port-214: 1.1.sta01049
|
||||||
|
sel_port-215: 1.1.sta01050
|
||||||
|
sel_port-216: 1.1.sta01051
|
||||||
|
sel_port-217: 1.1.sta01052
|
||||||
|
sel_port-218: 1.1.sta01053
|
||||||
|
sel_port-219: 1.1.sta01054
|
||||||
|
sel_port-220: 1.1.sta01055
|
||||||
|
sel_port-221: 1.1.sta01056
|
||||||
|
sel_port-222: 1.1.sta01057
|
||||||
|
sel_port-223: 1.1.sta01058
|
||||||
|
sel_port-224: 1.1.sta01059
|
||||||
|
sel_port-225: 1.1.sta01060
|
||||||
|
sel_port-226: 1.1.sta01061
|
||||||
|
sel_port-227: 1.1.sta01062
|
||||||
|
sel_port-228: 1.1.sta01063
|
||||||
|
show_events: 1
|
||||||
|
show_log: 0
|
||||||
|
port_sorting: 0
|
||||||
|
bg: 0xE0ECF8
|
||||||
|
test_rig:
|
||||||
|
show_scan: 1
|
||||||
|
auto_helper: 1
|
||||||
|
skip_2: 0
|
||||||
|
skip_5: 0
|
||||||
|
batch_size: 1,2,5,10,20
|
||||||
|
loop_iter: 1
|
||||||
|
duration: 20000
|
||||||
|
test_groups: 0
|
||||||
|
test_groups_subset: 0
|
||||||
|
protocol: UDP-IPv4
|
||||||
|
dl_rate_sel: Total Download Rate:
|
||||||
|
dl_rate: 1000000000
|
||||||
|
ul_rate_sel: Total Upload Rate:
|
||||||
|
ul_rate: 0
|
||||||
|
prcnt_tcp: 100000
|
||||||
|
l4_endp:
|
||||||
|
pdu_sz: -1
|
||||||
|
mss_sel: 1
|
||||||
|
sock_buffer: 0
|
||||||
|
ip_tos: 0
|
||||||
|
multi_conn: -1
|
||||||
|
min_speed: -1
|
||||||
|
ps_interval: 60-second Running Average
|
||||||
|
fairness: 0
|
||||||
|
naptime: 0
|
||||||
|
before_clear: 5000
|
||||||
|
rpt_timer: 1000
|
||||||
|
try_lower: 0
|
||||||
|
rnd_rate: 1
|
||||||
|
leave_ports_up: 0
|
||||||
|
down_quiesce: 0
|
||||||
|
udp_nat: 1
|
||||||
|
record_other_ssids: 0
|
||||||
|
clear_reset_counters: 0
|
||||||
|
do_pf: 0
|
||||||
|
pf_min_period_dl: 128000
|
||||||
|
pf_min_period_ul: 0
|
||||||
|
pf_max_reconnects: 0
|
||||||
|
use_mix_pdu: 0
|
||||||
|
pdu_prcnt_pps: 1
|
||||||
|
pdu_prcnt_bps: 0
|
||||||
|
pdu_mix_ln-0:
|
||||||
|
show_scan: 1
|
||||||
|
show_golden_3p: 0
|
||||||
|
save_csv: 0
|
||||||
|
show_realtime: 1
|
||||||
|
show_pie: 1
|
||||||
|
show_per_loop_totals: 1
|
||||||
|
show_cx_time: 1
|
||||||
|
show_dhcp: 1
|
||||||
|
show_anqp: 1
|
||||||
|
show_4way: 1
|
||||||
|
show_latency: 1
|
||||||
|
|
||||||
|
|
||||||
55
testbeds/ben-home/dpt-pkt-sz.txt
Normal file
55
testbeds/ben-home/dpt-pkt-sz.txt
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
[BLANK]
|
||||||
|
sel_port-0: 1.1.eth0
|
||||||
|
show_events: 1
|
||||||
|
show_log: 0
|
||||||
|
port_sorting: 0
|
||||||
|
bg: 0xE0ECF8
|
||||||
|
test_rig:
|
||||||
|
show_scan: 1
|
||||||
|
auto_helper: 0
|
||||||
|
skip_2: 0
|
||||||
|
skip_5: 0
|
||||||
|
selected_dut: mr8300
|
||||||
|
duration: 15000
|
||||||
|
traffic_port: 1.1.6 sta00000
|
||||||
|
upstream_port:
|
||||||
|
path_loss: 10
|
||||||
|
speed: 85%
|
||||||
|
speed2: 0Kbps
|
||||||
|
min_rssi_bound: -150
|
||||||
|
max_rssi_bound: 0
|
||||||
|
channels: AUTO
|
||||||
|
modes: Auto
|
||||||
|
pkts: 60;142;256;512;1024;MTU;4000
|
||||||
|
spatial_streams: AUTO
|
||||||
|
security_options: AUTO
|
||||||
|
bandw_options: AUTO
|
||||||
|
traffic_types: UDP
|
||||||
|
directions: DUT Transmit;DUT Receive
|
||||||
|
txo_preamble: OFDM
|
||||||
|
txo_mcs: 0 CCK, OFDM, HT, VHT
|
||||||
|
txo_retries: No Retry
|
||||||
|
txo_sgi: OFF
|
||||||
|
txo_txpower: 15
|
||||||
|
attenuator: 0
|
||||||
|
attenuator2: 0
|
||||||
|
attenuator_mod: 255
|
||||||
|
attenuator_mod2: 255
|
||||||
|
attenuations: 0..+50..950
|
||||||
|
attenuations2: 0..+50..950
|
||||||
|
chamber: 0
|
||||||
|
tt_deg: 0..+45..359
|
||||||
|
cust_pkt_sz:
|
||||||
|
show_3s: 0
|
||||||
|
show_ll_graphs: 0
|
||||||
|
show_gp_graphs: 1
|
||||||
|
show_1m: 1
|
||||||
|
pause_iter: 0
|
||||||
|
show_realtime: 1
|
||||||
|
operator:
|
||||||
|
mconn: 1
|
||||||
|
mpkt: 1000
|
||||||
|
tos: 0
|
||||||
|
loop_iterations: 1
|
||||||
|
|
||||||
|
|
||||||
37
testbeds/ben-home/run_basic.bash
Executable file
37
testbeds/ben-home/run_basic.bash
Executable file
@@ -0,0 +1,37 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Example usage of this script
|
||||||
|
# DUT_SW_VER=my-build-id ./run_basic.bash
|
||||||
|
#
|
||||||
|
# Other DUT variables in test_bed_cfg.bash may also be over-ridden,
|
||||||
|
# including those below. See LANforge 'add_dut' CLI command for
|
||||||
|
# details on what these variables are for.
|
||||||
|
|
||||||
|
# DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL
|
||||||
|
# DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3
|
||||||
|
# DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3
|
||||||
|
# DUT_BSSID1 DUT_BSSID2 DUT_BSSID3
|
||||||
|
|
||||||
|
# Source config file
|
||||||
|
. test_bed_cfg.bash
|
||||||
|
|
||||||
|
# TODO: Copy config file to cloud controller and restart it
|
||||||
|
# and/or do other config to make it work.
|
||||||
|
|
||||||
|
# Change to scripts dir
|
||||||
|
cd ../../lanforge/lanforge-scripts/gui
|
||||||
|
|
||||||
|
# Where to place results. basic_regression.bash will use this variable.
|
||||||
|
RSLTS_DIR=/tmp/ben-basic-regression
|
||||||
|
export RSLTS_DIR
|
||||||
|
|
||||||
|
# Run one test
|
||||||
|
DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash
|
||||||
|
|
||||||
|
|
||||||
|
# Run all tests
|
||||||
|
#./basic_regression.bash
|
||||||
|
|
||||||
|
cd -
|
||||||
|
|
||||||
|
echo "See results in $RSLTS_DIR"
|
||||||
53
testbeds/ben-home/test_bed_cfg.bash
Normal file
53
testbeds/ben-home/test_bed_cfg.bash
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# Example test-bed configuration
|
||||||
|
|
||||||
|
# Scripts should source this file to set the default environment variables
|
||||||
|
# and then override the variables specific to their test case (and it can be done
|
||||||
|
# in opposite order for same results
|
||||||
|
#
|
||||||
|
# After the env variables are set,
|
||||||
|
# call the 'lanforge/lanforge-scripts/gui/basic_regression.bash'
|
||||||
|
# from the directory in which it resides.
|
||||||
|
|
||||||
|
PWD=`pwd`
|
||||||
|
AP_AUTO_CFG_FILE=${AP_AUTO_CFG_FILE:-$PWD/AP-Auto-ap-auto-228.txt}
|
||||||
|
WCT_CFG_FILE=${WCT_CFG_FILE:-$PWD/WCT-228sta.txt}
|
||||||
|
DPT_CFG_FILE=${DPT_CFG_FILE:-$PWD/dpt-pkt-sz.txt}
|
||||||
|
SCENARIO_CFG_FILE=${SCENARIO_CFG_FILE:-$PWD/228_sta_scenario.txt}
|
||||||
|
|
||||||
|
# LANforge target machine
|
||||||
|
LFMANAGER=${LFMANAGER:-192.168.3.190}
|
||||||
|
|
||||||
|
# LANforge GUI machine (may often be same as target)
|
||||||
|
GMANAGER=${GMANAGER:-192.168.3.190}
|
||||||
|
GMPORT=${GMPORT:-3990}
|
||||||
|
MY_TMPDIR=${MY_TMPDIR:-/tmp}
|
||||||
|
|
||||||
|
# Test configuration (10 minutes by default, in interest of time)
|
||||||
|
STABILITY_DURATION=${STABILITY_DURATION:-600}
|
||||||
|
TEST_RIG_ID=${TEST_RIG_ID:-Ben-Home-OTA}
|
||||||
|
|
||||||
|
# DUT configuration
|
||||||
|
DUT_FLAGS=${DUT_FLAGS:-22} # AP, WPA-PSK
|
||||||
|
DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF}
|
||||||
|
DUT_SW_VER=${DUT_SW_VER:-OpenWrt-Stock}
|
||||||
|
DUT_HW_VER=Linksys-MR8300
|
||||||
|
DUT_MODEL=Linksys-MR8300
|
||||||
|
DUT_SERIAL=${DUT_SERIAL:-NA}
|
||||||
|
DUT_SSID1=${DUT_SSID1:-Connectus-local}
|
||||||
|
DUT_SSID2=${DUT_SSID2:-Connectus-local-5}
|
||||||
|
DUT_SSID3=${DUT_SSID3:-Connectus-local-5}
|
||||||
|
DUT_PASSWD1=${DUT_PASSWD1:-12345678}
|
||||||
|
DUT_PASSWD2=${DUT_PASSWD2:-12345678}
|
||||||
|
DUT_PASSWD3=${DUT_PASSWD3:-12345678}
|
||||||
|
DUT_BSSID1=32:23:03:81:9c:29
|
||||||
|
DUT_BSSID2=30:23:03:81:9c:27
|
||||||
|
DUT_BSSID3=30:23:03:81:9c:28
|
||||||
|
|
||||||
|
export AP_AUTO_CFG_FILE WCT_CFG_FILE DPT_CFG_FILE SCENARIO_CFG_FILE
|
||||||
|
export LFMANAGER GMANAGER GMPORT MY_TMPDIR
|
||||||
|
export STABILITY_DURATION TEST_RIG_ID
|
||||||
|
export DUT_FLAGS DUT_FLAGS_MASK DUT_SW_VER DUT_HW_VER DUT_MODEL
|
||||||
|
export DUT_SERIAL DUT_SSID1 DUT_SSID2 DUT_SSID3
|
||||||
|
export DUT_PASSWD1 DUT_PASSWD2 DUT_PASSWD3
|
||||||
|
export DUT_BSSID1 DUT_BSSID2 DUT_BSSID3
|
||||||
|
|
||||||
Reference in New Issue
Block a user