|
libe3 0.6.1
C++ library for E3AP RAN vendor integration
|
The messages of E3AP and their information elements: names, types, ranges, presence and meaning. The ASN.1 grammar is in 04-encoding.md. If a table and the grammar disagree, the grammar takes precedence.
This is section 2 of the specification. The index is README.md. The procedures that use these messages are in 03-procedure-flow.md.
E3AP has twelve messages, one of them deprecated. Each one travels inside one E3-PDU.
Table: Messages of E3AP
| Message | CHOICE tag | Direction | Procedure |
|---|---|---|---|
| E3-SetupRequest | 0 | dApp to E3 Agent | Setup |
| E3-SetupResponse | 1 | E3 Agent to dApp | Setup |
| E3-SubscriptionRequest | 2 | dApp to E3 Agent | Subscription |
| E3-SubscriptionDelete | 3 | dApp to E3 Agent | Subscription delete |
| E3-SubscriptionResponse | 4 | E3 Agent to dApp | Subscription and Subscription delete |
| E3-IndicationMessage | 5 | E3 Agent to dApp | Indication |
| E3-DAppControlAction | 6 | dApp to E3 Agent | dApp Control |
| E3-DAppReport | 7 | dApp to E3 Agent | dApp Report |
| E3-XAppControlAction | 8 | E3 Agent to dApp | xApp Control |
| E3-ReleaseMessage | 9 | either | Release |
| E3-MessageAck | 10 | E3 Agent to dApp | deprecated, see below. No E3 Agent of this version sends it |
| E3-ControlResponse | 11 | E3 Agent to dApp for a dApp control, dApp to E3 Agent for an xApp control | the answer to a dApp control action or to an xApp control action |
Table: Types shared by the messages
| Type | ASN.1 definition | Range | Meaning |
|---|---|---|---|
| E3-DAppID | INTEGER | 1 to 65535 | The identifier of a dApp. The E3 Agent assigns it in the Setup procedure. |
| E3-MessageID | INTEGER | 1 to 4294967295 | The identifier of one message. The sender assigns it. |
| E3-SequenceID | INTEGER | 1 to 4294967295 | The identifier of one detection-to-mitigation procedure. The component that starts the procedure assigns it. No other component changes it. |
| E3-Name | OCTET STRING | 1 to 64 octets | The name of a dApp, a vendor or a RAN node. |
| E3-Version | OCTET STRING | 1 to 32 octets | A version string. |
| E3-ResponseCode | ENUMERATED | "positive" (0), "negative" (1) | The result of a request. The type has no extension marker. |
| E3-Cause | ENUMERATED | see below | Why the E3 Agent refused a request. It is sent with a negative response code. The type has an extension marker. |
| E3-Text | OCTET STRING | 0 to 512 octets | Text in UTF-8 for a person who reads a log. A receiver shall drop a text that is not UTF-8. |
| E3-Timestamp | INTEGER | not constrained | Nanoseconds since the Unix epoch on the realtime (UTC) clock. |
| RAN function identifier | INTEGER | 1 to 65535 | The number of a RAN function. It is the same number in every message that names the function. |
| Telemetry identifier, control identifier | INTEGER | 1 to 65535 | The number of one telemetry stream or one control action of a RAN function. |
| Subscription identifier | INTEGER | 1 to 65535 | The number that the E3 Agent assigns to a subscription. |
Table: Values of E3-Cause
| Value | Name | The E3 Agent uses it when |
|---|---|---|
| 0 | unspecified | no other cause applies |
| 1 | protocolError | the message does not decode, or is not valid in this place |
| 2 | setupRequired | the dApp has not completed the Setup procedure |
| 3 | setupAlreadyComplete | the dApp sends a second SETUP REQUEST message on one association |
| 4 | unsupportedProtocolVersion | it does not serve the version of E3AP that the dApp names |
| 5 | unsupportedRanFunction | it does not serve the RAN function |
| 6 | unsupportedIdentifier | a telemetry identifier or control identifier is not one that the RAN function offers |
| 7 | invalidRequest | the message is well formed and its content is not acceptable, for example a subscription that names no identifier |
| 8 | notFound | the subscription, or the subscription that a control needs, does not exist |
| 9 | duplicate | the request repeats one that is active |
| 10 | resourceExhausted | it has no free dApp identifier, subscription identifier or other resource |
| 11 | authorizationRejected | the dApp is not allowed to do it |
| 12 | payloadTooLarge | the payload is larger than it accepts |
| 13 | transportOverrun | the link cannot keep up |
| 14 | shuttingDown | it is stopping |
A receiver that gets a value that it does not know shall read it as unspecified and still treat the response as a refusal. A sender that has no cause to give sends none: a negative response with no cause and no detail is valid.
A message identifier and a sequence identifier have the same range on purpose. Both are counters of the component that creates them. A value of one can then be stored in a field made for the other without loss.
The envelope of every message.
Table: E3-PDU
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| id | M | E3-MessageID | The identifier of this message. | |
| timestamp | O | E3-Timestamp | The time at which the sender made the message. A sender that does not want to read the clock may omit it. A missing timestamp is a normal message. | |
| msg | M | CHOICE | One of the twelve messages. The CHOICE has an extension marker. |
A dApp sends it first. It asks the E3 Agent to register the dApp.
Table: E3-SetupRequest
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| e3apProtocolVersion | M | E3-Version | The version of E3AP that the dApp speaks. | |
| dAppName | M | E3-Name | The name of the dApp. | |
| dAppVersion | M | E3-Version | The version of the dApp. | |
| vendor | M | E3-Name | The name of the vendor of the dApp. |
The E3 Agent answers a SETUP REQUEST message with it.
Table: E3-SetupResponse
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| requestId | M | E3-MessageID | The id of the E3-PDU that carried the request. | |
| responseCode | M | E3-ResponseCode | "positive" if the E3 Agent accepts the dApp. "negative" if it refuses. | |
| ranIdentifier | M | E3-Name | The name of the RAN node. | |
| e3apProtocolVersion | O | E3-Version | The version of E3AP that the E3 Agent speaks. | |
| dAppIdentifier | O | E3-DAppID | The identifier that the E3 Agent assigns to the dApp. It is present when the response code is "positive". | |
| ranFunctionList | O | 0 to 64 | SEQUENCE OF E3-RanFunctionDefinition | The RAN functions that the dApp can use. It is present when the response code is "positive". |
| cause | O | E3-Cause | Why the E3 Agent refused the dApp. It is present only when the response code is "negative". This field is an extension addition. | |
| detail | O | E3-Text | Text for the cause. This field is an extension addition. |
One entry of the RAN function list of a SETUP RESPONSE message.
Table: E3-RanFunctionDefinition
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| ranFunctionIdentifier | M | INTEGER (1 to 65535) | The number of the RAN function. | |
| telemetryIdentifierList | M | 0 to 256 | SEQUENCE OF INTEGER (1 to 65535) | The telemetry streams that the RAN function offers. |
| controlIdentifierList | M | 0 to 256 | SEQUENCE OF INTEGER (1 to 65535) | The control actions that the RAN function accepts. |
| ranFunctionData | M | 1 to 262144 octets | OCTET STRING | A description that only the service model of the RAN function can read. E3AP does not read it. |
A dApp sends it to use a RAN function.
Table: E3-SubscriptionRequest
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| dAppIdentifier | M | E3-DAppID | The identifier of the dApp. | |
| ranFunctionIdentifier | M | INTEGER (1 to 65535) | The RAN function to use. | |
| telemetryIdentifierList | M | 0 to 256 | SEQUENCE OF INTEGER (1 to 65535) | The telemetry streams that the dApp wants. |
| controlIdentifierList | M | 0 to 256 | SEQUENCE OF INTEGER (1 to 65535) | The control actions that the dApp will use. |
| subscriptionTime | O | 0 to 86400 | INTEGER | The time, in seconds, after which the subscription ends. "0" and a missing value both mean no limit. |
| periodicity | O | 0 to 60000000 | INTEGER | The time, in microseconds, between two indications. "0" means one indication for each event. A missing value means that the service model sets the rate. |
The E3 Agent answers a SUBSCRIPTION REQUEST message or a SUBSCRIPTION DELETE message with it.
Table: E3-SubscriptionResponse
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| requestId | M | E3-MessageID | The id of the E3-PDU that carried the request. | |
| dAppIdentifier | M | E3-DAppID | The identifier of the dApp. | |
| responseCode | M | E3-ResponseCode | The result of the request. | |
| subscriptionId | O | INTEGER (1 to 65535) | The identifier that the E3 Agent assigns to the subscription. It is present in the response to a request that succeeds. | |
| telemetryIdentifierList | O | 0 to 256 | SEQUENCE OF INTEGER (1 to 65535) | The telemetry streams that the E3 Agent grants. A missing list means that the E3 Agent does not report the grant. An empty list means that it grants none. |
| controlIdentifierList | O | 0 to 256 | SEQUENCE OF INTEGER (1 to 65535) | The control actions that the E3 Agent grants. The same rule as for the telemetry list applies. |
| cause | O | E3-Cause | Why the E3 Agent refused the request. It is present only when the response code is "negative". This field is an extension addition. | |
| detail | O | E3-Text | Text for the cause. This field is an extension addition. | |
| ranFunctionIdentifier | O | INTEGER (1 to 65535) | The RAN function that the grant is for. This field is an extension addition. | |
| periodicity | O | 0 to 60000000 | INTEGER | The least time, in microseconds, that the E3 Agent keeps between two indications of the subscription. Same unit and range as in the request. It is not a copy of the request: the E3 Agent reports it only when it keeps such an interval, and a missing value means that it does not report one. This field is an extension addition. |
A dApp sends it to end a subscription.
Table: E3-SubscriptionDelete
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| dAppIdentifier | M | E3-DAppID | The identifier of the dApp. | |
| subscriptionId | M | INTEGER (1 to 65535) | The subscription to end. |
The E3 Agent sends it to deliver telemetry.
Table: E3-IndicationMessage
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| dAppIdentifier | M | E3-DAppID | The dApp that receives the telemetry. | |
| ranFunctionIdentifier | M | INTEGER (1 to 65535) | The RAN function that made the telemetry. | |
| protocolData | M | 1 to 32768 octets | OCTET STRING | The payload. Only the service model of the RAN function can read it. |
A dApp sends it to ask a RAN function to do something.
Table: E3-DAppControlAction
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| dAppIdentifier | M | E3-DAppID | The identifier of the dApp. | |
| ranFunctionIdentifier | M | INTEGER (1 to 65535) | The RAN function that applies the action. | |
| controlIdentifier | M | INTEGER (1 to 65535) | The control action. | |
| sequenceId | O | E3-SequenceID | The sequence identifier of the E3-XAppControlAction that the dApp re-issues. It is missing when the dApp decided on the action itself. | |
| actionData | M | 1 to 32768 octets | OCTET STRING | The payload. Only the service model can read it. |
| requestAck | O | BOOLEAN | "true" when the dApp wants an E3-ControlResponse for this action. A missing field reads as "false". A sender writes the field only when it is "true". This field is an extension addition. |
A dApp sends it to give a result to a RIC.
Table: E3-DAppReport
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| dAppIdentifier | M | E3-DAppID | The identifier of the dApp. | |
| ranFunctionIdentifier | M | INTEGER (1 to 65535) | The RAN function that the report is about. | |
| sequenceId | M | E3-SequenceID | The identifier that the dApp assigns to the procedure that the report starts. Every later message of the procedure carries it. | |
| reportData | M | 1 to 32768 octets | OCTET STRING | The payload. Only the service model can read it. |
The E3 Agent sends it to hand an xApp decision to a dApp.
Table: E3-XAppControlAction
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| dAppIdentifier | M | E3-DAppID | The dApp that receives the decision. | |
| ranFunctionIdentifier | M | INTEGER (1 to 65535) | The RAN function that the decision is about. | |
| sequenceId | M | E3-SequenceID | The sequence identifier that the RIC side carried. The E3 Agent copies it without change. | |
| xAppControlData | M | 1 to 32768 octets | OCTET STRING | The payload. Only the service model can read it. |
| requestAck | O | BOOLEAN | "true" when the E3 Agent wants an E3-ControlResponse from the dApp for this decision. A missing field reads as "false". A sender writes the field only when it is "true". This field is an extension addition. |
Either side sends it to end the session of a dApp.
Table: E3-ReleaseMessage
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| dAppIdentifier | M | E3-DAppID | The dApp whose session ends. |
DEPRECATED TO BE REMOVED. An E3 Agent of this version does not send it: the answer to a control action is the E3-ControlResponse. The message stays in the grammar so that E3-ControlResponse has the index that it has in OCUDU's grammar, and so that a dApp can read the one that another E3 Agent sends. It has no dApp identifier. An E3 Agent shall drop one that a dApp sends.
Table: E3-MessageAck
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| requestId | M | E3-MessageID | The id of the E3-PDU of the request that it answers. | |
| responseCode | M | E3-ResponseCode | The result. | |
| cause | O | E3-Cause | Why the request was refused. It is present only when the response code is "negative". This field is an extension addition. | |
| detail | O | E3-Text | Text for the cause. This field is an extension addition. |
The answer to a dApp control action or to an xApp control action. The E3 Agent sends it for a dApp control action: the service model behind it gives the result, and the E3 Agent itself gives a refusal when it cannot hand the control to a service model. A dApp sends it for an xApp control action. The message has a dApp identifier, so on a link that broadcasts a dApp reads only the messages that name it.
The fields and their order are those of the E3-ControlResponse of OCUDU without fragmentIndex, fragmentCount and payloadBytes. An encoding of this message is not the encoding of OCUDU's message. See ../interop.md.
Table: E3-ControlResponse
| IE/Group Name | Presence | Range | IE type and reference | Semantics description |
|---|---|---|---|---|
| requestId | M | E3-MessageID | The id of the E3-PDU of the control action that this answers. | |
| dAppIdentifier | M | E3-DAppID | The dApp that sent the dApp control action, or that receives the xApp control action. | |
| ranFunctionIdentifier | M | INTEGER (1 to 65535) | The RAN function of the control action. | |
| controlIdentifier | M | INTEGER (1 to 65535) | The control that the answer is about. An xApp control action names none, so the dApp gives the control that it applied, from the list that the RAN function advertises. | |
| responseCode | M | E3-ResponseCode | "positive" when the control was applied, "negative" when it was not. | |
| cause | O | E3-Cause | Why the control was not applied. It is present only when the response code is "negative". | |
| detail | O | E3-Text | Text for the cause. | |
| controlOutcome | O | 1 to 32768 octets | OCTET STRING | What the service model reports about the control. Only the service model can read it. It is missing when the service model has nothing to report. |
The message has an extension marker.
| Value | Meaning |
|---|---|
| M | Mandatory. The sender shall include the IE. |
| O | Optional. The sender may include the IE. |