import pandas as pd\r
import numpy as np\r
import matplotlib\r
-from enum import IntEnum\r
-\r
matplotlib.use('Agg')\r
from matplotlib import pyplot as plt\r
import os\r
}\r
\r
The Query structure is set (currently) to this:\r
- (test_name,state, date,hour,minute,mpps_result,mpps_min,mpps_max,build_id)\r
+\r
+ (test_name,state, date,hour,minute,mpps_result,mpps_min,mpps_max,build_id) example:\r
+\r
+ ["syn attack - 64 bytes, single CPU", "stl", "20161226", "01", "39", "9.631898", "9.5", "11.5", "54289"]\r
\r
it can be changed to support other formats of queries, simply change the enum class to support your desired structure\r
the enums specify the indexes of the data within the query tuple\r
"""\r
\r
\r
-class TestQuery(IntEnum):\r
+class TestQuery(object):\r
QUERY_DATE = 2 # date format is yyyymmdd\r
QUERY_HOUR = 3\r
QUERY_MINUTE = 4\r