# <center><i class="fa fa-edit"></i> R-NIB</center>
###### tags: `RIC`
:::warning
**References:**
- [R-NIB: Overview](https://wiki.onosproject.org/display/ONOS/xRAN+Controller+Integration#xRANControllerIntegration-R-NIB:Overview)
- [R-NIB](https://5g.systemsapproach.org/ran.html)
:::
---
## R-NIB
**Radio-Network Information Base (RNIB)**
- A graph of physical/logical network entities
- Control applications read and write to R-NIB using NorthBound Interface (NBI)
RNIB is a graph of physical/logical network entities within the network topology:
- Cell: eNBs, gNBs, WLAN AP, etc.
- UE: Smartphone, Car, etc.
- Slice: a virtual network within
- Link: air interface between eNB and UE, self backhauling link
Maintained as a relational database

#### R-NIB consistency/integrity routine:
- Makes sure that there is only one link of type serving/primary involving a given UE
- Makes sure the mapping between context IDs <->IMS <-> RAN ID is consistent
The RIC maintains a RAN Network Information Base (R-NIB)–a common set of information that can be consumed by numerous control apps. The R-NIB includes time-averaged CQI values and other per-session state (e.g., GTP tunnel IDs, QCI values for the type of traffic), while the MAC (as part of the DU) maintains the instantaneous CQI values required by the real-time scheduler. Specifically, the R-NIB includes the following state.
- NODES: Base Stations and Mobile Devices
- Base Station Attributes:
- Identifiers
- Version
- Config Report
- RRM config
- PHY resource usage
- Mobile Device Attributes:
- Identifiers
- Capability
- Measurement Config
- State (Active/Idle)
- LINKS: Actual between two nodes and Potential between UEs and all neighbor cells
- Link Attributes:
- Identifiers
- Link Type
- Config/Bearer Parameters
- QCI Value
- SLICES: Virtualized RAN Construct
- Slice Attributes:
- Links
- Bearers/Flows
- Validity Period
- Desired KPIs
- MAC RRM Configuration
- RRM Control Configuration

Example set of control applications running on top of Near Real-Time RAN Controller.
---