RIC:1060: Change in PTL
[ric-plt/nodeb-rnib.git] / entities / x2_setup_failure_response.proto
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  * Copyright 2019 Nokia
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 /*
19  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
20  * platform project (RICP).
21  */
22
23
24 syntax = "proto3";
25 package entities;
26 option go_package = "gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib/entities";
27 message SetupFailure{
28     oneof cause_group{
29         RadioNetworkLayer.Cause network_layer_cause = 1;
30         TransportLayer.Cause transport_layer_cause = 2;
31         Protocol.Cause protocol_cause = 3;
32         Miscellaneous.Cause miscellaneous_cause = 4;
33     }
34     TimeToWait time_to_wait = 5;
35     CriticalityDiagnostics criticality_diagnostics = 6;
36 }
37
38 message RadioNetworkLayer{
39     enum Cause{
40         UNKNOWN = 0;
41         HANDOVER_DESIRABLE_FOR_RADIO_REASONS = 1;
42         TIME_CRITICAL_HANDOVER = 2;
43         RESOURCE_OPTIMISATION_HANDOVER = 3;
44         REDUCE_LOAD_IN_SERVING_CELL = 4;
45         PARTIAL_HANDOVER = 5;
46         UNKNOWN_NEW_ENB_UE_X2AP_ID = 6;
47         UNKNOWN_OLD_ENBME_UE_X2AP_ID = 7;
48         UNKNOWN_PAIR_OF_UE_X2AP_ID = 8;
49         HO_TARGET_NOT_ALLOWED = 9;
50         TX2_RELOC_OVERALL_EXPIRY = 10;
51         T_RELOC_PREP_EXPIRY = 11;
52         CELL_NOT_AVAILABLE = 12;
53         NO_RADIO_RESOURCES_AVAILABLE_IN_TARGET_CELL = 13;
54         INVALID_MME_GROUP_ID = 14;
55         UNKNOWN_MME_CODE = 15;
56         ENCRYPTION_INTEGRITY_PROTECTION_ALGORITHMS_NOT_SUPPORTED = 16;
57         REPORT_CHARACTERISTICS_EMPTY = 17;
58         NO_REPORT_PERIODICITY = 18;
59         EXISTING_MEASUREMENT_ID = 19;
60         UNKNOWN_ENB_MEASUREMENT_ID = 20;
61         MEASUREMENT_TEMPORARILY_NOT_AVAILABLE = 21;
62         UNSPECIFIED = 22;
63         LOAD_BALANCING = 23;
64         HANDOVER_OPTIMISATION = 24;
65         VALUE_OUT_OF_ALLOWED_RANGE = 25;
66         MULTIPLE_E_RAB_ID_INSTANCES = 26;
67         SWITCH_OFF_ONGOING = 27;
68         NOT_SUPPORTED_QCI_VALUE = 28;
69         MEASUREMENT_NOT_SUPPORTED_FOR_THE_OBJECT = 29;
70         TDC_OVERALL_EXPIRY = 30;
71         TDC_PREP_EXPIRY = 31;
72         ACTION_DESIRABLE_FOR_RADIO_REASONS = 32;
73         REDUCE_LOAD = 33;
74         RESOURCE_OPTIMISATION = 34;
75         TIME_CRITICAL_ACTION = 35;
76         TARGET_NOT_ALLOWED = 36;
77         NO_RADIO_RESOURCES_AVAILABLE = 37;
78         INVALID_QOS_COMBINATION = 38;
79         ENCRYPTION_ALGORITHMS_NOT_SUPPORTED = 39;
80         PROCEDURE_CANCELLED = 40;
81         RRM_PURPOSE = 41;
82         IMPROVE_USER_BIT_RATE = 42;
83         USER_INACTIVITY = 43;
84         RADIO_CONNECTION_WITH_UE_LOST = 44;
85         FAILURE_IN_THE_RADIO_INTERFACE_PROCEDURE = 45;
86         BEARER_OPTION_NOT_SUPPORTED = 46;
87         MCG_MOBILITY = 47;
88         SCG_MOBILITY = 48;
89         COUNT_REACHES_MAX_VALUE = 49;
90         UNKNOWN_OLD_EN_GNB_UE_X2AP_ID = 50;
91         PDCP_OVERLOAD = 51;
92     }
93 }
94
95 message TransportLayer{
96     enum Cause {
97         UNKNOWN = 0;
98         TRANSPORT_RESOURCE_UNAVAILABLE = 1;
99         UNSPECIFIED = 2;
100     }
101 }
102
103 message Protocol{
104     enum Cause {
105         UNKNOWN = 0;
106         TRANSFER_SYNTAX_ERROR =  1;
107         ABSTRACT_SYNTAX_ERROR_REJECT =  2;
108         ABSTRACT_SYNTAX_ERROR_IGNORE_AND_NOTIFY =  3;
109         MESSAGE_NOT_COMPATIBLE_WITH_RECEIVER_STATE =  4;
110         SEMANTIC_ERROR =  5;
111         UNSPECIFIED =  6;
112         ABSTRACT_SYNTAX_ERROR_FALSELY_CONSTRUCTED_MESSAGE =  7;
113     }
114 }
115
116 message Miscellaneous{
117     enum Cause {
118         UNKNOWN = 0;
119         CONTROL_PROCESSING_OVERLOAD =  1;
120         HARDWARE_FAILURE =  2;
121         OM_INTERVENTION =  3;
122         NOT_ENOUGH_USER_PLANE_PROCESSING_RESOURCES =  4;
123         UNSPECIFIED =  5;
124     }
125 }
126
127 message CriticalityDiagnostics{
128     uint32 procedure_code = 1;
129     TriggeringMessage triggering_message = 2;
130     Criticality procedure_criticality = 3;
131     repeated InformationElementCriticalityDiagnostic information_element_criticality_diagnostics = 4;
132 }
133
134 message InformationElementCriticalityDiagnostic{
135     Criticality ie_criticality = 1;
136     uint32 ie_id = 2;
137     TypeOfError type_of_error = 3;
138 }
139
140 enum TypeOfError{
141     UNKNOWN_ERROR = 0;
142     NOT_UNDERSTOOD = 1;
143     MISSING = 2;
144 }
145
146 enum TimeToWait{
147     UNKNOWN_TIMEOUT = 0;
148     V1S = 1;
149     V2S = 2;
150     V5S = 3;
151     V10S = 4;
152     V20S = 5;
153     V60S = 6;
154 }
155
156 enum TriggeringMessage{
157     UNKNOWN_MESSAGE = 0;
158     INITIATING_MESSAGE = 1;
159     SUCCESSFUL_OUTCOME = 2;
160     UNSUCCESSFUL_OUTCOME = 3;
161 }
162
163 enum Criticality{
164     UNKNOWN_CRITICALITY = 0;
165     REJECT = 1;
166     IGNORE = 2;
167     NOTIFY = 3;
168 }
169