1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
#!python
# This file describes test all paramters for a specific test environment and system under test.
# SDNR Custom keywords and test suites use this file to be independent
# This file es created once for a test system
# in robot commandline pass the file with '--variablefile <my_environment>.py'
## Access SDNR cluster
SDNR_PROTOCOL = "http://"
SDNR_HOST = "127.0.0.1"
SDNR_PORT = "8282"
SDNR_USER = "admin"
SDNR_PASSWORD = "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
#SDNR_PASSWORD = "admin"
WEBSOCKET_PORT = "8182"
RELEASE_VERSION="argon" # expected opendaylight version
# for odlux gui testing
WEBDRIVER_PATH = "/usr/local/bin/chromedriver"
# sdnrdb is based on mariaDB
USE_MARIA_DB=True
MARIADB = {'IP': SDNR_HOST, 'PORT': 3306}
RESTCONF_TIMEOUT = '90 s'
# Restconf response time longer than VALID_RESPONSE_TIME in s will be notified as warning in the robot logs
VALID_RESPONSE_TIME = 5
# Define network function parameter
NETWORK_FUNCTIONS = {
'O_RAN_FH': {"NAME": "o-ran-fh", "IP": "172.40.0.40", "PORT": "830", "USER": "netconf",
"PASSWORD": "netconf!", 'NETCONF_HOST': '172.40.0.1', 'BASE_PORT': 40000, 'TLS_PORT': 40500},
'X_RAN': {"NAME": "x-ran", "IP": "172.40.0.42", "PORT": "830", "USER": "netconf",
"PASSWORD": "netconf!", 'NETCONF_HOST': '172.40.0.1', 'BASE_PORT': 42000, 'TLS_PORT': 42500},
'ONF_CORE_1_2': {"NAME": "onf-core-1-2", "IP": "172.40.0.30", "PORT": "830",
"USER": "netconf", "PASSWORD": "netconf!", 'NETCONF_HOST': '172.40.0.1', 'BASE_PORT': 30000,
'TLS_PORT': 30500},
'ONF_CORE_1_4': {"NAME": "onf-core-1-4", "IP": "172.40.0.31", "PORT": "830",
"USER": "netconf", "PASSWORD": "netconf!", 'NETCONF_HOST': '172.40.0.1', 'BASE_PORT': 31000,
'TLS_PORT': 31500},
'OPENROADM_6_1_0': {"NAME": "openroadm-6-1-0", "IP": "172.40.0.36", "PORT": "830", "USER": "netconf",
"PASSWORD": "netconf!", 'NETCONF_HOST': '172.40.0.1', 'BASE_PORT': 36000, 'TLS_PORT': 36500}
}
VESCOLLECTOR = {"SCHEME": "https", "IP": "172.40.0.1", "PORT": 8443, "AUTHMETHOD": "basic-auth", "USERNAME": "sample1",
"PASSWORD": "sample1"}
NTS_SSH_CONNECTIONS = 10
NTS_TLS_CONNECTIONS = 10
# ssh settings for karaf-shell
# list of default log topics, short name (defined in ...) or long name
KARAF_CONSOLE = {'KARAF_USER': "karaf", 'KARAF_PASSWORD': "karaf", 'KARAF_LOG_LEVEL': "DEFAULT",
'KARAF_LOGGER_LIST': ['netconf', 'wtfeatures'],
'HOST_LIST': [{'KARAF_HOST': "127.0.0.1", 'KARAF_PORT': 8101}
]}
# define log level used by default
KARAF_LOG_LEVEL = "DEFAULT"
# save karaf logs after test execution
KARAF_GET_LOG = True
KARAF_LOG_FILE_PATH = '/opt/opendaylight/data/log/'
# KARAF_LOG_FILE_PATH = '/var/log/onap/sdnc/karaf.log'
# write useful statistics in background
WRITE_STATISTICS_BACKGROUND = False
WRITE_STATISTICS_BACKGROUND_INTERVAL = 5
GLOBAL_SUITE_SETUP_CONFIG = {'setup_ssh_lib': True}
|