NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
Collaboration diagram for DOCA UROM Environment Variables:

DOCA UROM Environment Variables.

DOCA UROM environment variables are described in the following table.

Variable Description
DOCA_UROM_SERVICE_FILE Path to the UROM Service File.

DOCA_UROM_SERVICE_FILE

This variable sets the path to the UROM Service File. When creating a UROM Service, UROM performs a look up using this file, the hostname where an application is running, and the PCI address of the associated DOCA device to identify the network address, and network devices associated with the UROM Service.

This file contains one entry per line describing the location of each UROM Service that may be used by UROM. The format of each line must be as follows:

<app_hostname> <service_type> <dev_hostname> <dev_pci_addr> <net,devs>

Fields are described in the following table.

| Field | Description |
| ------------- | ----------- |
| app_hostname | Network host name (or IP address) for the node that this line applies to. |
| service_type | The UROM service type. Valid type is `dpu`. Type `dpu` is used for all DOCA Devices. |
| dev_hostname | Network host name (or IP address) for the associated DOCA device. |
| dev_pci_addr | PCI address of the associated DOCA device. This must match the PCI address provided by DOCA. |
| net,devs | Comma-separated list of network devices which are shared between the host and DOCA device. |

As an example, an application running on a single node (named app_host1) which has a UROM Service running on DPU (named dpu_host1) would have a Service Directory file with the following entries:

app_host1 dpu dpu_host1 03:00.0 dev1:1,dev2:1