RIC:1060: Change in PTL
[ric-plt/nodeb-rnib.git] / entities / e2node_component_config.proto
1 /*
2  * Copyright 2022 Samsung Electronics Co.
3  *
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
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 /*
18  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19  * platform project (RICP).
20  */
21
22
23  syntax = "proto3";
24  package entities;
25
26  import "nb_types.proto";
27  option go_package = "gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib/entities";
28
29  message E2nodeComponentConfig {
30      oneof E2nodeComponentID {
31         E2nodeComponentInterfaceNG e2nodeComponentInterfaceTypeNG = 1;
32         E2nodeComponentInterfaceXn e2nodeComponentInterfaceTypeXn = 2;
33         E2nodeComponentInterfaceE1 e2nodeComponentInterfaceTypeE1 = 3;
34         E2nodeComponentInterfaceF1 e2nodeComponentInterfaceTypeF1 = 4;
35         E2nodeComponentInterfaceW1 e2nodeComponentInterfaceTypeW1 = 5;
36         E2nodeComponentInterfaceS1 e2nodeComponentInterfaceTypeS1 = 6;
37         E2nodeComponentInterfaceX2 e2nodeComponentInterfaceTypeX2 = 7;
38      }
39      E2nodeComponentInterfaceType e2nodeComponentInterfaceType = 8;
40      bytes e2nodeComponentRequestPart = 9;
41      bytes e2nodeComponentResponsePart = 10;
42  }
43
44  message E2nodeComponentInterfaceNG {
45      string amf_name = 11;
46  }
47
48  message E2nodeComponentInterfaceXn {
49     oneof global_ng_ran_node_id {
50         GlobalNGENBID global_ngenb_id = 12;
51         GlobalGNBID global_gnb_id = 13;
52      }
53  }
54
55  message E2nodeComponentInterfaceE1 {
56     int64 gNB_cu_cp_id = 14;
57  }
58
59  message E2nodeComponentInterfaceF1 {
60     int64 gNB_du_id = 15;
61  }
62
63  message E2nodeComponentInterfaceW1 {
64      int64 ngenb_du_id = 16;
65 }
66
67 message E2nodeComponentInterfaceS1 {
68      string mme_name = 17;
69 }
70
71 message E2nodeComponentInterfaceX2 {
72     GlobalENBID global_enb_id = 18;
73     GlobalENGNBID global_engnb_id = 19;
74 }
75
76 message GlobalENBID {
77     string plmn_identity = 20;
78     string enb_id = 21;
79     EnbType enb_type = 22;
80 }
81
82 message GlobalENGNBID {
83     string plmn_identity = 23;
84     string gnb_id = 24;
85     GnbType gnb_type = 25;
86 }
87
88 message GlobalGNBID {
89     string plmn_identity = 26;
90     string gnb_id = 27;
91     GnbType gnb_type = 28;
92 }
93
94 message GlobalNGENBID {
95     string plmn_identity = 29;
96     string enb_id = 30;
97     EnbType enb_type = 31;
98 }
99
100 enum E2nodeComponentInterfaceType {
101     ng = 0;
102     xn = 1;
103     e1 = 2;
104     f1 = 3;
105     w1 = 5;
106     s1 = 6;
107     x2 = 7;
108 }