From e0b0eaf08446e70a018f2e46edd4b11062243e7f Mon Sep 17 00:00:00 2001 From: junzhuo Date: Fri, 2 Oct 2015 12:53:04 +0800 Subject: [PATCH] fix the bug that using '==' to compare two value in YANG model Change-Id: I8efb0fe02bcb4ebc4081cfaaa19772fdfa0502fa Signed-off-by: junzhuo --- .../model/src/main/yang/alto-hosttracker-cost-service.yang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alto-hosttracker/model/src/main/yang/alto-hosttracker-cost-service.yang b/alto-hosttracker/model/src/main/yang/alto-hosttracker-cost-service.yang index 51405327..09db09ba 100644 --- a/alto-hosttracker/model/src/main/yang/alto-hosttracker-cost-service.yang +++ b/alto-hosttracker/model/src/main/yang/alto-hosttracker-cost-service.yang @@ -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; } -- 2.36.6