1 module o-ran-sc-du-hello-world {
3 namespace "urn:o-ran-sc:yang:o-ran-sc-du-hello-world";
7 "O-RAN Software Community";
11 "This module contains the O-RAN Software Community Distributed Unit
12 API description. This schema was created to support the
13 O-RAN-SC D-Release RSAC use case.
14 This standalone model is the absolute minimum and therefore
17 Copyright 2021 the O-RAN Software Community.
19 Licensed under the Apache License, Version 2.0 (the 'License');
20 you may not use this file except in compliance with the License.
21 You may obtain a copy of the License at
23 http://www.apache.org/licenses/LICENSE-2.0
25 Unless required by applicable law or agreed to in writing, software
26 distributed under the License is distributed on an 'AS IS' BASIS,
27 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28 See the License for the specific language governing permissions and
29 limitations under the License.";
35 "https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=20878423";
40 typedef connection-status {
45 "The connection to the remote network function is not established.";
50 "The system is about to connect to the remote network function.";
55 "The system is connected to the remote network function.";
60 "The system is about to disconnect from the remote network
63 enum unable-to-connect {
66 "This value is reported, when the system tried several times
67 to connect and finally gave up.";
71 "A non extensible enumeration representing a connection status.";
74 typedef o-ru-reference {
76 path "/network-function/du-to-ru-connection/name";
79 "A reference to a remote network function representing an O-RU.";
82 // Abstract object classes - groupings
84 grouping connection-grp {
86 "An abstract object class representing a connection or link to an
91 "It is proposed to use the network unique identifier of the remote
93 Note: After discussion the string was not restricted by a 'length'
94 statement of a 'pattern' statement. Please avoid leading and ending
95 spaces and consecutive spaces and any character outside of UTF-8-";
98 type connection-status;
99 default "disconnected";
102 "The value represents the connection status. ";
106 grouping network-function-grp {
108 "An abstract object class grouping the O-RAN-SC-DU parameters with
109 focus on RSAC D-release Closed-Loop use case.";
110 list du-to-ru-connection {
113 "A list of connection objects to O-RAN-SC radio units.";
118 grouping rpc-output {
120 "A generic RPC output syntax.";
121 leaf response-status {
126 "The system has successfully performed that request.";
131 "The system has received and accepted the request. It continues
132 processing the request. The final status of the processing
133 procedures are reported by a notification service. This response
134 status is typically for long running transactions.";
136 enum internal-server-error {
139 "The request cannot be performed.";
144 "The response status related to the corresponding request.
145 Its values are inspired by HTTP response status codes.";
147 "RFC 7231 – Response Status Codes - Section 6.3.4";
152 "A human readable text complementary to the response status. ";
158 container network-function {
160 "The root container for the configuration and operational data.
161 The object implements the 'network-function-grp'";
162 uses network-function-grp;
165 // Remote procedure calls - actions on root level
169 "An action to establish the connection to a remote network function.";
171 leaf remote-network-function {
175 "An reference to a remote network function - an O-RU - to which
176 a connection should be established.";
186 "An action to destroy the connection to a remote network function.";
188 leaf remote-network-function {
192 "An reference to a remote network function - an O-RU - to which
193 the connection should be destroyed.";