X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=models%2Fyang%2Fvnfd-base.yang;h=f176811e61d0a8fd0a4ff435345bd4fe112345b6;hp=ce637d273c0e6ce56be5f9dcbf5b104176340e6d;hb=a3c3ec9802462ebbf40574a97917a8313eb7dfe6;hpb=55433c776d1429f91ad2f56a77cd782188ee7775 diff --git a/models/yang/vnfd-base.yang b/models/yang/vnfd-base.yang index ce637d2..f176811 100644 --- a/models/yang/vnfd-base.yang +++ b/models/yang/vnfd-base.yang @@ -417,7 +417,24 @@ module vnfd-base 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; @@ -721,7 +738,9 @@ module vnfd-base leaf scale-in-threshold { description "Value below which scale-in requests are generated"; - type uint64; + type decimal64{ + fraction-digits 10; + } } leaf scale-in-relational-operation { @@ -735,7 +754,9 @@ module vnfd-base leaf scale-out-threshold { description "Value above which scale-out requests are generated"; - type uint64; + type decimal64{ + fraction-digits 10; + } } leaf scale-out-relational-operation {