Bug 584 - Scaling thresholds: IM needs to support decimal values 23/7123/2
authorvijay.r <vijay.r@tataelxsi.co.in>
Wed, 23 Jan 2019 11:02:10 +0000 (16:32 +0530)
committerrsvij <vijay.r@tataelxsi.co.in>
Wed, 23 Jan 2019 11:33:30 +0000 (13:33 +0200)
Change-Id: Iac92373e5c4c8e4e6e896042febfed737aa1b7fe
Signed-off-by: vijay.r <vijay.r@tataelxsi.co.in>
models/yang/vnfd-base.yang

index ce637d2..8a43cb7 100644 (file)
@@ -721,7 +721,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 +737,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 {