Fix issue with system_ready_for_rapid file
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / rapid_defaults.py
1 #!/usr/bin/python
2
3 ##
4 ## Copyright (c) 2020 Intel Corporation
5 ##
6 ## Licensed under the Apache License, Version 2.0 (the "License");
7 ## you may not use this file except in compliance with the License.
8 ## You may obtain a copy of the License at
9 ##
10 ##     http://www.apache.org/licenses/LICENSE-2.0
11 ##
12 ## Unless required by applicable law or agreed to in writing, software
13 ## distributed under the License is distributed on an "AS IS" BASIS,
14 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ## See the License for the specific language governing permissions and
16 ## limitations under the License.
17 ##
18
19 class RapidDefaults(object):
20     """
21     Class to define the test defaults
22     """
23     test_params = {
24         'version' : '2023.01.16', # Please do NOT change, used for debugging
25         'environment_file' : 'rapid.env', #Default string for environment
26         'test_file' : 'tests/basicrapid.test', #Default string for test
27         'machine_map_file' : 'machine.map', #Default string for machine map file
28         'loglevel' : 'DEBUG', # sets log level for writing to file
29         'screenloglevel' : 'INFO', # sets log level for writing to screen
30         'runtime' : 10, # time in seconds for 1 test run
31         'configonly' : False, # If True, the system will upload all the necessary config fiels to the VMs, but not start PROX and the actual testing
32         'rundir' : '/opt/rapid', # Directory where to find the tools in the machines running PROX
33         'resultsdir' : '.', # Directory where to store log files
34         'sleep_time' : 2, # Sleep time between two loop iteration. Minimum is 2 seconds. Might be useful to let SUT clean caches
35         'lat_percentile' : 0.99
36         }