Modifications to the index calulation script.
Key for each suite changed to "Index" from "<suite> Index".
This is to reuse code for the dashboard.py file for QTIP
Change-Id: I6e8c8c268b7d9376b0f44d572ed022910e8ad4d9
Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
compute_suite_index=temp/len(compute_bench_list)
compute_dict_f={};
-compute_dict_f['1. Compute Index']=compute_suite_index
+compute_dict_f['1. Index']=compute_suite_index
compute_dict_f['2. Compute suite results']=compute_dict
with open('../../results/compute_result.json', 'w+') as result_json:
json.dump(compute_dict_f, result_json, indent=4, sort_keys=True)
network_suite_index=temp/len(network_bench_list)
network_dict_f={};
-network_dict_f['1. Network Index']=network_suite_index
+network_dict_f['1. Index']=network_suite_index
network_dict_f['2. Network suite results']=network_dict
with open('../../results/network_result.json', 'w+') as result_json:
json.dump(network_dict_f, result_json, indent=4, sort_keys=True)
storage_suite_index=temp/len(storage_bench_list)
storage_dict_f={};
-storage_dict_f['1. Storage Index']=storage_suite_index
+storage_dict_f['1. Index']=storage_suite_index
storage_dict_f['2. Storage suite results']=storage_dict
with open('../../results/storage_result.json', 'w+') as result_json:
json.dump(storage_dict_f, result_json, indent=4, sort_keys=True)