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