mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-13 13:47:00 +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:
|
if self.up:
|
||||||
self.station_profile.admin_up()
|
self.station_profile.admin_up()
|
||||||
|
if not LFUtils.wait_until_ports_admin_up(base_url=self.lfclient_url,
|
||||||
# TODO: Add check for whether stations went admin up or not.
|
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")
|
self._pass("PASS: Station build finished")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user