[SNDC-CSIT] Provide test deployment for SDNC/R
[sdnc/oam.git] / csit / plans / sdnr / testdata / localhost.py
1 #!python
2
3 # This file describes test all paramters for a specific test environment and system under test.
4 # SDNR Custom keywords and test suites use this file to be independent
5 # This file es created once for a test system
6 # in robot commandline pass the file with '--variablefile <my_environment>.py'
7
8 ## Access SDNR cluster
9 SDNR_PROTOCOL = "http://"
10 SDNR_HOST = "127.0.0.1"
11 SDNR_PORT = "8181"
12 SDNR_USER = "admin"
13 SDNR_PASSWORD = "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
14
15 # for odlux gui testing
16 WEBDRIVER_PATH = "/usr/local/bin/chromedriver"
17
18 # Access to elastic search SDNRDB
19 SDNRDB = {'PROTOCOL': 'http', 'IP': '127.0.0.1', 'PORT': '8181', 'USE_API_GATEWAY': True, 'USE_SSL': False,
20           'VERIFY_CERTS': False}
21 # elastic DB to store statistic datas
22 ELASTIC_LOG_DB = SDNRDB
23 RESTCONF_TIMEOUT = '90 s'
24 # Restconf response time longer than VALID_RESPONSE_TIME in s will be notified as warning in the robot logs
25 VALID_RESPONSE_TIME = 5
26
27
28 VESCOLLECTOR = {"SCHEME": "https", "IP": "172.40.0.1", "PORT": 8443, "AUTHMETHOD": "basic-auth", "USERNAME": "sample1",
29                 "PASSWORD": "sample1"}
30
31 NTS_SSH_CONNECTIONS = 10
32 NTS_TLS_CONNECTIONS = 10
33 # ssh settings for karaf-shell
34 # list of default log topics, short name (defined in ...) or long name
35 KARAF_CONSOLE = {'KARAF_USER': "karaf", 'KARAF_PASSWORD': "karaf", 'KARAF_LOG_LEVEL': "DEFAULT",
36                  'KARAF_LOGGER_LIST': ['netconf', 'wtfeatures'],
37                  'HOST_LIST': [{'KARAF_HOST': "127.0.0.1", 'KARAF_PORT': 8101}
38                                ]}
39 # define log level used by default
40 KARAF_LOG_LEVEL = "DEFAULT"
41 # save karaf logs after test execution
42 KARAF_GET_LOG = True
43 KARAF_LOG_FILE_PATH = '/opt/opendaylight/data/log/'
44 # KARAF_LOG_FILE_PATH = '/var/log/onap/sdnc/karaf.log'
45 # write useful statistics in background
46 WRITE_STATISTICS_BACKGROUND = False
47 WRITE_STATISTICS_BACKGROUND_INTERVAL = 5
48
49 GLOBAL_SUITE_SETUP_CONFIG = {'setup_ssh_lib': True}