aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/Constants.py
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2021-11-29 16:17:15 +0100
committerTibor Frank <tifrank@cisco.com>2021-12-15 16:11:17 +0000
commitcca05a55f3434d8a031b98f4a496adb8df20c122 (patch)
tree3aba52b9aa4ec929091dd86875461f895b1331fe /resources/libraries/python/Constants.py
parentaa094dc1a834bf89ebd6549a292fedf2446fb682 (diff)
Tox: Add checker for CSIT model version
+ Implementation stub so checker can check already. + Also add documentation stub for the implemented model. + Checker checks also for bumps in documentation version. - Not comparing implementation and documentation version yet. Change-Id: I4d19c00315a1c171de325c4494c28f5210635f32 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/Constants.py')
-rw-r--r--resources/libraries/python/Constants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py
index c14ba31c57..f44c6ad95a 100644
--- a/resources/libraries/python/Constants.py
+++ b/resources/libraries/python/Constants.py
@@ -119,6 +119,9 @@ def get_optimistic_bool_from_env(env_var_names):
class Constants:
"""Constants used in CSIT."""
+ # Version for CSIT data model. See docs/model/.
+ MODEL_VERSION = u"0.1.0"
+
# OpenVPP testing directory location at topology nodes
REMOTE_FW_DIR = u"/tmp/openvpp-testing"