Commit 1cd1db49 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen
Browse files

update Readme

parent b0307448
......@@ -12,6 +12,7 @@ openair-cn5g-smf
└── smf: Directory containing CMakefile.txt and object files generated by compilation of SMF network function.
├── etc: Directory containing the configuration file to be deployed for SMF.
└── src: Source files of SMF.
├── api-server: SMF services APIs.
├── common: Common header files
│   ├── msg: ITTI messages definitions.
│   └── utils: Common utilities.
......@@ -41,20 +42,19 @@ cd /oai-cn5g-smf/build/scripts
./build_smf -c -V -b Debug -j
## Create configuration file for SMF
cd /oai-cn5g-smf/src/test/inputs
cd /oai-cn5g-smf/build/scripts
./smf_conf.sh
## launch SMF
sudo smf -c /usr/local/etc/oai/smf.conf -o
## Build UPF (SPGWU)
## Build UPF (SPGWU) and Launch UPF (SPGWU)
git clone https://github.com/OPENAIRINTERFACE/openair-cn-cups/
cd /openair-cn-cups/build/scripts
./build_spgwu -I -f
./build_spgwu -c -V -b Debug -j
## Launch UPF
cd /oai-cn5g-smf/src/test/inputs
cd /oai-cn5g-smf/src/test/upf
./spgwu_conf.sh
sudo spgwu -c /usr/local/etc/oai/spgw_u.conf -o
......@@ -66,6 +66,20 @@ cmake ..
make
./udm-server
###test with curl
cd /oai-cn5g-smf/src/test/inputs
curl -X POST http://127.0.0.1:8080/nsmf-pdusession/v1/sm-contexts --data @apitest.json
## Build and launch AMF server
cd /oai-cn5g-smf/src/test/amf
mkdir build
cd build
cmake ..
make
./amf-api-server
## Build and launch AMF client
cd /oai-cn5g-smf/src/test/amf_client
mkdir build
cd build
cmake ..
make
./amf-client
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment