mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	test_l4.py : updated notes in the header
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
		
				
					committed by
					
						
						shivam
					
				
			
			
				
	
			
			
			
						parent
						
							69c05d75e3
						
					
				
				
					commit
					dc09efd7e3
				
			@@ -18,6 +18,28 @@ SETUP:
 | 
				
			|||||||
        Port tab->Modify Port->Select FTP, Select HTTP for that eth port
 | 
					        Port tab->Modify Port->Select FTP, Select HTTP for that eth port
 | 
				
			||||||
        the ftp files just upload right to /home/lanforge
 | 
					        the ftp files just upload right to /home/lanforge
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					LANforge does have large files for ftp test located in 
 | 
				
			||||||
 | 
					    /var/www/html/data*bin :  data_slug_128K.bin   data_slug_256K.bin  data_slug_4K.bin data_slug_2048K.bin  data_slug_48K.bin
 | 
				
			||||||
 | 
					    /usr/local/lanforge/nginx/html/*.bin : 10m.bin  1m.bin  2m.bin  3m.bin  500k.bin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    http service is nginx and that serves /usr/local/lanforge/nginx/html
 | 
				
			||||||
 | 
					    ftp serves /var/ftp
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    To create the large file in /home/lanforge:
 | 
				
			||||||
 | 
					    [lanforge@ct523c-3ba3 ~]$ dd if=/dev/urandom of=/home/lanforge/large-file.bin bs=1k count=10240
 | 
				
			||||||
 | 
					    10240+0 records in
 | 
				
			||||||
 | 
					    10240+0 records out
 | 
				
			||||||
 | 
					    10485760 bytes (10 MB, 10 MiB) copied, 0.0469094 s, 224 MB/s
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    The test can see the /home/lanforge directory .  The destination file may be in 
 | 
				
			||||||
 | 
					    /home/lanforge/tmp/larg-file-dest.bin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					COOKBOOKS:
 | 
				
			||||||
 | 
					    http://candelatech.com/cookbook.php?vol=fire&book=Introduction+to+Layer+4-7+Traffic
 | 
				
			||||||
 | 
					    https://www.candelatech.com/cookbook.php?vol=wifire&book=UE_Testing_WiFi_Capacity_Test_with_Layer_4_7
 | 
				
			||||||
 | 
					    https://www.candelatech.com/cookbook.php?vol=wifire&book=AP+Testing:Using+the+Port+Monitor
 | 
				
			||||||
 | 
					
 | 
				
			||||||
NOTES:
 | 
					NOTES:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This script replaces the functionality of test_ipv4_l4.py, test_ipv4_l4_ftp_upload.py, test_ipv4_l4_ftp_urls_per_ten.py,
 | 
					This script replaces the functionality of test_ipv4_l4.py, test_ipv4_l4_ftp_upload.py, test_ipv4_l4_ftp_urls_per_ten.py,
 | 
				
			||||||
@@ -532,6 +554,8 @@ Generic command example:
 | 
				
			|||||||
    parser.add_argument('--local_lf_report_dir',
 | 
					    parser.add_argument('--local_lf_report_dir',
 | 
				
			||||||
                        help='--local_lf_report_dir override the report path, primary use when running test in test suite',
 | 
					                        help='--local_lf_report_dir override the report path, primary use when running test in test suite',
 | 
				
			||||||
                        default="")
 | 
					                        default="")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # kpi_csv arguments
 | 
					    # kpi_csv arguments
 | 
				
			||||||
    parser.add_argument(
 | 
					    parser.add_argument(
 | 
				
			||||||
        "--test_rig",
 | 
					        "--test_rig",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user