mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	1. Updating argparse commands so they include flags
2. Create check_argparse which allows us to check which flags are or are not included in argparse statements. Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		| @@ -614,7 +614,10 @@ class HttpDownload(Realm): | ||||
|         report.write_pdf() | ||||
|  | ||||
| def main(): | ||||
|     parser = argparse.ArgumentParser(description="lanforge webpage download Test Script") | ||||
|     parser = argparse.ArgumentParser( | ||||
|         prog="lf_webpage.py", | ||||
|         formatter_class=argparse.RawTextHelpFormatter, | ||||
|         description="lanforge webpage download Test Script") | ||||
|     parser.add_argument('--mgr', help='hostname for where LANforge GUI is running', default='localhost') | ||||
|     parser.add_argument('--mgr_port', help='port LANforge GUI HTTP service is running on', default=8080) | ||||
|     parser.add_argument('--upstream_port', help='non-station port that generates traffic: eg: eth1', default='eth2') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Matthew Stidham
					Matthew Stidham