#/*****************************************************************************
#******************************************************************************/
This is an update to E2 Simulator, based on E2AP v1.
Install dependencies $ sudo apt-get update $ sudo apt-get install -y build-essential git cmake libsctp-dev lksctp-tools autoconf automake libtool bison flex libboost-all-dev $ sudo apt-get clean
SET ENVIRONMENT VARIABLE Add this line to ~/.bashrc
export E2SIM_DIR=
Build the official e2sim $ ./build_e2sim
$ $E2SIM_DIR/build/e2sim [SERVER IP] [PORT]
By default, SERVER IP = 127.0.0.1, PORT = 36421 The RIC (i.e., E2 Manager) will need to setup X2 or E2 connection to e2sim on this SERVER IP and PORT
Build docker image: run this command from $E2SIM_DIR $ sudo docker build -f docker/Dockerfile -t [DOCKER_IMAGE]:[TAG] .
Example how to run docker container $ sudo docker run --rm --net host -it [DOCKER_IMAGE]:[TAG] sh -c "./build/e2sim [SERVER IP] [PORT]" ex: sudo docker run --rm --net host -it e2sim:1.0.0 sh -c "./build/e2sim 127.0.0.1 36422"