Refactor folder structure.
[sim/o1-interface.git] / ntsimulator / yang / 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:ru:alarms:1.0";
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 2020 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 2020-01-18 {
32     description
33       "initial revision";
34     reference
35       "O-RAN-OAM-Interface-Specification (O1)";
36   }
37
38   identity alarm-type-id {
39     base al:alarm-type-id;
40     description
41       "An abstract alarm type used for all O-RAN-SC specific alarm types for
42        Managed Function O-RU.";
43   }
44
45   identity huston-we-have-a-problem {
46     base alarm-type-id;
47     description
48       "A generic alarm which is under development and analysis,
49        must not happen in production environment.
50        Instructions:
51          Create an JIRA issue and provide the following intormation:
52          - SMO version, build number or git hash
53          - O-RU version, build number or git hash
54          - A procedure to reproduce the alarm.";
55   }
56 }