simeca_constants.sh 1.1 KB
Newer Older
root's avatar
root committed
1 2 3
#!/bin/bash

###############MODIFY THIS FIRST!##################
Binh Nguyen's avatar
Binh Nguyen committed
4
UE_ID="304"
root's avatar
root committed
5 6 7 8 9 10
###################################################


NEXUS_IMSI="001011234560$UE_ID"
NEXUS_MISDN="491234567$UE_ID"
domain=$(hostname | awk -F'.' '{print $2"."$3"."$4"."$5}')
Binh Nguyen's avatar
Binh Nguyen committed
11 12
BIN_DIR="/opt/OpenEPC/bin"
HOME_DIR="$HOME"
Binh Nguyen's avatar
Binh Nguyen committed
13
#SIMECA_PATH="/usr/local/src/simeca"
Binh Nguyen's avatar
Binh Nguyen committed
14 15
#SIMECA_PATH="/opt/OpenEPC/bin/simeca"
SIMECA_PATH="/opt/simeca"  #EPC nodes scripts are in here
root's avatar
root committed
16
SCRIPTS="$SIMECA_PATH/script"
Binh Nguyen's avatar
Binh Nguyen committed
17
#SIMECA_SCRIPTS="/opt/OpenEPC/bin/simeca_scripts"
Binh Nguyen's avatar
Binh Nguyen committed
18
SIMECA_SCRIPTS="/opt/OpenEPC/bin/simeca_scripts"
root's avatar
root committed
19 20
MC_PATH="$SIMECA_PATH/simeca_controller"
CONF_PATH="$SIMECA_PATH/CONF"
Binh Nguyen's avatar
Binh Nguyen committed
21 22
#SIMECA_EPC="/proj/PhantomNet/binh/openepc-att-demo/" #Todo: package this
SIMECA_EPC="/opt/OpenEPC/" #Todo: package this
Binh Nguyen's avatar
Binh Nguyen committed
23 24 25
START_SCRIPTS="/opt/simeca/start_scripts"
START_SCRIPTS_OVS="/usr/local/src/simeca/start_scripts" #OVS start scripts
START_SCRIPTS_EPC="/opt/simeca/start_scripts" #EPC start scripts
root's avatar
root committed
26 27 28
HSS_PROVISION="$SIMECA_PATH/hss_provision"
EPC="$SIMECA_PATH/epc"
XML="$SIMECA_PATH/xml"
Binh Nguyen's avatar
Binh Nguyen committed
29 30 31
DATA="$HOME_DIR/data"
EPC_HOSTS="enb2 enb3 epc client1"
OVS_HOSTS="access1 access2 access3 tor hsw1 server1"