2 // Copyright 2022 Samsung Electronics Co.
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
16 // This source code is part of the near-RT RIC (RAN Intelligent Controller)
17 // platform project (RICP).
21 type E2ResetRequestMessage struct {
22 E2ApPDU E2ApPDU `xml:"E2AP-PDU"`
26 InitiatingMessage InitiatingMessageY `xml:"initiatingMessage"`
29 type InitiatingMessageY struct {
30 ProcedureCode int64 `xml:"procedureCode"`
31 Criticality InitiatingMessageCriticality `xml:"criticality"`
32 Value InitiatingMessageValue `xml:"value"`
35 type InitiatingMessageCriticality struct {
36 Reject string `xml:"reject"`
39 type InitiatingMessageValue struct {
40 E2ResetRequest E2ResetRequest `xml:"ResetRequest"`
43 type E2ResetRequest struct {
44 ProtocolIes ProtocolIes `xml:"protocolIEs"`
47 type ProtocolIes struct {
48 ResetRequestIEs []ResetRequestIEs `xml:"ResetRequestIEs"`
51 type ResetRequestIEs struct {
53 Criticality ResetRequestCriticality `xml:"criticality"`
54 Value ResetRequestValue `xml:"value"`
57 type ResetRequestCriticality struct {
58 Ignore string `xml:"ignore"`
61 type ResetRequestValue struct {
62 TransactionID *int64 `xml:"TransactionID"`
63 Cause *CauseResetRequest `xml:"Cause"`
66 type CauseResetRequest struct {
67 Text string `xml:",chardata"`
68 E2Node E2Node `xml:"e2Node"`
69 RicRequest RicRequest `xml:"ricRequest"`
70 Misc Misc `xml:"misc"`
71 Protocol Protocol `xml:"protocol"`
72 Transport Transport `xml:"transport"`
73 RicService RicService `xml:"ricService"`
77 Text string `xml:",chardata"`
78 E2nodeComponentUnknown *struct{} `xml:"e2node-component-unknown"`
81 type RicRequest struct {
82 Text string `xml:",chardata"`
83 RanFunctionIDInvalid *struct{} `xml:"ran-function-id-invalid"`
84 ActionNotSupported *struct{} `xml:"action-not-supported"`
85 ExcessiveActions *struct{} `xml:"excessive-actions"`
86 DuplicateAction *struct{} `xml:"duplicate-action"`
87 DuplicateEventTrigger *struct{} `xml:"duplicate-event-trigger"`
88 FunctionResourceLimit *struct{} `xml:"function-resource-limit"`
89 RequestIDUnknown *struct{} `xml:"request-id-unknown"`
90 InconsistentActionSubsequentActionSequence *struct{} `xml:"inconsistent-action-subsequent-action-sequence"`
91 ControlMessageInvalid *struct{} `xml:"control-message-invalid"`
92 RicCallProcessIDInvalid *struct{} `xml:"ric-call-process-id-invalid"`
93 ControlTimerExpired *struct{} `xml:"control-timer-expired"`
94 ControlFailedToExecute *struct{} `xml:"control-failed-to-execute"`
95 SystemNotReady *struct{} `xml:"system-not-ready"`
96 Unspecified *struct{} `xml:"unspecified"`
100 Text string `xml:",chardata"`
101 ControlProcessingOverload *struct{} `xml:"control-processing-overload"`
102 HardwareFailure *struct{} `xml:"hardware-failure"`
103 OmIntervention *struct{} `xml:"om-intervention"`
104 Unspecified *struct{} `xml:"unspecified"`
107 type Protocol struct {
108 Text string `xml:",chardata"`
109 TransferSyntaxError *struct{} `xml:"transfer-syntax-error"`
110 AbstractSyntaxErrorReject *struct{} `xml:"abstract-syntax-error-reject"`
111 AbstractSyntaxErrorIgnoreAndNotify *struct{} `xml:"abstract-syntax-error-ignore-and-notify"`
112 MessageNotCompatibleWithReceiverState *struct{} `xml:"message-not-compatible-with-receiver-state"`
113 SemanticError *struct{} `xml:"semantic-error"`
114 AbstractSyntaxErrorFalselyConstructedMessage *struct{} `xml:"abstract-syntax-error-falsely-constructed-message"`
115 Unspecified *struct{} `xml:"unspecified"`
118 type Transport struct {
119 Text string `xml:",chardata"`
120 Unspecified *struct{} `xml:"unspecified"`
121 TransportResourceUnavailable *struct{} `xml:"transport-resource-unavailable"`
124 type RicService struct {
125 Text string `xml:",chardata"`
126 RanFunctionNotSupported *struct{} `xml:"ran-function-not-supported"`
127 ExcessiveFunctions *struct{} `xml:"excessive-functions"`
128 RicResourceLimit *struct{} `xml:"ric-resource-limit"`