30f75319474b188d4ebe5a1baba1cf79233c40d2
[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     # TRex install version
39     TREX_INSTALL_VERSION = '2.35'
40
41     # TRex install directory
42     TREX_INSTALL_DIR = '/opt/trex-core-2.35'
43
44     # Kubernetes templates location
45     RESOURCES_TPL_K8S = 'resources/templates/kubernetes'
46
47     # Honeycomb directory location at topology nodes:
48     REMOTE_HC_DIR = '/opt/honeycomb'
49
50     # Honeycomb persistence files location
51     REMOTE_HC_PERSIST = '/var/lib/honeycomb/persist'
52
53     # Honeycomb log file location
54     REMOTE_HC_LOG = '/var/log/honeycomb/honeycomb.log'
55
56     # Honeycomb templates location
57     RESOURCES_TPL_HC = 'resources/templates/honeycomb'
58
59     # ODL Client Restconf listener port
60     ODL_PORT = 8181

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.