hardware: invoke alarm when sensor goes nonoperational
Change-Id: I88266d453bbade1cb8d703d4f7f0b87cd7e454d7
diff --git a/yang/velia-alarms@2022-07-12.yang b/yang/velia-alarms@2022-07-12.yang
index f4d30c7..5756c0c 100644
--- a/yang/velia-alarms@2022-07-12.yang
+++ b/yang/velia-alarms@2022-07-12.yang
@@ -30,6 +30,11 @@
description "Alarm to model that sensor is missing.";
}
+ identity sensor-nonoperational {
+ base sensor-alarm;
+ description "Sensor is set as nonoperational.";
+ }
+
identity sensor-threshold-crossing-alarm {
base sensor-alarm;
description "Abstract base for sensor threshold crossing.";