mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-20 12:04:52 +00:00
lf_tx_power.py : create cx_endps to use --use_speeds
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
committed by
shivam
parent
6bf4d1054f
commit
d1e444e6f5
@@ -1023,7 +1023,7 @@ def main():
|
|||||||
logger.info(summary_output)
|
logger.info(summary_output)
|
||||||
|
|
||||||
command = ["./lf_firemod.pl", "--manager", lfmgr, "--resource", lfresource2, "--action", "create_endp", "--port_name", upstream_port,
|
command = ["./lf_firemod.pl", "--manager", lfmgr, "--resource", lfresource2, "--action", "create_endp", "--port_name", upstream_port,
|
||||||
"--endp_type", "lf_udp", "--endp_name", "c-udp-power-B", "--speed", "1000000", "--report_timer", "1000"]
|
"--endp_type", "lf_udp", "--endp_name", "c-udp-power-B", "--speed", "1000000", "--report_timer", "1000","--log_cli","1"]
|
||||||
logg.info("command: {command}".format(command=command))
|
logg.info("command: {command}".format(command=command))
|
||||||
summary_output = ''
|
summary_output = ''
|
||||||
summary = subprocess.Popen(command, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
summary = subprocess.Popen(command, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
@@ -1032,10 +1032,10 @@ def main():
|
|||||||
summary_output += line
|
summary_output += line
|
||||||
summary.wait()
|
summary.wait()
|
||||||
logger.info(summary_output)
|
logger.info(summary_output)
|
||||||
|
# ./lf_firemod.pl --manager 192.168.100.178 --resource 1 --action create_cx --cx_name c-udp-power --cx_endps c-udp-power-A,c-udp-power-B --report_timer 1000 --endp_type lf_udp --port_name sta0003 --use_speeds 0,1000000
|
||||||
command = ["./lf_firemod.pl", "--manager", lfmgr, "--resource", lfresource, "--action", "create_cx", "--cx_name", "c-udp-power",
|
command = ["./lf_firemod.pl", "--manager", lfmgr, "--resource", lfresource, "--action", "create_cx", "--cx_name", "c-udp-power",
|
||||||
"--cx_endps", "c-udp-power-A,c-udp-power-B", "--report_timer", "1000", "--endp_type", "lf_udp", "--port_name", lfstation,
|
"--cx_endps", "c-udp-power-A,c-udp-power-B", "--report_timer", "1000", "--endp_type", "lf_udp", "--port_name", lfstation,
|
||||||
"--speed","1000000"]
|
"--use_speeds","0,1000000"]
|
||||||
logg.info("command: {command}".format(command=command))
|
logg.info("command: {command}".format(command=command))
|
||||||
summary_output = ''
|
summary_output = ''
|
||||||
summary = subprocess.Popen(command, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
summary = subprocess.Popen(command, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
|
|||||||
Reference in New Issue
Block a user