Remove superfluous units specification 58/90358/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 9 Jun 2020 14:02:55 +0000 (16:02 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 9 Jun 2020 14:03:39 +0000 (16:03 +0200)
Units are defined in the base type, there is no need to define
them in the leaf.

JIRA: BGPCEP-907
Change-Id: I285db487de6807ccfe380914b88137f360d71e75
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
algo/algo-api/src/main/yang/path-computation.yang

index 259a46158ef33d281513a8c030fa0d3014d01aa8..b8eb473ef04b3b2d1182a6b5b1c04b0903911f01 100644 (file)
@@ -87,17 +87,14 @@ module path-computation {
         }
         leaf delay {
             description "Maximum end to end delay";
-            units "micro-seconds";
             type gr:delay;
         }
         leaf jitter {
             description "Maximum delay variation for selected edges";
-            units "micro-seconds";
             type gr:delay;
         }
         leaf loss {
             description "Maximum loss for selected edges";
-            units "0.000003%";
             type gr:loss;
         }
         leaf admin-group {
@@ -130,7 +127,6 @@ module path-computation {
         }
         leaf bandwidth {
             description "Requested bandwidth for the computed path";
-            units "bytes/second";
             type gr:decimal-bandwidth;
         }
     }