---
title: Charmhub | fiveg_rfsim interface
description: Interfaces describe the relation between two charms. This interface shows
  opinionated, standardized interface specifications for charm relations.
url: https://charmhub.io/integrations/fiveg_rfsim
---

# fiveg\_rfsim

## Usage

Within 5G RAN (Radio Access Network) architecture, the OAI DU charm can be started to act as both the DU and the RU through its RF simulator functionality.

The OAI UE charm requires RF simulator address and the network information(SST, SD) in order to connect. Hence, the provider of this interface would be a OAI DU charm and the requirer of this interface would be the OAI UE charm.

This relation interface describes the expected behavior of charms claiming to be able to provide or consume information on connectivity over the fiveg\_rfsim interface.

## Direction

```
flowchart TD
    Provider -- rfsim_address, sst, sd --> Requirer
```

As with all Juju relations, the `fiveg_rfsim` interface consists of two parties: a Provider and a Requirer.

## Behavior

Both the Requirer and the Provider need to adhere to criteria to be considered compatible with the interface.

### Provider

Is expected to provide following information:

* The DU's `rfsim` service ip
* Network Slice/Service Type (SST)
* Slice Differentiator (SD)

### Requirer

* Is expected to use the `rfsim` service address and the network information(SST, SD) passed by the provider.

## Relation Data

[[Pydantic Schema]](https://github.com/canonical/charmlibs/blob/main/interfaces/fiveg_rfsim/interface/vv0/schema.py)

### Example

```
provider:
  app: {
    "rfsim_address": "192.168.70.130",
    "sst": 1,
     "sd": 1,
  }
  unit: {}
requirer:
  app: {}
  unit: {}
```

## Charms implementing this interface

### Providers

* [oai-ran-du-k8s](https://charmhub.io/oai-ran-du-k8s)

### Requirers

* [oai-ran-ue-k8s](https://charmhub.io/oai-ran-ue-k8s)

## Other charms using this interface

### Providers

### Requirers
