mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	required arguments
This commit is contained in:
		@@ -178,7 +178,8 @@ def main():
 | 
				
			|||||||
        --debug (optional)
 | 
					        --debug (optional)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            ''')
 | 
					            ''')
 | 
				
			||||||
 | 
					    required = parser.add_argument_group('required arguments')
 | 
				
			||||||
 | 
					    required.add_argument('--security', help='WiFi Security protocol: < open | wep | wpa | wpa2 | wpa3 >', required=True)
 | 
				
			||||||
    parser.add_argument('--test_duration', help='--test_duration sets the duration of the test', default="5m")
 | 
					    parser.add_argument('--test_duration', help='--test_duration sets the duration of the test', default="5m")
 | 
				
			||||||
    parser.add_argument('--url', help='--url specifies upload/download, address, and dest', default="dl http://10.40.0.1 /dev/null")
 | 
					    parser.add_argument('--url', help='--url specifies upload/download, address, and dest', default="dl http://10.40.0.1 /dev/null")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -192,7 +192,8 @@ Generic command layout:
 | 
				
			|||||||
--test_duration 2m
 | 
					--test_duration 2m
 | 
				
			||||||
--debug
 | 
					--debug
 | 
				
			||||||
        ''')
 | 
					        ''')
 | 
				
			||||||
 | 
					    required = parser.add_argument_group('required arguments')
 | 
				
			||||||
 | 
					    required.add_argument('--security', help='WiFi Security protocol: < open | wep | wpa | wpa2 | wpa3 >', required=True)
 | 
				
			||||||
    parser.add_argument('--a_min', help='--a_min bps rate minimum for side_a', default=256000)
 | 
					    parser.add_argument('--a_min', help='--a_min bps rate minimum for side_a', default=256000)
 | 
				
			||||||
    parser.add_argument('--b_min', help='--b_min bps rate minimum for side_b', default=256000)
 | 
					    parser.add_argument('--b_min', help='--b_min bps rate minimum for side_b', default=256000)
 | 
				
			||||||
    parser.add_argument('--test_duration', help='--test_duration sets the duration of the test', default="5m")
 | 
					    parser.add_argument('--test_duration', help='--test_duration sets the duration of the test', default="5m")
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -247,7 +247,8 @@ test_ipv4_ttls.py:
 | 
				
			|||||||
    --debug
 | 
					    --debug
 | 
				
			||||||
 | 
					
 | 
				
			||||||
''')
 | 
					''')
 | 
				
			||||||
 | 
					    required = parser.add_argument_group('required arguments')
 | 
				
			||||||
 | 
					    required.add_argument('--security', help='WiFi Security protocol: < open | wep | wpa | wpa2 | wpa3 >', required=True)
 | 
				
			||||||
    parser.add_argument('--a_min', help='--a_min bps rate minimum for side_a', default=256000)
 | 
					    parser.add_argument('--a_min', help='--a_min bps rate minimum for side_a', default=256000)
 | 
				
			||||||
    parser.add_argument('--b_min', help='--b_min bps rate minimum for side_b', default=256000)
 | 
					    parser.add_argument('--b_min', help='--b_min bps rate minimum for side_b', default=256000)
 | 
				
			||||||
    parser.add_argument('--test_duration', help='--test_duration sets the duration of the test', default="5m")
 | 
					    parser.add_argument('--test_duration', help='--test_duration sets the duration of the test', default="5m")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user