mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
cisco_wifi_ctl.py : reduce logging, lf_cisco_power.py bug fix
This commit is contained in:
@@ -168,12 +168,12 @@ def main():
|
||||
CCP_POLICY_TAG = args.prompt + "(config-policy-tag)#" #WLC(config-policy-tag)#
|
||||
CCP_CONFIG_LINE = args.prompt + "(config-line)#" #WLC(config-line)#
|
||||
|
||||
print("CCP {}".format(CCP))
|
||||
'''print("CCP {}".format(CCP))
|
||||
print("CCP_EN {}".format(CCP_EN))
|
||||
print("CCP_CONFIG {}".format(CCP_CONFIG))
|
||||
print("CCP_CONFIG_WLAN {}".format(CCP_CONFIG_WLAN))
|
||||
print("CCP_POLICY_TAG {}".format(CCP_POLICY_TAG))
|
||||
print("CCP_CONFIG_LINE {}".format(CCP_CONFIG_LINE))
|
||||
print("CCP_CONFIG_LINE {}".format(CCP_CONFIG_LINE))'''
|
||||
|
||||
|
||||
try:
|
||||
|
||||
@@ -1674,7 +1674,7 @@ def main():
|
||||
if (ch != "NA"):
|
||||
try:
|
||||
logg.info("9800/3504 cisco_wifi_ctl.py: channel 36")
|
||||
cap_ctl_out = subprocess.run(["./cisco_wifi_ctl.py", "--scheme", scheme, "-d", args.dest, "-u", args.user, "-p", args.passwd, "-a", args.ap, "--band", band,
|
||||
ctl_output = subprocess.run(["./cisco_wifi_ctl.py", "--scheme", scheme, "-d", args.dest, "-u", args.user, "-p", args.passwd, "-a", args.ap, "--band", band,
|
||||
"--action", "channel", "--value", "36", "--series" , args.series,"--port", args.port,"--prompt",args.prompt],capture_output=cap_ctl_out, check=True)
|
||||
if cap_ctl_out:
|
||||
pss = ctl_output.stdout.decode('utf-8', 'ignore')
|
||||
|
||||
Reference in New Issue
Block a user