mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	lf_graph.py lf_report.py lf_report_test.py : updated headers
This commit is contained in:
		@@ -11,6 +11,10 @@ SETUP:
 | 
				
			|||||||
EXAMPLE:  
 | 
					EXAMPLE:  
 | 
				
			||||||
see: /py-scritps/lf_report_test.py for example
 | 
					see: /py-scritps/lf_report_test.py for example
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					COPYWRITE
 | 
				
			||||||
 | 
					    Copyright 2021 Candela Technologies Inc
 | 
				
			||||||
 | 
					    License: Free to distribute and modify. LANforge systems must be licensed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
INCLUDE_IN_README
 | 
					INCLUDE_IN_README
 | 
				
			||||||
'''
 | 
					'''
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@ NAME: lf_report.py
 | 
				
			|||||||
PURPOSE: 
 | 
					PURPOSE: 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This program is a helper  class for reporting results for a lanforge python script.
 | 
					This program is a helper  class for reporting results for a lanforge python script.
 | 
				
			||||||
The class will generate an output directory based on date and time in the /home/lanforge/reports-data/ .   
 | 
					The class will generate an output directory based on date and time in the /home/lanforge/html-reports/ .   
 | 
				
			||||||
If the reports-data is not present then the date and time directory will be created in the current directory.
 | 
					If the reports-data is not present then the date and time directory will be created in the current directory.
 | 
				
			||||||
The banner and Candela Technology logo will be copied in the results directory. 
 | 
					The banner and Candela Technology logo will be copied in the results directory. 
 | 
				
			||||||
The results directory may be over written and many of the other paramaters during construction. 
 | 
					The results directory may be over written and many of the other paramaters during construction. 
 | 
				
			||||||
@@ -21,6 +21,8 @@ LICENSE:
 | 
				
			|||||||
    Free to distribute and modify. LANforge systems must be licensed.
 | 
					    Free to distribute and modify. LANforge systems must be licensed.
 | 
				
			||||||
    Copyright 2021 Candela Technologies Inc
 | 
					    Copyright 2021 Candela Technologies Inc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					INCLUDE_IN_README
 | 
				
			||||||
'''
 | 
					'''
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import os
 | 
					import os
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,22 @@
 | 
				
			|||||||
#!/usr/bin/env python3
 | 
					#!/usr/bin/env python3
 | 
				
			||||||
 | 
					'''
 | 
				
			||||||
 | 
					NAME: lf_report_test.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					PURPOSE: 
 | 
				
			||||||
 | 
					Common file for testing lf_report and lf_graph Library generates html and pdf output
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					SETUP:  
 | 
				
			||||||
 | 
					/lanforge/html-reports directory needs to be present or output generated in local file
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					EXAMPLE:  
 | 
				
			||||||
 | 
					./lf_report_test.py : currently script does not accept input
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					COPYWRITE
 | 
				
			||||||
 | 
					    Copyright 2021 Candela Technologies Inc
 | 
				
			||||||
 | 
					    License: Free to distribute and modify. LANforge systems must be licensed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					INCLUDE_IN_README
 | 
				
			||||||
 | 
					'''
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import matplotlib.pyplot as plt 
 | 
					import matplotlib.pyplot as plt 
 | 
				
			||||||
import matplotlib as mpl 
 | 
					import matplotlib as mpl 
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user