01a96a861b0cca969f92e6d28fc0f06fd335556c
[csit.git] / resources / libraries / python / constants.py
1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 """Constants used in CSIT."""
15
16
17 class Constants(object):
18     """Constants used in CSIT."""
19
20     # OpenVPP testing directory location at topology nodes
21     REMOTE_FW_DIR = '/tmp/openvpp-testing'
22
23     # shell scripts location
24     RESOURCES_LIB_SH = 'resources/libraries/bash'
25
26     # vat templates location
27     RESOURCES_TPL_VAT = 'resources/templates/vat'
28
29     # OpenVPP VAT binary name
30     VAT_BIN_NAME = 'vpp_api_test'
31
32     # QEMU version to install
33     QEMU_INSTALL_VERSION = 'qemu-2.5.0'
34
35     # QEMU install directory
36     QEMU_INSTALL_DIR = '/opt/qemu-2.5.0'
37
38     # Kubernetes templates location
39     RESOURCES_TPL_K8S = 'resources/templates/kubernetes'
40
41     # Honeycomb directory location at topology nodes:
42     REMOTE_HC_DIR = '/opt/honeycomb'
43
44     # Honeycomb persistence files location
45     REMOTE_HC_PERSIST = '/var/lib/honeycomb/persist'
46
47     # Honeycomb log file location
48     REMOTE_HC_LOG = '/var/log/honeycomb/honeycomb.log'
49
50     # Honeycomb templates location
51     RESOURCES_TPL_HC = 'resources/templates/honeycomb'
52
53     # ODL Client Restconf listener port
54     ODL_PORT = 8181