Support of WG4 OpenFronthaul Management-Plane VES
[scp/oam/modeling.git] / data-model / yang / working / o-ran-sc / o-ran-du / o-ran-sc-du-v1.yang
1 module o-ran-sc-du-v1 {
2   yang-version 1.1;
3   namespace "urn:o-ran-sc:yang:o-ran-sc-du-v1";
4   prefix odu;
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 DistributedUnit specific
19      O1 interface APIs.
20
21      Copyright 2021 the O-RAN Software Community.
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 2021-03-09 {
36     description
37       "The namespace was updated according to O-RAN-SC yang guidelines.
38        The namespace must end with the full module name.";
39     reference
40       "https://jira.o-ran-sc.org/browse/OAM-168";
41   }
42   revision 2020-02-20 {
43     description
44       "initial revision";
45     reference
46       "O-RAN-OAM-Interface-Specification (O1)";
47   }
48
49   // identity
50
51   identity o-du {
52     base ot:control-function-type;
53     description
54       "TODO: Nice description";
55   }
56
57   // grouping
58
59   grouping o-du-specific-grp {
60     description
61       "TODO: add your specific leafs, lists, containers here.";
62   }
63
64   // Inherit from controlled-function
65
66   augment "/root:controlled-element/root:controlled-function" {
67     when "derived-from-or-self(./root:function-type, 'odu:o-du')";
68     uses o-du-specific-grp;
69     description
70       "TODO: Nice description";
71   }
72 }