X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2FGlobalDefs.hpp;h=6bf2578bc03f7019667ec0e479f2065cbe3e91da;hb=6fe137e5c6f9470f4f48448f5651573c42bd8aed;hp=0f8d42a41e8b7ddbed118b24544adb77c03fdea1;hpb=762bc0a2a50222d74b01d9a88071bfaf5d90979b;p=o-du%2Fl2.git diff --git a/src/o1/GlobalDefs.hpp b/src/o1/GlobalDefs.hpp index 0f8d42a41..6bf2578bc 100644 --- a/src/o1/GlobalDefs.hpp +++ b/src/o1/GlobalDefs.hpp @@ -22,6 +22,9 @@ #define __GLOBAL_DEFS_HPP__ #include +#include + +using std::string; #define O1_LOG(...) ( {\ printf(__VA_ARGS__);\ @@ -32,15 +35,19 @@ #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 MAX_ALARM_ID_LEN 10 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