SPECTRA: added latest modifications after Project review.

Added Libcasablanca, CRMClient and libcrmclient
         RRC_eNB.c - added case for rrc_ConnectionReconfiguration message


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5821 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Ferreira
2014-09-29 14:25:38 +00:00
parent 57f33e0c19
commit 70fd487888
11 changed files with 88 additions and 7 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -188,10 +188,10 @@ eNBs =
NETWORK_INTERFACES :
{
ENB_INTERFACE_NAME_FOR_S1_MME = "eth0";
ENB_INTERFACE_NAME_FOR_S1_MME = "eth1";
ENB_IPV4_ADDRESS_FOR_S1_MME = "192.168.13.10/24";
ENB_INTERFACE_NAME_FOR_S1U = "eth0";
ENB_INTERFACE_NAME_FOR_S1U = "eth1";
ENB_IPV4_ADDRESS_FOR_S1U = "192.168.13.10/24";
};
+2 -2
View File
@@ -37,8 +37,8 @@
#####################################################
# VARIABLES TO BE FILLED WITH RIGHT VALUES:
#####################################################
export BOOST_ROOT=/home/alexandrie/DEMO_SPECTRA/boost_1_49_0
export ODTONE_ROOT=/home/alexandrie/DEMO_SPECTRA/ODTONE
export BOOST_ROOT=/home/nikaia/DEMO_SPECTRA/boost_1_49_0/
export ODTONE_ROOT=/home/nikaia/DEMO_SPECTRA/ODTONE/
export MIH_F=odtone-mihf
export ENB_MIH_F_CONF_FILE=odtone_enb.conf
+1
View File
@@ -0,0 +1 @@
/opt/casablanca/Binaries/Release32/libcasablanca.so
+1
View File
@@ -0,0 +1 @@
libcrmclient.so.1.0
+1
View File
@@ -0,0 +1 @@
libcrmclient.so.1.0
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
export LD_LIBRARY_PATH=/usr/local/lib/:/usr/lib/:/opt/casablanca/Binaries/Release32
+7 -3
View File
@@ -42,7 +42,7 @@ declare -x ENB_CONFIG_FILE="enb.conf"
#------------------------------------------------
# OAI NETWORKING
#------------------------------------------------
declare -x EMULATION_DEV_INTERFACE="eth0"
declare -x EMULATION_DEV_INTERFACE="eth1"
declare -x EMULATION_DEV_ADDRESS="192.168.13.1"
declare -x IP_DRIVER_NAME="oai_nw_drv"
declare -x LTEIF="oai0"
@@ -115,6 +115,8 @@ assert " `sysctl -n net.ipv4.conf.all.log_martians` -eq 1" $LINENO
bash_exec "sysctl -w net.ipv4.conf.all.rp_filter=0"
assert " `sysctl -n net.ipv4.conf.all.rp_filter` -eq 0" $LINENO
bash_exec "ip route flush cache"
bash_exec "sysctl -w net.ipv4.ip_forward=1"
assert " `sysctl -n net.ipv4.ip_forward` -eq 1" $LINENO
# Check table 200 lte in /etc/iproute2/rt_tables
fgrep lte /etc/iproute2/rt_tables > /dev/null
@@ -145,7 +147,7 @@ rotate_log_file $MIH_LOG_FILE
# start MIH-F
xterm -hold -e $ODTONE_MIH_EXE_DIR/$MIH_F --log 4 --conf.file $ODTONE_MIH_EXE_DIR/$ENB_MIH_F_CONF_FILE > $MIH_LOG_FILE 2>&1 &
xterm -hold -title "[RELAY][eNB1] MIHF" -e $ODTONE_MIH_EXE_DIR/$MIH_F --log 4 --conf.file $ODTONE_MIH_EXE_DIR/$ENB_MIH_F_CONF_FILE > $MIH_LOG_FILE 2>&1 &
wait_process_started $MIH_F
NOW=$(date +"%Y-%m-%d.%Hh_%Mm_%Ss")
@@ -181,9 +183,11 @@ wait_process_started oaisim
# start MIH-USER
# wait for emulation start
tshark -c 150 -i $EMULATION_DEV_INTERFACE > /dev/null 2>&1
xterm -hold -e $ODTONE_MIH_EXE_DIR/$ENB_MIH_USER --conf.file $ODTONE_MIH_EXE_DIR/$ENB_MIH_USER_CONF_FILE &
sudo xterm -hold -title "[RELAY][eNB1] MIH_USER" -e $ODTONE_MIH_EXE_DIR/$ENB_MIH_USER --conf.file $ODTONE_MIH_EXE_DIR/$ENB_MIH_USER_CONF_FILE &
wait_process_started $ENB_MIH_USER
xterm -hold -title "[RELAY][eNB1] CRM Client" -e tail -f outputGET.txt &
sleep 100000