|
libe3 0.6.1
C++ library for E3AP RAN vendor integration
|
This chapter gives the numbers and strings that identify E2SM-DAPP. It also says what the RAN function definition contains and how an E2 node announces the service model to the RIC.
The index is README.md. The field-by-field description of the definition is in 02-ie-mapping.md. Its bytes are in 04-encoding.md.
Table: Identity of E2SM-DAPP
| Item | Value | Remark |
|---|---|---|
| RAN function ID (E2) | 255 | The E2AP range is 0..4095. |
| RAN function revision | 1 | One implementation announces 0. |
| RAN function short name | E2SM-DAPP | |
| RAN function description | DAPP Service Model for E2/E3 bridge | |
| E2SM OID | 1.3.6.1.4.1.53148.1.1.255.3 | It is also the module identifier of the grammar. |
| ASN.1 module | E2SM-DAPP-IEs, version 1 of the grammar | |
| Style numbers | report styles 1 and 2, control style 1 | See 02-ie-mapping.md. |
| Instance (ranFunction-Instance) | not used | The field exists in the grammar. No sender sets it. |
The module identifier in the grammar is:
It reads as 1.3.6.1.4.1.53148.1.1.255.3. The arc 53148 is the O-RAN enterprise number. The O-RAN service models use the same arc. The arc 255 is the service model number. It is deliberately the same number as the E2 RAN function ID. The final 3 is the module number inside that service model.
One implementation carries a stale source comment that spells the same OID with e2sm(2). The OID string and the grammar both use 255.
E2SM-DAPP touches two identifier spaces. Both carry the words "RAN function ID". They are different. Do not mix them up.
Table: The two RAN function ID spaces
| Name | Space | Used where | Typical value |
|---|---|---|---|
| E2 RAN function ID | E2AP, RANfunctionID (0..4095) | E2 Setup, RIC Subscription, RIC Indication, RIC Control (E2AP fields) | 255 for E2SM-DAPP itself |
| E3 RAN function ID | E3AP, ranFunctionIdentifier (1..65535) | inside E2SM-DAPP: ran-function-id in the indication header and the control header, and SubscribedE3RANFunction-ID in the subscription map | 1 for the Spectrum service model, 2 for the L1-KPM service model |
The golden test vectors use 255 in the ran-function-id fields of the header. That is arbitrary test data, chosen to be easy to recognize. It does not mean that the E3 function id is 255.
The definition is one E2SM-DAPP-RANFunctionDefinition, APER encoded. The fields are specified in 02-ie-mapping.md. In summary:
Table: Parts of the RAN function definition
| Part | Content | Required |
|---|---|---|
| ranFunction-Name | short name, OID, description, optional instance | yes |
| ranFunctionDefinition-EventTrigger | empty marker | optional |
| ranFunctionDefinition-Report | 1 or 2 report styles. Each has a style number, a style name, an indication header format, an indication message format and an optional dApp E3 subscription map. | optional |
| ranFunctionDefinition-Control | exactly 1 control style. It has a style number, a style name, a control header format, a control message format, a control outcome format and an optional dApp E3 subscription map. | optional |
A definition with only the name (78 octets in the smallest test vector) is valid. It advertises nothing. A useful definition has at least a report section or a control section.
A RAN that serves dApps and xApps builds the definition as follows.
Table: Definition content of a RAN
| Part | Value |
|---|---|
| name | E2SM-DAPP, the OID, DAPP Service Model for E2/E3 bridge |
| event trigger | absent |
| report style 1 | type 1, name DAPP-E3-DATA-REPORT, header format 1, message format 1. It carries the dApp E3 subscription map if any dApp has a subscribed function. |
| report style 2 | type 2, name DAPP-E3-SUBSCRIPTION-MAP, header format 2, message format 2, no map |
| control style 1 | type 1, name DAPP-CONTROL-STYLE-1, header, message and outcome format 1. It carries the same map as report style 1. |
The map holds one item per dApp that has at least one subscribed E3 RAN function. An item holds the dapp-id and the list of E3 RAN function ids. How an xApp uses the map is in 03-procedure-flow.md.
Another implementation builds a fixed definition. It has an event trigger section. Its style names are E3 Data Report, E3 Subscription Map and dApp Control. It has no dApp E3 subscription map. An xApp that selects the control style by the name DAPP-CONTROL-STYLE-1 does not find that style there. The test data in the repository also uses these names. Test data is not what a RAN advertises. The content of the definition is the responsibility of the RAN.
An E2 agent may replace the name block of the definition. It then writes its own short name, OID and description, whatever the RAN supplied. The short name shall not be empty. All other parts of the definition, which are the styles, the formats and the map, are the responsibility of the RAN. An agent that has no RAN callback produces a definition with only the name.
The E2 node lists E2SM-DAPP as one RAN function item in the E2 Setup Request.
Table: RAN function item for E2SM-DAPP
| E2AP RAN function item field | Value for E2SM-DAPP |
|---|---|
| RAN Function ID | 255 |
| RAN Function Definition (OCTET STRING) | the APER encoding of E2SM-DAPP-RANFunctionDefinition |
| RAN Function Revision | 1. One implementation announces 0. |
| RAN Function OID | 1.3.6.1.4.1.53148.1.1.255.3 |
The E2 node shall rebuild the definition each time it builds an E2 Setup Request. A retried setup then carries the dApp map as it is at that moment. The E2AP OID field and the ranFunction-E2SM-OID string inside the definition shall have the same value. The E2 Setup Response has nothing that is specific to E2SM-DAPP.
An E2 node that does not enable E2SM-DAPP does not list it in the E2 Setup Request.
The RAN sends a RIC Service Update when the content of the definition changes. For E2SM-DAPP this happens when a dApp connects or disconnects and the dApp E3 subscription map changes.
Table: RIC Service Update for E2SM-DAPP
| Item | Value |
|---|---|
| Function list | modified, exactly one entry, RAN function 255. Nothing is added or deleted. |
| Definition | freshly built, as for E2 Setup |
| OID | 1.3.6.1.4.1.53148.1.1.255.3 |
| Revision | a counter that starts at 1 and increases by one per update. The first update therefore carries revision 1, which the E2 Setup already used. The revision should increase on every update, the first one included. |
| Transaction id | the same counter modulo 256 |
| Trigger | the RAN triggers the update when the dApp set changes. One implementation does this only after the RIC has been heard from. |
An E2 node whose definition is fixed and carries no dApp map sends no RIC Service Update for E2SM-DAPP.
Table: What the RIC side does with a RIC Service Update for E2SM-DAPP
| RIC | Behavior |
|---|---|
| a RIC whose service model plug-in is a placeholder | It returns an empty result. It does not decode the new definition. |
| a RIC with its own E2 manager | The E2 manager updates its stored node information. An xApp that reads the definition again sees the new one. The dApp E3 subscription map in it is current. |
An E2 agent has a hook for RIC Service Update messages that it receives from the RIC. E2SM-DAPP does not use that hook.
A RAN stack that implements the E2 side shall meet these requirements.