blob: 46d93ed523faab85d9e18d93c64d984d04c720dc [file] [log] [blame]
ss412g1acbc2c2019-11-12 19:34:17 +02001/*
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
nm755n31ed7872019-11-28 16:57:55 +000018/*
19 * This source code is part of the near-RT RIC (RAN Intelligent Controller)
20 * platform project (RICP).
21 */
22
23
ss412g286ce412019-07-04 14:00:29 +030024syntax = "proto3";
25package entities;
26import "gnb.proto";
27import "enb.proto";
28import "x2_setup_failure_response.proto";
29import "nb_identity.proto";
30
is005qd51567d2019-08-25 14:19:31 +030031message NodebInfo {
idanshal1c894172020-07-09 08:51:23 +000032 string ran_name = 1;
33 string ip = 2;
34 uint32 port = 3;
35 E2ApplicationProtocol e2_application_protocol = 4;
36 ConnectionStatus connection_status = 5;
37 GlobalNbId global_nb_id = 6;
38 Node.Type node_type = 7;
39 oneof configuration {
40 Enb enb = 8;
41 Gnb gnb = 9;
42 }
43 Failure.Type failure_type = 10;
44 SetupFailure setup_failure = 11;
45 string associated_e2t_instance_address = 12;
ss412g286ce412019-07-04 14:00:29 +030046}
47
is005qd51567d2019-08-25 14:19:31 +030048enum E2ApplicationProtocol {
idanshal1c894172020-07-09 08:51:23 +000049 UNKNOWN_E2_APPLICATION_PROTOCOL = 0;
50 X2_SETUP_REQUEST = 1;
51 ENDC_X2_SETUP_REQUEST = 2;
is005qd51567d2019-08-25 14:19:31 +030052}
53
ss412g286ce412019-07-04 14:00:29 +030054
is005qd51567d2019-08-25 14:19:31 +030055message Node {
idanshal1c894172020-07-09 08:51:23 +000056 enum Type {
57 UNKNOWN = 0;
58 ENB = 1;
59 GNB = 2;
60 }
ss412g286ce412019-07-04 14:00:29 +030061}
62
is005qd51567d2019-08-25 14:19:31 +030063message Failure {
idanshal1c894172020-07-09 08:51:23 +000064 enum Type {
65 UNKNOWN_TYPE = 0;
66 X2_SETUP_FAILURE = 1;
67 ENDC_X2_SETUP_FAILURE = 2;
68 }
69}