Modifies vnf alarm model to support vnf-monitoring-param-ref
Change-Id: I01a4da42026737e86ac3249f2480cb2788be1dec
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
diff --git a/models/yang/vnfd-base.yang b/models/yang/vnfd-base.yang
index 8a43cb7..f176811 100644
--- a/models/yang/vnfd-base.yang
+++ b/models/yang/vnfd-base.yang
@@ -417,7 +417,24 @@
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;