mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 11:57:49 +00:00
typo in ap_connect file
This commit is contained in:
@@ -80,7 +80,7 @@ def iwinfo_status(ap_ip, username, password):
|
||||
try:
|
||||
if 'tty' in ap_ip:
|
||||
ap_cmd = 'iwinfo | grep ESSID'
|
||||
cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (
|
||||
cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (
|
||||
owrt_args, ap_ip, ap_cmd)
|
||||
with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p:
|
||||
output, errors = p.communicate()
|
||||
@@ -110,7 +110,7 @@ def get_vif_config(ap_ip, username, password):
|
||||
try:
|
||||
if 'tty' in ap_ip:
|
||||
ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_Config -c | grep 'ssid :'"
|
||||
cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (
|
||||
cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (
|
||||
owrt_args, ap_ip, ap_cmd)
|
||||
with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p:
|
||||
output, errors = p.communicate()
|
||||
@@ -150,7 +150,7 @@ def get_vif_state(ap_ip, username, password):
|
||||
try:
|
||||
if 'tty' in ap_ip:
|
||||
ap_cmd = "/usr/opensync/bin/ovsh s Wifi_VIF_State -c | grep 'ssid :'"
|
||||
cmd = "ap_connectcd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (
|
||||
cmd = "cd ../../lanforge/lanforge-scripts && python3 openwrt_ctl.py %s -t %s --action cmd --value \"%s\"" % (
|
||||
owrt_args, ap_ip, ap_cmd)
|
||||
with subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) as p:
|
||||
output, errors = p.communicate()
|
||||
|
||||
Reference in New Issue
Block a user