mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	Add optional debug output to Chamberview test scripts, wifi capacity, dataplane
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		| @@ -357,7 +357,8 @@ class WiFiCapacityTest(cv_test): | ||||
|                  report_dir="", | ||||
|                  graph_groups=None, | ||||
|                  test_rig="", | ||||
|                  local_lf_report_dir="" | ||||
|                  local_lf_report_dir="", | ||||
|                  debug=False, | ||||
|                  ): | ||||
|         super().__init__(lfclient_host=lfclient_host, lfclient_port=lf_port) | ||||
|  | ||||
| @@ -396,6 +397,7 @@ class WiFiCapacityTest(cv_test): | ||||
|         self.graph_groups = graph_groups | ||||
|         self.test_rig = test_rig | ||||
|         self.local_lf_report_dir = local_lf_report_dir | ||||
|         self.debug = debug | ||||
|  | ||||
|     def setup(self): | ||||
|         if self.create_stations and self.stations != "": | ||||
| @@ -473,7 +475,8 @@ class WiFiCapacityTest(cv_test): | ||||
|         self.create_and_run_test(self.load_old_cfg, self.test_name, self.instance_name, | ||||
|                                  self.config_name, self.sets, | ||||
|                                  self.pull_report, self.lfclient_host, self.lf_user, self.lf_password, | ||||
|                                  cv_cmds, graph_groups_file=self.graph_groups, local_lf_report_dir=self.local_lf_report_dir) | ||||
|                                  cv_cmds, graph_groups_file=self.graph_groups, local_lf_report_dir=self.local_lf_report_dir, | ||||
|                                  debug=self.debug) | ||||
|  | ||||
|         self.rm_text_blob(self.config_name, blob_test)  # To delete old config with same name | ||||
|  | ||||
| @@ -528,6 +531,7 @@ def main(): | ||||
|     parser.add_argument("--scenario", default="") | ||||
|     parser.add_argument("--graph_groups", help="File to save graph groups to", default=None) | ||||
|     parser.add_argument("--local_lf_report_dir", help="--local_lf_report_dir <where to pull reports to>  default '' put where dataplane script run from",default="") | ||||
|     parser.add_argument("--debug", default=False) | ||||
|  | ||||
|     args = parser.parse_args() | ||||
|  | ||||
| @@ -562,7 +566,8 @@ def main(): | ||||
|                                 sets=args.set, | ||||
|                                 graph_groups=args.graph_groups, | ||||
|                                 test_rig=args.test_rig, | ||||
|                                 local_lf_report_dir=args.local_lf_report_dir | ||||
|                                 local_lf_report_dir=args.local_lf_report_dir, | ||||
|                                 debug=args.debug | ||||
|                                 ) | ||||
|     WFC_Test.setup() | ||||
|     WFC_Test.run() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Matthew Stidham
					Matthew Stidham