mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
sta_connect.py : added back in the older functionality for configuation.
This script uses the json calles directly so will be helpful in working with the auto generated library : work in progress Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -500,6 +500,7 @@ Example:
|
||||
parser.add_argument("--dut_ssid", type=str, help="DUT SSID")
|
||||
parser.add_argument("--dut_passwd", type=str, help="DUT PSK password. Do not set for OPEN auth")
|
||||
parser.add_argument("--dut_bssid", type=str, help="DUT BSSID to which we expect to connect.")
|
||||
parser.add_argument("--dut_security", type=str, help="DUT Security mode")
|
||||
|
||||
args = parser.parse_args()
|
||||
if args.dest is not None:
|
||||
@@ -529,6 +530,8 @@ Example:
|
||||
staConnect.dut_bssid = args.dut_bssid
|
||||
if args.dut_ssid is not None:
|
||||
staConnect.dut_ssid = args.dut_ssid
|
||||
if args.dut_ssid is not None:
|
||||
staConnect.dut_security = args.dut_security
|
||||
|
||||
staConnect.run()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user