mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
Fixed issue in client_disconnect method for multiple resources
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
@@ -1400,7 +1400,7 @@ class lf_libs:
|
|||||||
exist_sta = []
|
exist_sta = []
|
||||||
for u in client_dis.json_get("/port/?fields=port+type,alias")['interfaces']:
|
for u in client_dis.json_get("/port/?fields=port+type,alias")['interfaces']:
|
||||||
if list(u.values())[0]['port type'] not in ['Ethernet', 'WIFI-Radio', 'NA']:
|
if list(u.values())[0]['port type'] not in ['Ethernet', 'WIFI-Radio', 'NA']:
|
||||||
exist_sta.append(list(u.values())[0]['alias'])
|
exist_sta.append(list(u.keys())[0])
|
||||||
client_dis.station_profile.cleanup(desired_stations=exist_sta)
|
client_dis.station_profile.cleanup(desired_stations=exist_sta)
|
||||||
if clean_l3_traffic:
|
if clean_l3_traffic:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user