mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
firemod: more cleanup
This commit is contained in:
@@ -78,10 +78,13 @@ our @known_tos = qw(DONT-SET LOWCOST LOWDELAY RELIABILITY THROUGHPUT);
|
|||||||
# Nothing to configure below here, most likely.
|
# Nothing to configure below here, most likely.
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
our $usage = "$0 --action { list_ports | show_port
|
our $usage = qq^$0 [ --action {
|
||||||
| list_endp | create_endp | create_arm | show_endp | set_endp
|
create_cx | create_endp | create_arm |
|
||||||
| do_cmd | start_endp | stop_endp | delete_endp
|
delete_cx | delete_cxe | delete_endp | do_cmd |
|
||||||
| create_cx | list_cx | show_cx | delete_cx | delete_cxe } ]
|
list_cx | list_endp | list_ports |
|
||||||
|
set_endp |show_cx | show_endp | show_port |
|
||||||
|
start_cx | start_endp | stop_cx | stop_endp
|
||||||
|
} ]
|
||||||
[--endp_vals {key,key,key,key}]
|
[--endp_vals {key,key,key,key}]
|
||||||
# show_endp output can be narrowed with key-value arguments
|
# show_endp output can be narrowed with key-value arguments
|
||||||
# Examples:
|
# Examples:
|
||||||
@@ -90,7 +93,7 @@ our $usage = "$0 --action { list_ports | show_port
|
|||||||
# Special Keys:
|
# Special Keys:
|
||||||
# --endp_vals tx_bps (Tx Bytes)
|
# --endp_vals tx_bps (Tx Bytes)
|
||||||
# --endp_vals rx_bps (Rx Bytes)
|
# --endp_vals rx_bps (Rx Bytes)
|
||||||
[--stats_from_file [file-name]
|
[--stats_from_file {file-name}]
|
||||||
# Read 'show-endp' ouput from a file instead of direct query from LANforge.
|
# Read 'show-endp' ouput from a file instead of direct query from LANforge.
|
||||||
# This can save a lot of time if we already have the output available.
|
# This can save a lot of time if we already have the output available.
|
||||||
[--mgr {host-name | IP}]
|
[--mgr {host-name | IP}]
|
||||||
@@ -153,7 +156,7 @@ Example:
|
|||||||
--endp_type lf_tcp --port_name wlan2 --multicon 1
|
--endp_type lf_tcp --port_name wlan2 --multicon 1
|
||||||
|
|
||||||
$0 --mgr localhost --action create_cx --cx_name test1 --cx_endps test1a,test1b
|
$0 --mgr localhost --action create_cx --cx_name test1 --cx_endps test1a,test1b
|
||||||
";
|
^;
|
||||||
|
|
||||||
my $i = 0;
|
my $i = 0;
|
||||||
my $cmd;
|
my $cmd;
|
||||||
|
|||||||
Reference in New Issue
Block a user