Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note
titleObsolete Note

We are in the process of moving this xApp writing guide to https://docs.o-ran-sc.org.

Please refer to App Writing Guide for latest guide.

xApp onboarded to each RIC platform instance may have different parameters either provided by the operators in the xapp descriptor or by the RIC platform that the xApp is hosted upon.

These parameters are injected into the xApp container by using environment variables or by sharing the xApp descriptor file.

The following table shows the parameters that are injected as environment variables.

Note that the default values are only examples and depends on the RIC platform instance configuration they are subjected to change.

xApp should always refer to the environment variables for their values instead of using the default onesCertain platform and infrastructure parameters will be injected into the xApp containers. operators can also inject extra parameters before deploying the xApp. xApp developers can assume that the correct values are populated by the RIC platform.

Environment VariableDescriptionDefault Value

RMR_RTG_SVC

RMR route collector mode variable

4561

XAPP_DESCRIPTOR_PATH

Path of the xApp descriptor JSON file 

/opt/ric/config

DBAAS_MASTER_NAME

Entry point of DBAASHA sentinel

service-ricplt-dbaashadbaas-sentineltcp.ricplt.svc.cluster.local

DBAAS_SERVICE_HOST

Entry point of DBAAS service

service-ricplt-dbaashadbaas-tcp.ricplt.svc.cluster.local

DBAAS_SERVICE_PORT

DBAAS service port6379
DBAAS_SERVICE_SENTINEL_PORTDBAASHA sentinel port26379

Consuming parameters in the xApp descriptor 

The xApp program can find the xApp descriptor file using XAPP_DESCRIPTOR_PATH. The descriptor should contains all the internal configuration parameters for the xApp.