Inital yang modules for O-RAN-SC
[scp/oam/modeling.git] / data-model / yang / working / o-ran-sc / o-ran-du / o-ran-sc-du-alarms-v1.yang
diff --git a/data-model/yang/working/o-ran-sc/o-ran-du/o-ran-sc-du-alarms-v1.yang b/data-model/yang/working/o-ran-sc/o-ran-du/o-ran-sc-du-alarms-v1.yang
new file mode 100644 (file)
index 0000000..e19c245
--- /dev/null
@@ -0,0 +1,76 @@
+module o-ran-sc-du-alarms-v1 {
+    yang-version 1.1;
+    namespace "urn:o-ran-sc:du:alarms:1.0";
+    prefix osc-du-al;
+
+    import ietf-alarms {
+        prefix al;
+    }
+
+    organization
+      "O-RAN Software Community";
+    contact
+      "www.o-ran-sc.org";
+    description
+      "This module defines the alarm identities for the O-RAN-SC Distributed Unit.
+       
+       Copyright 2020 the O-RAN Software Community.
+       
+       Licensed under the Apache License, Version 2.0 (the 'License');
+       you may not use this file except in compliance with the License.
+       You may obtain a copy of the License at
+       
+        http://www.apache.org/licenses/LICENSE-2.0
+       
+       Unless required by applicable law or agreed to in writing, software
+       distributed under the License is distributed on an 'AS IS' BASIS,
+       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+       See the License for the specific language governing permissions and
+       limitations under the License.";
+
+    revision 2020-03-08 {
+        description
+          "initial revision";
+        reference
+          "O-RAN-OAM-Interface-Specification (O1)";
+    }
+
+    identity alarm-type-id {
+        base al:alarm-type-id;
+        description
+          "An abstract alarm type used for all O-RAN-SC specific alarm types for
+           Managed Function O-DU.";
+    }
+
+    identity loss-of-timing-synchronization {
+        base alarm-type-id;
+        description
+          "O-DU loss of time synchronization.
+            Instructions:
+            1) Verify the configuration of time synchronization on the O-DU.
+            2) Verify the connectivity between the O-DU and the synchronization
+               source in terms of routing and firewall settings along the path.
+            3) Check if QoS requirements between O-DU and synchronization source
+               are met.";
+    }
+    identity connection-loss-to-o-ru {
+        base alarm-type-id;
+        description
+          "O-DU loss of connection to O-RU.
+            Instructions:
+              1) Verify the configuration on O-DU and on O-RU.
+              2) Verify the connectivity between O-DU and O-RU in terms of 
+                 routing
+           and firewall settings along the path.";
+    }
+    identity o-du-low-configuration-loss-from-o-du-high {
+        base alarm-type-id;
+        description
+          "O-DU Low loss of configuration from O-DU High.
+           Instructions:
+             Create an JIRA issue and provide the following information:
+             - SMO version, build number or git hash
+             - O-DU version, build number or git hash
+             - A procedure to reproduce the alarm.";
+    }
+}
\ No newline at end of file