Change-Id: I01a4da42026737e86ac3249f2480cb2788be1dec
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
}
}
- grouping alarm {
- leaf alarm-id {
- description
- "This field is reserved for the identifier assigned by the VIM provider";
-
- type string;
- }
-
+ grouping alarm-properties {
leaf name {
description "A human readable string to identify the alarm";
type string;
type alarm-severity-type;
}
- leaf metric {
- description "The metric to be tracked by this alarm.";
- type alarm-metric-type;
- }
-
leaf statistic {
description "The type of metric statistic that is tracked by this alarm";
type alarm-statistic-type;
list alarm {
key "alarm-id";
- uses manotypes:alarm;
+ leaf alarm-id {
+ description
+ "This field is reserved for the identifier assigned by the VIM provider";
+
+ type string;
+ }
+
+
+ leaf vnf-monitoring-param-ref {
+ description
+ "Reference to the VNF level monitoring parameter
+ that is aggregated";
+ type leafref {
+ path "../../monitoring-param/id";
+ }
+ }
+
+ uses manotypes:alarm-properties;
}
uses manotypes:image-properties;