mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-12-24 22:37:03 +00:00
create-station: Add logger and exit code handling.
And add note for improvement to station_profile logic. Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
@@ -367,7 +367,6 @@ class StationProfile:
|
||||
def admin_up(self):
|
||||
for eid in self.station_names:
|
||||
self.local_realm.admin_up(eid)
|
||||
time.sleep(0.005)
|
||||
|
||||
def admin_down(self):
|
||||
for sta_name in self.station_names:
|
||||
@@ -393,6 +392,8 @@ class StationProfile:
|
||||
debug=debug_)
|
||||
|
||||
# Checks for errors in initialization values and creates specified number of stations using init parameters
|
||||
# TODO: Add option to check if stations exist already. If they do, then warn user, and set MAC to 'NA' so that is
|
||||
# is not attempted to be mofidified when submitting the create-station URL request.
|
||||
def create(self, radio,
|
||||
num_stations=0,
|
||||
sta_names_=None,
|
||||
|
||||
Reference in New Issue
Block a user