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-alarms-v1.yang
1 module o-ran-sc-du-alarms-v1 {
2   yang-version 1.1;
3   namespace "urn:o-ran-sc:yang:o-ran-sc-du-alarms-v1";
4   prefix osc-du-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 Distributed Unit.
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-03-08 {
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-DU.";
50   }
51
52   identity loss-of-timing-synchronization {
53     base alarm-type-id;
54     description
55       "O-DU loss of time synchronization.
56         Instructions:
57         1) Verify the configuration of time synchronization on the O-DU.
58         2) Verify the connectivity between the O-DU and the synchronization
59            source in terms of routing and firewall settings along the path.
60         3) Check if QoS requirements between O-DU and synchronization source
61            are met.";
62   }
63
64   identity connection-loss-to-o-ru {
65     base alarm-type-id;
66     description
67       "O-DU loss of connection to O-RU.
68         Instructions:
69           1) Verify the configuration on O-DU and on O-RU.
70           2) Verify the connectivity between O-DU and O-RU in terms of
71              routing
72        and firewall settings along the path.";
73   }
74
75   identity o-du-low-configuration-loss-from-o-du-high {
76     base alarm-type-id;
77     description
78       "O-DU Low loss of configuration from O-DU High.
79        Instructions:
80          Create an JIRA issue and provide the following information:
81          - SMO version, build number or git hash
82          - O-DU version, build number or git hash
83          - A procedure to reproduce the alarm.";
84   }
85 }