mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	some work
This commit is contained in:
		| @@ -1171,9 +1171,6 @@ class L3CXProfile(BaseProfile): | ||||
|             output_format = report_file.split('.')[-1] | ||||
|  | ||||
|         # Step 1, column names | ||||
|         if fields = None: | ||||
|             pass | ||||
|         else: | ||||
|         fields = ",".join(col_names) | ||||
|         print(fields) | ||||
|         # Step 2, monitor columns | ||||
| @@ -1187,12 +1184,7 @@ class L3CXProfile(BaseProfile): | ||||
|         old_cx_rx_values = self.__get_rx_values() | ||||
|         timestamps = [] | ||||
|         # for x in range(0,int(round(iterations,0))): | ||||
|         if col_names = None: | ||||
|             header_row=list((list(self.json_get("/endp/all")['endpoint'][0].values())[0].keys())) | ||||
|         while datetime.datetime.now() < end_time: | ||||
|             if fields = None: | ||||
|                 response = self.json_get("/endp/all") | ||||
|             else: | ||||
|             response = self.json_get("/endp/%s?fields=%s" % (created_cx, fields)) | ||||
|             if "endpoint" not in response: | ||||
|                 print(response) | ||||
| @@ -1219,6 +1211,8 @@ class L3CXProfile(BaseProfile): | ||||
|             time.sleep(monitor_interval) | ||||
|         print(value_map) | ||||
|  | ||||
|         # if passes == expected_passes: | ||||
|         # self._pass("PASS: All tests passed") | ||||
|         # step 3 organize data | ||||
|         endpoints = list() | ||||
|         for endpoint in value_map.values(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shivam
					shivam