Fix invalid augmentations in binding2 44/85244/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 19 Oct 2019 15:16:28 +0000 (17:16 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 19 Oct 2019 15:17:59 +0000 (17:17 +0200)
This applies the changes done in
4e4bb47c41728c15220203602068a5754efbd62f to binding2.

Change-Id: I695dfaff812f62240f500a768eab097e95b720bb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding2/mdsal-binding2-test-model/src/main/yang/opendaylight-mdsal-augment-test.yang

index 661bb8a3bb6cfd63b0edfa43f4e6532b09673bb3..dcc68cca01a2cac0acc9cacb2387e90d9fffb092 100644 (file)
@@ -29,6 +29,12 @@ module opendaylight-mdsal-augment-test {
         }
     }
 
+    grouping leaf2-from-grouping {
+        leaf leaf2-from-grouping {
+            type string;
+        }
+    }
+
     grouping complex-from-grouping {
         container container-with-uses {
             uses leaf-from-grouping;
@@ -125,7 +131,7 @@ module opendaylight-mdsal-augment-test {
 
     augment "/test:top/test:top-level-list/test:choice-in-list" {
         case simple-via-uses {
-            uses leaf-from-grouping;
+            uses leaf2-from-grouping;
         }
         case empty-leaf {
             leaf empty-type {
@@ -136,7 +142,7 @@ module opendaylight-mdsal-augment-test {
 
     augment "/test:put-top/test:input/test:top-level-list/test:choice-in-list" {
         case simple-via-uses {
-            uses leaf-from-grouping;
+            uses leaf2-from-grouping;
         }
     }