mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-22 13:05:11 +00:00
sta_connect2: use debug argument flag and pass on to functions
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -394,7 +394,7 @@ class StaConnect2(Realm):
|
|||||||
# do not clean up station if existed prior to test
|
# do not clean up station if existed prior to test
|
||||||
if not self.use_existing_sta:
|
if not self.use_existing_sta:
|
||||||
for sta in self.station_names:
|
for sta in self.station_names:
|
||||||
self.rm_port(sta, check_exists=True, debug_=False)
|
self.rm_port(sta, check_exists=True, debug_=self.debug)
|
||||||
|
|
||||||
# ~class
|
# ~class
|
||||||
|
|
||||||
@@ -461,7 +461,7 @@ CLI Example:
|
|||||||
_upstream_port=upstream_port[2],
|
_upstream_port=upstream_port[2],
|
||||||
_radio=args.radio,
|
_radio=args.radio,
|
||||||
_sta_mode=args.sta_mode,
|
_sta_mode=args.sta_mode,
|
||||||
debug_=True,
|
debug_=args.debug,
|
||||||
_influx_db=args.influx_db,
|
_influx_db=args.influx_db,
|
||||||
_influx_passwd=args.influx_passwd,
|
_influx_passwd=args.influx_passwd,
|
||||||
_influx_user=args.influx_user,
|
_influx_user=args.influx_user,
|
||||||
|
|||||||
Reference in New Issue
Block a user