The following example demonstrates how to inject the PreScanSnapshot into a .fio file.
Note that the PreScanSnapshot can be filled from a macro. An example can be found in this section 4.1.1.
#!/usr/bin/env python3 # # this file is referenced by the Macroserver environment variable FioAdditions # # this script returns output to be filled into the header of a .fio file. # allowed combinations: list, dict, [list], [dict], [list, dict], [dict, list] # import HasyUtils def main(): return HasyUtils.createPreScanSnapshotDct() if __name__ == '__main__': main()