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
Classification of RIC logs [JIRA ID - ODUHIGH-275]
[o-du/l2.git]
/
src
/
ric_stub
/
ric_stub.c
diff --git
a/src/ric_stub/ric_stub.c
b/src/ric_stub/ric_stub.c
index
60e5c01
..
9cf9644
100644
(file)
--- a/
src/ric_stub/ric_stub.c
+++ b/
src/ric_stub/ric_stub.c
@@
-18,19
+18,18
@@
/* This functions contains main() for ric_app */
#include "common_def.h"
/* This functions contains main() for ric_app */
#include "common_def.h"
-#include "odu_common_codec.h"
#include "ric_stub.h"
#include "ric_stub_sctp.h"
#include "du_log.h"
#define RIC_ID 1
#define RIC_NAME "ORAN_OAM_RIC"
#include "ric_stub.h"
#include "ric_stub_sctp.h"
#include "du_log.h"
#define RIC_ID 1
#define RIC_NAME "ORAN_OAM_RIC"
-#define DU_IP_V4_ADDR "1
0.0.2.20
"
-#define RIC_IP_V4_ADDR "1
0.0.2.3
0"
+#define DU_IP_V4_ADDR "1
92.168.130.81
"
+#define RIC_IP_V4_ADDR "1
92.168.130.8
0"
#define DU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0001"
#define RIC_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0011"
#define DU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0001"
#define RIC_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0011"
-#define DU_PORT 3
848
2
-#define RIC_PORT 3
8482
+#define DU_PORT 3
642
2
+#define RIC_PORT 3
6422
#define RRC_VER 0
#define EXT_RRC_VER 5
#define PLMN_MCC0 3
#define RRC_VER 0
#define EXT_RRC_VER 5
#define PLMN_MCC0 3
@@
-83,11
+82,11
@@
void init_log()
*
* ****************************************************************/
*
* ****************************************************************/
-
S16
tst()
+
uint8_t
tst()
{
init_log();
{
init_log();
- DU_LOG("\nStarting RIC_STUB");
+ DU_LOG("\n
INFO --> RIC :
Starting RIC_STUB");
/* Read RIC configurations */
readRicCfg();
/* Read RIC configurations */
readRicCfg();
@@
-116,9
+115,9
@@
S16 tst()
void readRicCfg()
{
void readRicCfg()
{
-
U32
ipv4_du, ipv4_ric;
+
uint32_t
ipv4_du, ipv4_ric;
- DU_LOG("\nReading RIC configurations");
+ DU_LOG("\n
INFO --> RIC :
Reading RIC configurations");
cmInetAddr((S8*)DU_IP_V4_ADDR, &ipv4_du);
cmInetAddr((S8*)RIC_IP_V4_ADDR, &ipv4_ric);
cmInetAddr((S8*)DU_IP_V4_ADDR, &ipv4_du);
cmInetAddr((S8*)RIC_IP_V4_ADDR, &ipv4_ric);