mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-02 19:58:03 +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.
 | 
			
		||||
########################################################################
 | 
			
		||||
 | 
			
		||||
our $usage = "$0  --action { list_ports | show_port
 | 
			
		||||
                            | list_endp | create_endp | create_arm | show_endp | set_endp
 | 
			
		||||
                            | do_cmd | start_endp | stop_endp | delete_endp
 | 
			
		||||
                            | create_cx | list_cx | show_cx | delete_cx | delete_cxe } ]
 | 
			
		||||
our $usage = qq^$0 [ --action {
 | 
			
		||||
     create_cx | create_endp  | create_arm   |
 | 
			
		||||
     delete_cx | delete_cxe   | delete_endp  | do_cmd    |
 | 
			
		||||
     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}]
 | 
			
		||||
      # show_endp output can be narrowed with key-value arguments
 | 
			
		||||
      # Examples:
 | 
			
		||||
@@ -90,7 +93,7 @@ our $usage = "$0  --action { list_ports | show_port
 | 
			
		||||
      # Special Keys:
 | 
			
		||||
      #  --endp_vals tx_bps         (Tx 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.
 | 
			
		||||
      # This can save a lot of time if we already have the output available.
 | 
			
		||||
  [--mgr          {host-name | IP}]
 | 
			
		||||
@@ -109,8 +112,8 @@ our $usage = "$0  --action { list_ports | show_port
 | 
			
		||||
  [--mcast_port   {multicast port number}]
 | 
			
		||||
  [--min_pkt_sz   {minimum payload size in bytes}]
 | 
			
		||||
  [--max_pkt_sz   {maximum payload size in bytes}]
 | 
			
		||||
  [--rcv_mcast { yes (receiver) | no (transmitter) }]
 | 
			
		||||
  [--use_csums { yes | no, should we checksum the payload }]
 | 
			
		||||
  [--rcv_mcast    {yes (receiver) | no (transmitter)}]
 | 
			
		||||
  [--use_csums    {yes | no, should we checksum the payload}]
 | 
			
		||||
  [--ttl          {time-to-live}]
 | 
			
		||||
  [--report_timer {miliseconds}]
 | 
			
		||||
  [--cx_name      {connection name}]
 | 
			
		||||
@@ -153,7 +156,7 @@ Example:
 | 
			
		||||
   --endp_type lf_tcp --port_name wlan2 --multicon 1
 | 
			
		||||
 | 
			
		||||
 $0 --mgr localhost --action create_cx --cx_name test1 --cx_endps test1a,test1b
 | 
			
		||||
";
 | 
			
		||||
^;
 | 
			
		||||
 | 
			
		||||
my $i = 0;
 | 
			
		||||
my $cmd;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user