X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=csit.infra.dash%2Fapp%2Fcdash%2Futils%2Fconstants.py;h=95acc07c4757d5645be69c0c9fd909f752b642a1;hb=4d03dd53c2d77bf2e35a07ed3a5a95f323c3a370;hp=cf16491d6be46df021172ad55ff4e9f71e5f50fa;hpb=430c577e8e8a737cb46e67cbe802e038b8ffd25a;p=csit.git diff --git a/csit.infra.dash/app/cdash/utils/constants.py b/csit.infra.dash/app/cdash/utils/constants.py index cf16491d6b..95acc07c47 100644 --- a/csit.infra.dash/app/cdash/utils/constants.py +++ b/csit.infra.dash/app/cdash/utils/constants.py @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -44,9 +44,6 @@ class Constants: # External stylesheets. EXTERNAL_STYLESHEETS = ["/static/dist/css/bootstrap.css", ] - # Top level template for all pages. - TEMPLATE = "d-flex h-100 text-center text-white bg-dark" - # Path and name of the file specifying the HTML layout of the dash # application. MAIN_HTML_LAYOUT_FILE = "base_layout.jinja2" @@ -66,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. - MAX_TIME_PERIOD = 180 + MAX_TIME_PERIOD = 150 # 180 # It defines the time period for data read from the parquets in days from # now back to the past. @@ -77,11 +74,14 @@ class Constants: # List of releases used for iterative data processing. # The releases MUST be in the order from the current (newest) to the last # (oldest). - RELEASES = ["csit2210", "csit2206", "csit2202", ] + RELEASES = ["rls2302", "rls2210", "rls2206", ] ############################################################################ # 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 @@ -114,7 +114,7 @@ class Constants: PLACEHOLDER = html.Nobr("") # List of drivers used in CSIT. - DRIVERS = ("avf", "af-xdp", "rdma", "dpdk") + DRIVERS = ("avf", "af-xdp", "rdma", "dpdk", "mlx5") # Labels for input elements (dropdowns, ...). LABELS = {