1 module o-ran-sc-ric-gnb-status-v1 {
3 namespace "urn:o-ran-sc:yang:o-ran-sc-ric-gnb-status-v1";
6 import o-ran-sc-ric-xapp-desc-v1 {
9 import o-ran-sc-root-v1 {
12 import o-ran-sc-types-v1 {
15 import ietf-inet-types {
18 "RFC 6991: Common YANG Data Types";
22 "O-RAN Software Community";
26 "This module defines the gNB status and other information visible to operators
28 Copyright 2021 the O-RAN Software Community.
30 Licensed under the Apache License, Version 2.0 (the 'License');
31 you may not use this file except in compliance with the License.
32 You may obtain a copy of the License at
34 http://www.apache.org/licenses/LICENSE-2.0
36 Unless required by applicable law or agreed to in writing, software
37 distributed under the License is distributed on an 'AS IS' BASIS,
38 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39 See the License for the specific language governing permissions and
40 limitations under the License.";
44 "Dependency to a common and abstract root module added.";
46 "O-RAN-OAM-architecture-Specification (O1)";
52 "O-RAN-OAM-Interface-Specification (O1)";
56 uses root:control-base-grp;
60 "The IP address of the node";
63 type inet:port-number;
65 "The port of the node";
68 type ot:e2ap-protocol-type;
70 "Specifies the protocol type of the connection";
72 leaf connection-status {
73 type ot:connection-status-type;
75 "Specifies the connection type of the node";
78 type ot:sized-printable-string;
80 "PLMN id TODO: who is responsible for this identifier?";
83 type ot:sized-printable-string;
85 "eNB id TODO: who is responsible for this identifier?";
89 base ot:control-element-type;
92 "The type of the node: eNB or gNB";
98 grouping ric-specific-grp {
105 "The list of the gNBs currently discovered by RIC";
108 "State data container of the nodes";
111 "Root object for gNB status";
114 // Inherit from controlled-function
116 augment "/root:controlled-element/root:controlled-function" {
117 when "derived-from-or-self(./root:function-type, 'rxad:near-realtime-ran-intelligent-controller')";
118 uses ric-specific-grp;
120 "Inheritance from root object class.";