-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Maros Marsalek <[email protected]>
- Loading branch information
1 parent
d89a8a9
commit 2efce65
Showing
3 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM ubuntu | ||
|
||
# Builds a software only BTS from srsran project | ||
# This bts does not require any hardware, since it is built with zeroMQ as a "mock" for radio traffic | ||
# Note that srsran can be installed into ubuntu as a package, but that package does not support the zermoMQ mock | ||
|
||
# from https://docs.srsran.com/projects/4g/en/latest/general/source/1_installation.html | ||
RUN apt-get update && \ | ||
apt-get install -y libzmq3-dev build-essential git libtool pkg-config fftw3 fftw3-dev libmbedtls-dev libsctp-dev libboost-program-options-dev libconfig++-dev cmake | ||
|
||
# from https://docs.srsran.com/projects/4g/en/next/app_notes/source/zeromq/source/index.html | ||
WORKDIR /root/ | ||
|
||
RUN git clone https://github.com/srsRAN/srsRAN_4G.git | ||
WORKDIR /root/srsRAN_4G | ||
RUN mkdir build | ||
WORKDIR /root/srsRAN_4G/build | ||
RUN cmake ../ | ||
RUN make -j8 | ||
RUN make install | ||
|
||
RUN srsran_install_configs.sh user | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y lldpd | ||
|
||
CMD lldpd; ./srsenb/src/srsenb --rf.device_name=zmq --rf.device_args="fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# RAN resources | ||
|
||
This folder contains resources related to running RAN network on top of the frinx containerlab topology | ||
|
||
|
||
## SRSRAN | ||
|
||
This is currently using the SRSRAN open-source implementation of a RAN network (software only) | ||
|
||
https://docs.srsran.com/projects/4g/en/latest/index.html | ||
|
||
|
||
### BTS | ||
|
||
A base station can be built from the provided Dockerfile. | ||
The dockerfile builds the BTS software that can be run without a real hardware radios. It uses a zero MQ internally. | ||
It also runs LLDP. | ||
|
||
Resources: | ||
https://docs.srsran.com/projects/4g/en/next/app_notes/source/zeromq/source/index.html | ||
|
||
#### How to | ||
|
||
1. build the container `docker build -t bts .` (takes a long time) | ||
2. Add to containerlab topology: | ||
``` | ||
nodes: | ||
bts1: | ||
image: bts | ||
kind: linux | ||
mgmt-ipv4: 172.20.20.201 | ||
... | ||
- endpoints: ["srsenb:eth1", "R1_PE1:eth4"] | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
// TODO add the backend/core services from SRSRAN behind our datacenter PE | ||
// TODO add a client "device" from the SRSRAN connected to the BTS |