new openflow rest api perf suite
[integration/test.git] / test / tools / odl-mdsal-clustering-tests / clustering-performance-test / create_plot_data_files.py
index 1e7fde46c72ecaa2f281ff5b457d10410fdb113a..1719defa4f794aa62a8d545925ae99c1eadc136e 100644 (file)
@@ -12,12 +12,7 @@ for line in log.splitlines():
         data.append(ll[0][24:])
 print data
 
-text_file = open("plot_data_create.txt", "w")
-text_file.write('Rate_create\n')
-text_file.write('{0}\n'.format(data[0]))
-text_file.close()
-
-text_file = open("plot_data_delete.txt", "w")
-text_file.write('Rate_delete\n')
-text_file.write('{0}\n'.format(data[1]))
+text_file = open("rates.csv", "w")
+text_file.write('Add,Delete\n')
+text_file.write('{0},{1}\n'.format(data[0], data[1]))
 text_file.close()