mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-07 06:07:52 +00:00
create_station.py: adds check for admin-up
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
This commit is contained in:
@@ -109,8 +109,12 @@ class CreateStation(Realm):
|
||||
|
||||
if self.up:
|
||||
self.station_profile.admin_up()
|
||||
|
||||
# TODO: Add check for whether stations went admin up or not.
|
||||
if not LFUtils.wait_until_ports_admin_up(base_url=self.lfclient_url,
|
||||
port_list=self.station_profile.station_names,
|
||||
debug_=self.debug,
|
||||
timeout=10):
|
||||
self._fail("Unable to bring all stations up")
|
||||
return
|
||||
|
||||
self._pass("PASS: Station build finished")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user