mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-19 03:25:05 +00:00
sta_connect.py: Use name_to_eid to parse name of radio
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -160,10 +160,12 @@ class StaConnect(Realm):
|
|||||||
elif self.dut_security == OPEN:
|
elif self.dut_security == OPEN:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
radio = LFUtils.name_to_eid(self.radio)
|
||||||
|
|
||||||
add_sta_data = {
|
add_sta_data = {
|
||||||
"shelf": 1,
|
"shelf": radio[0],
|
||||||
"resource": self.resource,
|
"resource": radio[1],
|
||||||
"radio": self.radio,
|
"radio": radio[2],
|
||||||
"ssid": self.dut_ssid,
|
"ssid": self.dut_ssid,
|
||||||
"key": self.dut_passwd,
|
"key": self.dut_passwd,
|
||||||
"mode": self.sta_mode,
|
"mode": self.sta_mode,
|
||||||
|
|||||||
Reference in New Issue
Block a user