create_station.py: adds check for admin-up

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
This commit is contained in:
Jed Reynolds
2022-02-01 16:17:14 -08:00
committed by shivam
parent ec2dd1b4b3
commit 8530b0556d

View File

@@ -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")