---
# System prepended metadata

title: Survey WG3 Near RIC (FlexRIC)
tags: [Near RIC, WG3]

---

# Survey WG3 Near RIC (FlexRIC)
###### tags: `WG3` `Near RIC`


![](https://i.imgur.com/xEyC8Zq.png)

![](https://i.imgur.com/0ATSyra.png)

![](https://i.imgur.com/UCLFtwu.png)

## What is Near RIC
![](https://i.imgur.com/UJsarsh.png)

### E2AP (E2 Application Protocol)
![](https://i.imgur.com/iBFuXvE.png)
### Near RIC component
![](https://i.imgur.com/WPrGvoF.png)


## FLEXRIC SDK OVERVIEW
### FlexRIC: An SDK for Next-Generation SD-RANs (paper)
FlexRIC is a SDK, consisting of a server library and an agent library with two optional extensions: controller-internal applications (iApps) and communication interfaces.

![](https://i.imgur.com/m8W2avi.png)
![](https://i.imgur.com/TXJpO0m.png)
![](https://i.imgur.com/dcA2eIX.png)
![](https://i.imgur.com/R0IXbut.png)
![](https://i.imgur.com/NjWWjhV.png)
![](https://i.imgur.com/IQn6Shm.png)



## Install
### gitlab repository
[Flexric](https://gitlab.eurecom.fr/mosaic5g/flexric)


### Build FlexRIC
[Building FlexRIC](https://hackmd.io/kogf4pRWTmSgk2jFMcwZ5g?view=)


![](https://i.imgur.com/juejcP8.png)

### SDN and SD-RAN(E2)
![](https://i.imgur.com/6VsqQE7.png)


[ Deploying OAI gNB and FlexRIC on VM server](https://hackmd.io/@ydt688/SJKIIIKiq)
![](https://i.imgur.com/8k7t22d.png)

![](https://i.imgur.com/W2X16q4.png)
![](https://i.imgur.com/nKu5dUY.png)




## ASN.1
![](https://i.imgur.com/NMGDQHl.png)

#### Introduction
- Abstract Syntax Notation.1 (ASN.1) is a formal notation or a language used to describe data structures. 
- SN.1 is a joint standard of the International Telecommunication Union Telecommunication Standardization Sector (ITU-T)

![](https://i.imgur.com/yxdpbT4.png)
ASN.1 is used by protocol developers to represent data structures which are defined as a part of a standards document. The main advantage of using ASN.1 to represent data structures is that it is independent of programming language or platform as well as it is both human and machine readable.
![](https://i.imgur.com/HXJzxWX.png)


in O-RAN.WG3.E2AP-v02.02.pdf clause 9.3 Message and Information Element Abstract Syntax (with ASN.1)

The ASN.1 definition specifies the structure and content of E2AP messages.


## nng
![](https://i.imgur.com/7ioltwR.png)

NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a **lightweight**, **broker-less library**, **offering a simple API to solve common recurring messaging problems**, such as **publish/subscribe**, **RPC-style request/reply**, or **service discovery**.

[github](https://github.com/nanomsg/nng)

### libsctp, poppler


## Demo

### gNB
command

```bash=
path/to/openairinterface5g/targets/bin
sudo ./nr-softmodem.Rel15 -O ../../../flexric/oai/gnb.band78.tm1.fr1.106PRB.usrpb210.conf -E  --sa --usrp-tx-thread-config 1
```
![](https://i.imgur.com/d0yBE2P.png)
### Near RIC
command
```bash=
path/to/flexric/build/test 
./near_ric_sa
```
![](https://i.imgur.com/8IFI2uy.png)


