Lines Matching +full:trim +full:- +full:data +full:- +full:valid
4 This module has functions to support various data structures such as the boot_table, valid_boot_lis…
46 remove all of the "os_" start and end state requirements from the JSON data.
51 … Otherwise, it will default to "data/boot_table.json". If this value is a
62 "BOOT_TABLE_PATH", "data/boot_table_redfish.json"
66 "BOOT_TABLE_PATH", "data/boot_table_x86.json"
70 "BOOT_TABLE_PATH", "data/boot_table.json"
76 # Pre-process the file by removing blank lines and comment lines.
80 cmd_buf = "egrep -v '^[ ]*$|^[ ]*#' " + file_path + " > " + temp_file_path
107 Return a list of all of the valid boot types (e.g. ['REST Power On', 'REST Power Off', ...]).
116 def read_boot_lists(dir_path="data/boot_lists/"):
156 boot_list = gm.file_to_list(file_path, newlines=0, comments=0, trim=1)
168 valid_boot_types A list of valid boot types such as that returned by
194 … the valid boot test types. It can be created with the create_boot_table
205 # Store the method parms as class data.
247 - Updating the record for the given boot_type by incrementing the pass or fail field.
248 - Calling the calc method to have the totals calculated.
253 or "fail" (case-insensitive).
261 String-print the formatted boot_resuls_table and return them.
349 gc.cmd_fnc("rm -f " + file_path)
359 …boot_start_message This is typically a time-stamped line of text announcing the start…
367 # Trim list to max number of entries.
368 del boot_history[: max(0, len(boot_history) - max_boot_history)]