in fiosynth_lib/flash_config.py [0:0]
def print_csv_line(f, data, tool):
hostname = cmdline("uname -n").decode("utf-8").rstrip()
kernel = cmdline("uname -r").decode("utf-8").rstrip()
# nvme tool will work for all NVMe flash devices
if tool == "nvme":
print_nvme_line(f, data["Devices"], hostname, kernel)
elif tool == "flash_manager":
print_flash_line(f, data, hostname, kernel)
elif tool == "smartctl":
print_smart_line(f, data, hostname, kernel)
else:
print("tool: %s not found." % tool)