Inital yang modules for O-RAN-SC
[scp/oam/modeling.git] / data-model / yang / working / o-ran-sc / o-ran-cu-cp / o-ran-sc-cu-cp-alarms-v1.yang
1 module o-ran-sc-cu-cp-alarms-v1 {
2   yang-version 1.1;
3   namespace "urn:o-ran-sc:cu:cp:alarms:1.0";
4   prefix osc-cu-cp-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 Central Unit
16      Control Plane.
17
18      Copyright 2020 the O-RAN Software Community.
19
20      Licensed under the Apache License, Version 2.0 (the 'License');
21      you may not use this file except in compliance with the License.
22      You may obtain a copy of the License at
23
24       http://www.apache.org/licenses/LICENSE-2.0
25
26      Unless required by applicable law or agreed to in writing, software
27      distributed under the License is distributed on an 'AS IS' BASIS,
28      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29      See the License for the specific language governing permissions and
30      limitations under the License.";
31
32   revision 2020-01-18 {
33     description
34       "initial revision";
35     reference
36       "O-RAN-OAM-Interface-Specification (O1)";
37   }
38
39   identity alarm-type-id {
40     base al:alarm-type-id;
41     description
42       "An abstract alarm type used for all O-RAN-SC specific alarm types for
43        Managed Function O-CU-CP.";
44   }
45
46   identity huston-we-have-a-problem {
47     base alarm-type-id;
48     description
49       "A generic alarm which is under development and analysis,
50        must not happen in production environment.
51        Instructions:
52          Create an JIRA issue and provide the following intormation:
53          - SMO version, build number or git hash
54          - O-CU-CP version, build number or git hash
55          - A procedure to reproduce the alarm.";
56   }
57 }