Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Automation scripts"
[o-du/l2.git]
/
src
/
o1
/
ConfigInterface.h
diff --git
a/src/o1/ConfigInterface.h
b/src/o1/ConfigInterface.h
index
0f4929e
..
a8c8d1d
100644
(file)
--- a/
src/o1/ConfigInterface.h
+++ b/
src/o1/ConfigInterface.h
@@
-44,10
+44,28
@@
typedef struct
uint16_t RIC_Port;
}StartupConfig;
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);
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
#ifdef __cplusplus
}
#endif