Support of WG4 OpenFronthaul Management-Plane VES
[scp/oam/modeling.git] / data-model / yang / working / o-ran-sc / o-ran-ru / o-ran-sc-ru-alarms-v1.yang
1 module o-ran-sc-ru-alarms-v1 {
2   yang-version 1.1;
3   namespace "urn:o-ran-sc:yang:o-ran-sc-ru-alarms-v1";
4   prefix osc-ru-al;
5
6   import ietf-alarms {
7     prefix al;
8   }
9
10   organization
11     "O-RAN Software Community";
12   contact
13     "www.o-ran-sc.org";
14   description
15     "This module defines the alarm identities for the O-RAN-SC Components.
16
17      Copyright 2021 the O-RAN Software Community.
18
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
22
23       http://www.apache.org/licenses/LICENSE-2.0
24
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.";
30
31   revision 2021-03-09 {
32     description
33       "The namespace was updated according to O-RAN-SC yang guidelines.
34        The namespace must end with the full module name.";
35     reference
36       "https://jira.o-ran-sc.org/browse/OAM-168";
37   }
38   revision 2020-01-18 {
39     description
40       "initial revision";
41     reference
42       "O-RAN-OAM-Interface-Specification (O1)";
43   }
44
45   identity alarm-type-id {
46     base al:alarm-type-id;
47     description
48       "An abstract alarm type used for all O-RAN-SC specific alarm types for
49        Managed Function O-RU.";
50   }
51
52   identity huston-we-have-a-problem {
53     base alarm-type-id;
54     description
55       "A generic alarm which is under development and analysis,
56        must not happen in production environment.
57        Instructions:
58          Create an JIRA issue and provide the following information:
59          - SMO version, build number or git hash
60          - O-RU version, build number or git hash
61          - A procedure to reproduce the alarm.";
62   }
63 }