Refactor folder structure.
[sim/o1-interface.git] / ntsimulator / yang / o-ran-sc / o-ran-ru / o-ran-sc-ru-v1.yang
1 module o-ran-sc-ru-v1 {
2   yang-version 1.1;
3   namespace "urn:o-ran:sc:radio-unit:1.0";
4   prefix oru;
5
6   import o-ran-sc-root-v1 {
7     prefix root;
8   }
9   import o-ran-sc-types-v1 {
10     prefix ot;
11   }
12
13   organization
14     "O-RAN Software Community";
15   contact
16     "www.o-ran.org";
17   description
18     "This module contains the O-RAN Software Community RadioUnit specific
19      O1 interface APIs.
20
21      Copyright 2020 the O-RAN Alliance.
22
23      Licensed under the Apache License, Version 2.0 (the 'License');
24      you may not use this file except in compliance with the License.
25      You may obtain a copy of the License at
26
27      http://www.apache.org/licenses/LICENSE-2.0
28
29      Unless required by applicable law or agreed to in writing, software
30      distributed under the License is distributed on an 'AS IS' BASIS,
31      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32      See the License for the specific language governing permissions and
33      limitations under the License.";
34
35   revision 2020-02-20 {
36     description
37       "initial revision";
38     reference
39       "O-RAN-OAM-Interface-Specification (O1)";
40   }
41
42   // identity
43
44   identity o-ru {
45     base ot:control-function-type;
46     description
47       "TODO: Nice description";
48   }
49
50   // grouping
51
52   grouping o-ru-specific-grp {
53     description
54       "TODO: add your specific leafs, lists, containers here.";
55   }
56
57   // Inherit from controlled-function
58   augment "/root:controlled-element/root:controlled-function" {
59     when "derived-from-or-self(./root:function-type, 'oru:o-ru')";
60     uses o-ru-specific-grp;
61     description
62       "TODO: Nice description";
63   }
64 }