Merge "Fix for DMRS symbols overlap with PDSCH/PUSCH symbols (as per ODU-Low limitati...
[o-du/l2.git] / src / o1 / ves / VesUtils.hpp
1 /*******************************************************************************
2 ################################################################################
3 #   Copyright (c) [2020-2021] [HCL Technologies Ltd.]                          #
4 #                                                                              #
5 #   Licensed under the Apache License, Version 2.0 (the "License");            #
6 #   you may not use this file except in compliance with the License.           #
7 #   You may obtain a copy of the License at                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
11 #   Unless required by applicable law or agreed to in writing, software        #
12 #   distributed under the License is distributed on an "AS IS" BASIS,          #
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
14 #   See the License for the specific language governing permissions and        #
15 #   limitations under the License.                                             #
16 ################################################################################
17 *******************************************************************************/
18
19 /* This file contains message handling functionality for DU APP */
20
21 #ifndef __VES_UTILS_HPP__
22 #define __VES_UTILS_HPP__
23
24 #include <iostream>
25 #include "GlobalDefs.hpp"
26
27 //config file path
28 #define NETCONF_CONFIG "config/netconfConfig.json"
29 #define VES_CONFIG "config/vesConfig.json"
30
31 //Common Header Macros
32
33 //Event Type
34 #define EVENT_TYPE_5G "EventType5G"
35 #define EVENT_TYPE_ORAN_COMPONENET "O_RAN_COMPONENT"
36 #define EVENT_TYPE_CONTROLLER "Controller"
37
38 //Priority
39 #define PRIORITY_LOW "Low"
40 #define PRIORITY_HIGH "High"
41
42 //Source Name
43 #define ODU_HIGH "ODU-High"
44
45 //Naming Code 
46 #define NAMING_CODE_ODU "7odu"
47
48 //Timezone Offset
49 #define TIME_ZONE_00_00 "+00:00"
50
51 //version
52 #define VERSION_4_0_1 "4.0.1"
53
54 //Ves Event Listener Version
55 #define VES_EVENT_LISTENER_7_2_1 "7.2.1"
56
57
58
59 //PNF Registration Macros
60 #define PNF_REGISTRATION_VERSION_2_1 "2.1"
61 #define SOFTWARE_VERSION_2_3_5 "2.3.5"
62 #define UNIT_TYPE_7DEV "7DEV"
63 #define VENDER_NAME_VENDORB "VENDORB"
64 #define MODEL_NUMBER_007_DEV "007DEV"
65
66
67 //Additional fields macros for PNF Registration
68
69 #define NETCONF_DEFAULT_PORT "830"
70 #define NETCONF_PROTOCOL_SSH "SSH"
71 #define RECONNECT_ON_SCHEMA_CHANGE_FALSE "false"
72 #define SLEEP_FACTOR_1_5 "1.5"
73 #define TCP_ONLY_FALSE "false"
74 #define CONNECTION_TIMEOUT_20000 "20000"
75 #define MAX_CONNECTION_ATTEMPTS_100 "100"
76 #define BETWEEN_ATTEMPTS_TIMEOUT_2000 "2000"
77 #define KEEPALIVE_DELAY_120 "120"
78
79 enum class VesEventType
80
81    PNF_REGISTRATION,
82    FAULT_NOTIFICATION,
83    PM_NOTIFICATION,
84    HEARTBEAT
85 };
86
87
88 #endif
89 /**********************************************************************
90   End of file
91  **********************************************************************/