mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
sta_connect: Wait until ports appear after adding new stations
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -177,6 +177,8 @@ class StaConnect(Realm):
|
|||||||
self.json_post("/cli-json/add_sta", add_sta_data, suppress_related_commands_=True)
|
self.json_post("/cli-json/add_sta", add_sta_data, suppress_related_commands_=True)
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
|
|
||||||
|
LFUtils.wait_until_ports_appear(port_list=self.station_names)
|
||||||
|
|
||||||
set_port_data = {
|
set_port_data = {
|
||||||
"shelf": 1,
|
"shelf": 1,
|
||||||
"resource": self.resource,
|
"resource": self.resource,
|
||||||
|
|||||||
Reference in New Issue
Block a user