fix the bug that using '==' to compare two value in YANG model 88/27788/1
authorjunzhuo <wangjunzhuo200@gmail.com>
Fri, 2 Oct 2015 04:53:04 +0000 (12:53 +0800)
committerjunzhuo <wangjunzhuo200@gmail.com>
Fri, 2 Oct 2015 05:03:17 +0000 (13:03 +0800)
Change-Id: I8efb0fe02bcb4ebc4081cfaaa19772fdfa0502fa
Signed-off-by: junzhuo <wangjunzhuo200@gmail.com>
alto-hosttracker/model/src/main/yang/alto-hosttracker-cost-service.yang

index 514053275ff15801057bf4bd96eacc288340e2dc..09db09bab178f71898d4043fab08e1762dd3d295 100644 (file)
@@ -19,7 +19,7 @@ module alto-hosttracker-cost-service {
     }
 
     augment "/alto-restconf:resources/alto-restconf:cost-maps/alto-restconf:cost-map/alto-restconf:map/alto-restconf:dst-costs" {
-        when "/alto-restconf:resources/alto-restconf:cost-maps/alto-restconf:cost-map/alto-restconf:meta/alto-restconf:cost-type/alto-restconf:cost-mode == 'numerical'";
+        when "/alto-restconf:resources/alto-restconf:cost-maps/alto-restconf:cost-map/alto-restconf:meta/alto-restconf:cost-type/alto-restconf:cost-mode = 'numerical'";
         leaf cost-in-hosttracker {
             type int32;
         }