Edit-conf changes for CLA use case.
[o-du/l2.git] / src / du_app / du_cell_mgr.c
index a2208db..8d600cc 100644 (file)
 #include "du_utils.h"
 #include "du_cell_mgr.h"
 
+#ifdef O1_ENABLE
+
+#include "AlarmInterface.h"
+#include "ConfigInterface.h"
+
+#endif
+
 /*******************************************************************
  *
  * @brief Processes cells to be activated
@@ -197,6 +204,7 @@ uint8_t duHandleCellUpInd(Pst *pst, OduCellId *cellId)
 #ifdef O1_ENABLE
       DU_LOG("\nINFO   -->  DU APP : Raise cell UP alarm for cell id=%d", cellId->cellId);
       raiseCellAlrm(CELL_UP_ALARM_ID, cellId->cellId);
+      setCellOpState(cellId->cellId, ENABLED, ACTIVE);
 #endif
    }