Python Api  IE10.1
Namespaces | Functions | Variables
certification.py File Reference

Namespaces

 certification
 

Functions

def certification.set_certification_begin (certification_name)
 Notifiy backend certification begin, last certification record would be cleaned. More...
 
def certification.set_certification_end (certification_name)
 Notifiy backend certification end, all cached result would be flushed to DB. More...
 
def certification.save_certification_db (table_name, input_data, sync=False)
 save certification result in db, it would be cache in memory, and batch write into db in size 16 More...
 
def certification.query_certification_db (table_name, query_condition)
 query certification result in db More...
 
def certification.export_certification_report (report_name, report_content, export_path='certification')
 save report to specified folder on webserver, default is Public/certification More...
 
def certification.export_map (devices, map_name, map_path='certification')
 draw devices on map and save to folder on webserver, default is Public/certification More...
 
def certification.read_report (file_name, folder='certification')
 read report from webserver desktop, MUST be placed at Public More...
 
def certification.remove_file (file_name, folder='certification')
 remove file from webserver desktop, MUST be placed at Public More...
 
def certification.clear_certification_dbs ()
 
def certification.get_benchmark (name)
 DO NOT USE THIS API EXCEPT IN CERTIFICATION. More...
 
def certification.save_benchmark (benchmark)
 DO NOT USE THIS API EXCEPT IN CERTIFICATION. More...
 
def certification.execute_benchmark (name)
 DO NOT USE THIS API EXCEPT IN CERTIFICATION. More...
 
def certification.get_latest_device_benchmark_results (devIds)
 DO NOT USE THIS API EXCEPT IN CERTIFICATION. More...
 

Variables

 certification.str_stack = traceback.format_exc();
 
 certification.export_result = namedtuple('export_result', ["success", "error"])
 
 certification.export_map_request = namedtuple('export_map_request', ['devices', "map_name", "map_path"])
 
 certification.read_file_result = namedtuple('read_file_result', ['success', 'error', 'data'])