Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
C-Dash: Hover info and y-axis in trending and iterative graphs
[csit.git]
/
csit.infra.dash
/
app
/
cdash
/
utils
/
constants.py
diff --git
a/csit.infra.dash/app/cdash/utils/constants.py
b/csit.infra.dash/app/cdash/utils/constants.py
index
135f06f
..
12d7ee5
100644
(file)
--- a/
csit.infra.dash/app/cdash/utils/constants.py
+++ b/
csit.infra.dash/app/cdash/utils/constants.py
@@
-63,7
+63,7
@@
class Constants:
# Maximal value of TIME_PERIOD for data read from the parquets in days.
# Do not change without a good reason.
# Maximal value of TIME_PERIOD for data read from the parquets in days.
# Do not change without a good reason.
- MAX_TIME_PERIOD = 1
8
0
+ MAX_TIME_PERIOD = 1
3
0
# It defines the time period for data read from the parquets in days from
# now back to the past.
# It defines the time period for data read from the parquets in days from
# now back to the past.
@@
-71,14
+71,12
@@
class Constants:
# TIME_PERIOD = MAX_TIME_PERIOD - is the default value
TIME_PERIOD = MAX_TIME_PERIOD # [days]
# TIME_PERIOD = MAX_TIME_PERIOD - is the default value
TIME_PERIOD = MAX_TIME_PERIOD # [days]
- # List of releases used for iterative data processing.
- # The releases MUST be in the order from the current (newest) to the last
- # (oldest).
- RELEASES = ["rls2302", "rls2210", "rls2206", ]
-
############################################################################
# General, application wide, layout affecting constants.
############################################################################
# General, application wide, layout affecting constants.
+ # Add a time delay (in ms) to the spinner being shown
+ SPINNER_DELAY = 500
+
# If True, clear all inputs in control panel when button "ADD SELECTED" is
# pressed.
CLEAR_ALL_INPUTS = False
# If True, clear all inputs in control panel when button "ADD SELECTED" is
# pressed.
CLEAR_ALL_INPUTS = False
@@
-129,6
+127,7
@@
class Constants:
"nfv_density-vm_vhost-chain": "VNF Service Chains Routing",
"nfv_density-dcr_memif-pipeline": "CNF Service Pipelines Routing",
"nfv_density-dcr_memif-chain": "CNF Service Chains Routing",
"nfv_density-vm_vhost-chain": "VNF Service Chains Routing",
"nfv_density-dcr_memif-pipeline": "CNF Service Pipelines Routing",
"nfv_density-dcr_memif-chain": "CNF Service Chains Routing",
+ "hoststack": "Hoststack"
}
# URL style.
}
# URL style.
@@
-203,21
+202,33
@@
class Constants:
"mrr": "result_receive_rate_rate_avg",
"ndr": "result_ndr_lower_rate_value",
"pdr": "result_pdr_lower_rate_value",
"mrr": "result_receive_rate_rate_avg",
"ndr": "result_ndr_lower_rate_value",
"pdr": "result_pdr_lower_rate_value",
- "pdr-lat": "result_latency_forward_pdr_50_avg"
+ "pdr-lat": "result_latency_forward_pdr_50_avg",
+ "hoststack-cps": "result_rate_value",
+ "hoststack-rps": "result_rate_value",
+ "hoststack-bps": "result_bandwidth_value",
+ "hoststack-lat": "result_latency_value"
}
VALUE_ITER = {
"mrr": "result_receive_rate_rate_values",
"ndr": "result_ndr_lower_rate_value",
"pdr": "result_pdr_lower_rate_value",
}
VALUE_ITER = {
"mrr": "result_receive_rate_rate_values",
"ndr": "result_ndr_lower_rate_value",
"pdr": "result_pdr_lower_rate_value",
- "pdr-lat": "result_latency_forward_pdr_50_avg"
+ "pdr-lat": "result_latency_forward_pdr_50_avg",
+ "hoststack-cps": "result_rate_value",
+ "hoststack-rps": "result_rate_value",
+ "hoststack-bps": "result_bandwidth_value",
+ "hoststack-lat": "result_latency_value"
}
UNIT = {
"mrr": "result_receive_rate_rate_unit",
"ndr": "result_ndr_lower_rate_unit",
"pdr": "result_pdr_lower_rate_unit",
}
UNIT = {
"mrr": "result_receive_rate_rate_unit",
"ndr": "result_ndr_lower_rate_unit",
"pdr": "result_pdr_lower_rate_unit",
- "pdr-lat": "result_latency_forward_pdr_50_unit"
+ "pdr-lat": "result_latency_forward_pdr_50_unit",
+ "hoststack-cps": "result_rate_unit",
+ "hoststack-rps": "result_rate_unit",
+ "hoststack-bps": "result_bandwidth_unit",
+ "hoststack-lat": "result_latency_unit"
}
# Latencies.
}
# Latencies.