mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +00:00
lf_tx_power.py: added reading powerreg
ap_ctl.py : add reading powerreg Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
committed by
shivam
parent
d07946133e
commit
f40bf63394
@@ -113,8 +113,8 @@ def main():
|
|||||||
global logfile
|
global logfile
|
||||||
|
|
||||||
AP_ESCAPE = "Escape character is '^]'."
|
AP_ESCAPE = "Escape character is '^]'."
|
||||||
AP_USERNAME = "Username:"
|
AP_USERNAME = "Username: "
|
||||||
AP_PASSWORD = "Password:"
|
AP_PASSWORD = "Password: "
|
||||||
AP_EN = "en"
|
AP_EN = "en"
|
||||||
AP_MORE = "--More--"
|
AP_MORE = "--More--"
|
||||||
AP_EXIT = "exit"
|
AP_EXIT = "exit"
|
||||||
@@ -259,12 +259,12 @@ def main():
|
|||||||
if i == 3:
|
if i == 3:
|
||||||
logg.info("Expect: {} i: {} before: {} after: {}".format(AP_USERNAME,i,egg.before,egg.after))
|
logg.info("Expect: {} i: {} before: {} after: {}".format(AP_USERNAME,i,egg.before,egg.after))
|
||||||
egg.sendline(args.user)
|
egg.sendline(args.user)
|
||||||
sleep(1)
|
sleep(2)
|
||||||
# AP_PASSWORD
|
# AP_PASSWORD
|
||||||
if i == 4:
|
if i == 4:
|
||||||
logg.info("Expect: {} i: {} before: {} after: {}".format(AP_PASSWORD,i,egg.before,egg.after))
|
logg.info("Expect: {} i: {} before: {} after: {}".format(AP_PASSWORD,i,egg.before,egg.after))
|
||||||
egg.sendline(args.passwd)
|
egg.sendline(args.passwd)
|
||||||
sleep(1)
|
sleep(2)
|
||||||
# AP_MORE
|
# AP_MORE
|
||||||
if i == 5:
|
if i == 5:
|
||||||
logg.info("Expect: {} i: {} before: {} after: {}".format(AP_MORE,i,egg.before,egg.after))
|
logg.info("Expect: {} i: {} before: {} after: {}".format(AP_MORE,i,egg.before,egg.after))
|
||||||
|
|||||||
@@ -1471,7 +1471,6 @@ def main():
|
|||||||
# exit_test(workbook)
|
# exit_test(workbook)
|
||||||
summary = "empty_process_error"
|
summary = "empty_process_error"
|
||||||
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
# Gather probe results and record data, verify NSS, BW, Channel
|
# Gather probe results and record data, verify NSS, BW, Channel
|
||||||
i = 0
|
i = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user