Merge "[RIC-384] Update ran_function.proto"
[ric-plt/nodeb-rnib.git] / entities / ran_function.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
27 message RanFunction {
28     uint32 ran_function_id = 1;
29     RanFunctionDefinition ran_function_definition = 2;
30     uint32 ran_function_revision = 3;
31 }
32
33 message RanFunctionDefinition {
34     E2smGnbNrtRanFunctionDefinition e2sm_gnb_nrt_ran_function_definition = 1;
35 }
36
37 message E2smGnbNrtRanFunctionDefinition {
38     RanFunctionName ran_function_name = 1;
39     repeated RicEventTriggerStyle ric_event_trigger_styles = 2;
40     repeated RicReportStyle ric_report_styles = 3;
41     repeated RicInsertStyle ric_insert_styles = 4;
42     repeated RicControlStyle ric_control_styles = 5;
43     repeated RicPolicyStyle ric_policy_styles = 6;
44 }
45
46 message RanFunctionName {
47     string ran_function_short_name = 1;
48     string ran_function_e2sm_oid = 2;
49     string ran_function_description = 3;
50     uint32 ran_function_instance = 4;
51 }
52
53 message RicEventTriggerStyle {
54     uint32 ric_event_trigger_style_type = 1;
55     string ric_event_trigger_style_name = 2;
56     uint32 ric_event_trigger_format_type = 3;
57 }
58
59 enum RanParameterType {
60     UNKNOWN_RAN_PARAMETER_TYPE = 0;
61     INTEGER = 1;
62     ENUMERATED = 2;
63     BOOLEAN = 3;
64     BIT_STRING = 4;
65     OCTET_STRING = 5;
66     PRINTABLE_STRING = 6;
67 }
68
69 message RanParameterDef {
70     uint32 ran_parameter_id = 1;
71     string ran_parameter_name = 2;
72     RanParameterType ran_parameter_type = 3;
73 }
74
75 message RicReportStyle {
76     uint32 ric_report_style_type = 1;
77     string ric_report_style_name = 2;
78     uint32 ric_report_action_format_type = 3;
79     repeated RanParameterDef ric_report_ran_parameter_defs = 4;
80     uint32 ric_indication_header_format_type = 5;
81     uint32 ric_indication_message_format_type = 6;
82 }
83
84
85 message RicInsertStyle {
86     uint32 ric_insert_style_type = 1;
87     string ric_insert_style_name = 2;
88     uint32 ric_insert_action_format_type = 3;
89     repeated RanParameterDef ric_insert_ran_parameter_defs = 4;
90     uint32 ric_indication_header_format_type = 5;
91     uint32 ric_indication_message_format_type = 6;
92     uint32 ric_call_process_id_format_type = 7;
93 }
94
95 message RicControlStyle {
96     uint32 ric_control_style_type = 1;
97     string ric_control_style_name = 2;
98     uint32 ric_control_header_format_type = 3;
99     uint32 ric_control_message_format_type = 4;
100     uint32 ric_call_process_id_format_type = 5;
101 }
102
103 message RicPolicyStyle {
104     uint32 ric_policy_style_type = 1;
105     string ric_policy_style_name = 2;
106     uint32 ric_policy_action_format_type = 3;
107     repeated RanParameterDef ric_policy_ran_parameter_defs = 4;
108 }