commit | 9fab16bcb3ff7d6b8de0f3165fbdc631c6aa0c2c | [log] [tgz] |
---|---|---|
author | Bharat saraswal <bharat.saraswal@huawei.com> | Fri Sep 23 23:27:24 2016 +0530 |
committer | Bharat saraswal <bharat.saraswal@huawei.com> | Wed Oct 05 16:10:45 2016 +0530 |
tree | 0d7a455d56401480af717c1d0a52276125cb48e4 | |
parent | 3b57f36cce750200448f6d4970554b2fedad7ee3 [diff] |
[ONOS-5232] Update generated code Change-Id: I9c25d9f2888fbee78fddf10d02a3fa94f7ce46e0
diff --git a/plugin/src/test/resources/augmentTranslator/test.yang b/plugin/src/test/resources/augmentTranslator/test.yang index 3fa36b9..c112cef 100644 --- a/plugin/src/test/resources/augmentTranslator/test.yang +++ b/plugin/src/test/resources/augmentTranslator/test.yang
@@ -110,5 +110,30 @@ } } + augment /test1:rpc-input/test1:input { + leaf leaf2 { + type int32; + } + } + + augment /test1:rpc-output/test1:output { + leaf leaf2 { + type int32; + } + } + + augment /test1:rpc-input-output/test1:output { + leaf leaf2 { + type int32; + } + } + + augment /test1:rpc-input-output/test1:input { + leaf leaf2 { + type int32; + } + } + + }
diff --git a/plugin/src/test/resources/augmentTranslator/test2.yang b/plugin/src/test/resources/augmentTranslator/test2.yang index 3b5de76..1eae21b 100644 --- a/plugin/src/test/resources/augmentTranslator/test2.yang +++ b/plugin/src/test/resources/augmentTranslator/test2.yang
@@ -26,5 +26,35 @@ } } } + + rpc rpc-input { + input { + leaf leaf1 { + type int32; + } + } + } + + rpc rpc-output { + output { + leaf leaf1 { + type int32; + } + } + } + + rpc rpc-input-output { + input { + leaf leaf1 { + type int32; + } + } + output { + leaf leaf1 { + type int32; + } + } + } + }