test_ipv4_ttls.py : pass up upstream_port configuraiton,

ct_us_scripts.json updated test added cleanup.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-12-14 06:18:03 -07:00
parent 8a3dc2221e
commit 66b33ce9fe
2 changed files with 17 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ class TTLSTest(Realm):
security="wpa2", security="wpa2",
password="[BLANK]", password="[BLANK]",
radio="wiphy0", radio="wiphy0",
upstream_port="eth2",
key_mgmt="WPA-EAP", key_mgmt="WPA-EAP",
pairwise="NA", pairwise="NA",
group="NA", group="NA",
@@ -112,7 +113,7 @@ class TTLSTest(Realm):
self.debug = _debug_on self.debug = _debug_on
self.station_profile = self.new_station_profile() self.station_profile = self.new_station_profile()
self.vap = vap self.vap = vap
self.upstream_port = "eth1" self.upstream_port = upstream_port
self.upstream_resource = 1 self.upstream_resource = 1
if self.vap: if self.vap:
self.vap_profile = self.new_vap_profile() self.vap_profile = self.new_vap_profile()
@@ -364,6 +365,7 @@ test_ipv4_ttls.py:
ssid=args.ssid, ssid=args.ssid,
password=args.passwd, password=args.passwd,
security=args.security, security=args.security,
upstream_port=args.upstream_port,
sta_list=station_list, sta_list=station_list,
radio=args.radio, radio=args.radio,
key_mgmt=args.key_mgmt, key_mgmt=args.key_mgmt,

View File

@@ -531,6 +531,13 @@
"args_list":[" --mgr LF_MGR_IP " "args_list":[" --mgr LF_MGR_IP "
] ]
}, },
"clean_up_cxs_endp_sta_l3_powersave":{
"enabled":"TRUE",
"command":"lf_cleanup.py",
"args":"",
"args_list":[
" --mgr LF_MGR_IP --cxs --sta"
]},
"test_l3_powersave_traffic":{ "test_l3_powersave_traffic":{
"enabled":"TRUE", "enabled":"TRUE",
"command":"test_l3_powersave_traffic.py", "command":"test_l3_powersave_traffic.py",
@@ -540,6 +547,13 @@
" use_ssid_idx=0 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED " " use_ssid_idx=0 --ssid SSID_USED --passwd SSID_PW_USED --security SECURITY_USED "
] ]
}, },
"clean_up_cxs_endp_sta_l4":{
"enabled":"TRUE",
"command":"lf_cleanup.py",
"args":"",
"args_list":[
" --mgr LF_MGR_IP --cxs --sta"
]},
"test_l4":{ "test_l4":{
"enabled":"TRUE", "enabled":"TRUE",
"command":"test_l4.py", "command":"test_l4.py",