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

update Readme

parent b0307448
...@@ -12,6 +12,7 @@ openair-cn5g-smf ...@@ -12,6 +12,7 @@ openair-cn5g-smf
└── smf: Directory containing CMakefile.txt and object files generated by compilation of SMF network function. └── 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. ├── etc: Directory containing the configuration file to be deployed for SMF.
└── src: Source files of SMF. └── src: Source files of SMF.
├── api-server: SMF services APIs.
├── common: Common header files ├── common: Common header files
│   ├── msg: ITTI messages definitions. │   ├── msg: ITTI messages definitions.
│   └── utils: Common utilities. │   └── utils: Common utilities.
...@@ -41,20 +42,19 @@ cd /oai-cn5g-smf/build/scripts ...@@ -41,20 +42,19 @@ cd /oai-cn5g-smf/build/scripts
./build_smf -c -V -b Debug -j ./build_smf -c -V -b Debug -j
## Create configuration file for SMF ## Create configuration file for SMF
cd /oai-cn5g-smf/src/test/inputs cd /oai-cn5g-smf/build/scripts
./smf_conf.sh ./smf_conf.sh
## launch SMF ## launch SMF
sudo smf -c /usr/local/etc/oai/smf.conf -o 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/ git clone https://github.com/OPENAIRINTERFACE/openair-cn-cups/
cd /openair-cn-cups/build/scripts cd /openair-cn-cups/build/scripts
./build_spgwu -I -f ./build_spgwu -I -f
./build_spgwu -c -V -b Debug -j ./build_spgwu -c -V -b Debug -j
## Launch UPF cd /oai-cn5g-smf/src/test/upf
cd /oai-cn5g-smf/src/test/inputs
./spgwu_conf.sh ./spgwu_conf.sh
sudo spgwu -c /usr/local/etc/oai/spgw_u.conf -o sudo spgwu -c /usr/local/etc/oai/spgw_u.conf -o
...@@ -66,6 +66,20 @@ cmake .. ...@@ -66,6 +66,20 @@ cmake ..
make make
./udm-server ./udm-server
###test with curl ## Build and launch AMF server
cd /oai-cn5g-smf/src/test/inputs cd /oai-cn5g-smf/src/test/amf
curl -X POST http://127.0.0.1:8080/nsmf-pdusession/v1/sm-contexts --data @apitest.json 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