for table in spec.tables:
try:
eval(table["algorithm"])(table, data)
- except NameError:
- logging.error("The algorithm '{0}' is not defined.".
- format(table["algorithm"]))
+ except NameError as err:
+ logging.error("Probably algorithm '{alg}' is not defined: {err}".
+ format(alg=table["algorithm"], err=repr(err)))
logging.info("Done.")
classification_lst = classify_anomalies(data_t, window=14)
if classification_lst:
+ if isnan(rel_change_last) and isnan(rel_change_long):
+ continue
tbl_lst.append(
[tbl_dict[tst_name]["name"],
'-' if isnan(last_median_t) else
if "memif" in item:
file_name = "container_memif.html"
+ elif "srv6" in item:
+ file_name = "srv6.html"
+
elif "vhost" in item:
if "l2xcbase" in item or "l2bdbasemaclrn" in item:
file_name = "vm_vhost_l2.html"