From e3e69f80b7dccffcf4b26cdef86017901cda2385 Mon Sep 17 00:00:00 2001 From: Balaji Shankaran Date: Wed, 19 Aug 2020 17:37:43 +0530 Subject: [PATCH] Updating IP and port Change-Id: Ib4b68d9f4112b1528edf7b8c18bf7ce56595f967 Signed-off-by: Balaji Shankaran --- docs/README | 6 +++--- src/5gnrrlc/mac_stub.h | 4 ++-- src/cu_stub/cu_stub.c | 4 ++-- src/du_app/du_cfg.h | 4 ++-- src/ric_stub/ric_stub.c | 8 ++++---- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/README b/docs/README index f47fee2d9..61147fbba 100644 --- a/docs/README +++ b/docs/README @@ -56,9 +56,9 @@ How to Clean and Build: How to execute: --------------- 1. Assign virtual IP addresses as follows: - ifconfig :ODU "10.0.2.20" - ifconfig :CU_STUB "10.0.2.25" - ifconfig :RIC_STUB "10.0.2.30" + ifconfig :ODU "192.168.130.81" + ifconfig :CU_STUB "192.168.130.82" + ifconfig :RIC_STUB "192.168.130.80" 2. CU execution folder: cd l2/bin/cu_stub diff --git a/src/5gnrrlc/mac_stub.h b/src/5gnrrlc/mac_stub.h index 46b7104a5..1c628eba1 100644 --- a/src/5gnrrlc/mac_stub.h +++ b/src/5gnrrlc/mac_stub.h @@ -52,8 +52,8 @@ #include "rgu.x" -#define DU_IP_V4_ADDR "10.0.2.20" -#define CU_IP_V4_ADDR "10.0.2.25" +#define DU_IP_V4_ADDR "192.168.130.81" +#define CU_IP_V4_ADDR "192.168.130.82" S16 macStubBOStatus(Pst *pst, SpId spId, RlcMacBOStatus *boSta); S16 macStubSendDlData(Pst *post, SpId spId, RlcMacData *dlData); diff --git a/src/cu_stub/cu_stub.c b/src/cu_stub/cu_stub.c index 23bd42cb0..460b6f113 100644 --- a/src/cu_stub/cu_stub.c +++ b/src/cu_stub/cu_stub.c @@ -24,8 +24,8 @@ #define CU_ID 1 #define CU_NAME "ORAN_OAM_CU" -#define DU_IP_V4_ADDR "10.0.2.20" -#define CU_IP_V4_ADDR "10.0.2.25" +#define DU_IP_V4_ADDR "192.168.130.81" +#define CU_IP_V4_ADDR "192.168.130.82" #define DU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0001" #define CU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0011" #define DU_PORT 38472 diff --git a/src/du_app/du_cfg.h b/src/du_app/du_cfg.h index e05165472..1384a5c6e 100644 --- a/src/du_app/du_cfg.h +++ b/src/du_app/du_cfg.h @@ -28,11 +28,11 @@ #define DU_INST 0 #define DU_ID 1 #define DU_IP_V4_ADDR "192.168.130.81" -#define CU_IP_V4_ADDR "10.0.2.25" +#define CU_IP_V4_ADDR "192.168.130.82" #define RIC_IP_V4_ADDR "192.168.130.80" #define DU_PORT 38472 #define CU_PORT 38472 -#define RIC_PORT 36422 +#define RIC_PORT 36422 /* using X2 port since E2 port not defined */ #define DU_EGTP_PORT 39001 #define CU_EGTP_PORT 39002 #define NR_PCI 1 diff --git a/src/ric_stub/ric_stub.c b/src/ric_stub/ric_stub.c index e31443914..be6760246 100644 --- a/src/ric_stub/ric_stub.c +++ b/src/ric_stub/ric_stub.c @@ -23,12 +23,12 @@ #define RIC_ID 1 #define RIC_NAME "ORAN_OAM_RIC" -#define DU_IP_V4_ADDR "10.0.2.20" -#define RIC_IP_V4_ADDR "10.0.2.30" +#define DU_IP_V4_ADDR "192.168.130.81" +#define RIC_IP_V4_ADDR "192.168.130.80" #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 38482 -#define RIC_PORT 38482 +#define DU_PORT 36422 +#define RIC_PORT 36422 #define RRC_VER 0 #define EXT_RRC_VER 5 #define PLMN_MCC0 3 -- 2.16.6