J-Release Documentation
[o-du/l2.git] / src / o1 / GlobalDefs.hpp
index 0f8d42a..f767115 100644 (file)
@@ -22,6 +22,9 @@
 #define __GLOBAL_DEFS_HPP__
 
 #include <syslog.h>
+#include <string>
+
+using std::string;
 
 #define O1_LOG(...) ( {\
                printf(__VA_ARGS__);\
 #define ALARM_MODULE_PATH_3GPP "/_3gpp-common-fm:AlarmListGrp"
 #define ALARM_MODULE_NAME_ORAN "o-ran-sc-odu-alarm-v1"
 #define ALARM_MODULE_PATH_ORAN "/o-ran-sc-odu-alarm-v1:odu"
-
+#define CELL_STATE_MODULE_NAME "o-ran-sc-du-hello-world"
+#define CELL_STATE_MODULE_PATH "/o-ran-sc-du-hello-world:network-function"
+#define IETF_NACM_MODULE_NAME "ietf-netconf-acm"
+#define IETF_NACM_MODULE_PATH "/ietf-netconf-acm:nacm"
+#define MANAGED_ELEMENT_MODULE_NAME "_3gpp-common-managed-element"
+#define MANAGED_ELEMENT_MODULE_PATH "/_3gpp-common-managed-element:ManagedElement"
+#define GNB_DU_FUNTION_MODULE_NAME "_3gpp-nr-nrm-gnbdufunction"
+#define NR_CELL_DU_MODULE_NAME "_3gpp-nr-nrm-nrcelldu"
+#define RRMPOLICY_MODULE_NAME "_3gpp-nr-nrm-rrmpolicy"
+#define RRMPOLICY_MODULE_PATH "/_3gpp-nr-nrm-rrmpolicy:RRMPolicyRatio"
 #define MAX_ALARM_ID_LEN 10
 
-class O1 
+#define ROK 0
+
+class O1
 {
    public:
-   static const short TCP_PORT;
    static const int   SUCCESS;
    static const int   FAILURE;
+   static const string ALARM_SOCK_PATH;
+   static const int CPU_CORE;
 };
 
 #endif