X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fo1%2FConfigInterface.h;h=a8c8d1d898804e82ca7914ff796a1bc8a834b1b4;hb=a31737d4988c5e02d4998c16973b1048fa2be9a4;hp=0f4929e5cc41f51ffef83f7b41e3021b6071d440;hpb=2dc9d6735bc5ff973a761b7d6b3f71f97e95d60e;p=o-du%2Fl2.git diff --git a/src/o1/ConfigInterface.h b/src/o1/ConfigInterface.h index 0f4929e5c..a8c8d1d89 100644 --- a/src/o1/ConfigInterface.h +++ b/src/o1/ConfigInterface.h @@ -44,10 +44,28 @@ typedef struct uint16_t RIC_Port; }StartupConfig; +typedef enum { + INACTIVE, + ACTIVE, + IDLE +}CellState; + +typedef enum { + DISABLED, + ENABLED +}OpState; + uint8_t getStartupConfig(StartupConfig *cfg); uint8_t getStartupConfigForStub(StartupConfig *cfg); +bool setCellOpState(uint16_t cellId, OpState opState, \ + CellState cellState); +#ifndef ODU_TEST_STUB +//Defined in odu high +bool bringCellUp(uint16_t cellId); +bool bringCellDown(uint16_t cellId); +#endif //ODU_TEST_STUB #ifdef __cplusplus } #endif