free5GC Network Function (NF) Command Line Interface (CLI) based on Thrift
-
Download Thrift 0.15.0
-
./bootstrap.sh
-
./configure --with-go --without-cpp --with-boost=/usr/local --without-python --without-csharp --without-java --without-erlang --without-perl --without-php --without-php_extension --without-ruby --without-haskell
-
Modify the following lines in lib/go/Makefile
check-local:
- #$(GO) test -mod=mod -race ./thrift
- $(GO) test -race ./thrift
all-local:
- #$(GO) build -mod=mod ./thrift
- $(GO) build ./thrift
-
make
-
sudo make check
-
sudo make install
-
thrift --version
Thrift version 0.15.0
git clone https://github.com/muthuramanecs03g/nfcli.git
- cd nfcli
- thrift -r --gen go thrift/UpfService.thrift
- cd nfcli
- go run cmd/nfcli.go
NF Name | Thrift Service |
---|---|
AMF | TODO |
SMF | TODO |
UPF | TODO |
UPF CP (Proprietary) | TODO |
UPF DP (Proprietary) | In-Progress |
AUSF | TODO |
N3IWF | TODO |
NRF | TODO |
NSSF | TODO |
PCF | TODO |
UDM | TODO |
UDR | TODO |
NEF | TODO |