[ONOS-5178] Defect fix :No get/set for root node in generated service
Change-Id: I9d90068e4cdd3d35a9ee71fd1f00c4a635b191b7
diff --git a/plugin/src/test/resources/rootNode/onlyaugment/module.yang b/plugin/src/test/resources/rootNode/onlyaugment/module.yang
new file mode 100644
index 0000000..e3e5571
--- /dev/null
+++ b/plugin/src/test/resources/rootNode/onlyaugment/module.yang
@@ -0,0 +1,21 @@
+module test5 {
+ namespace "test5:test";
+ prefix test ;
+
+ include test6;
+ revision "2016-07-04" {
+ description "Initial revision.";
+ }
+
+ augment /cont1 {
+ leaf cont1 {
+ type string;
+ }
+ }
+ augment /cont2 {
+ leaf cont2 {
+ type string;
+ }
+ }
+
+}
diff --git a/plugin/src/test/resources/rootNode/onlyaugment/submodule.yang b/plugin/src/test/resources/rootNode/onlyaugment/submodule.yang
new file mode 100644
index 0000000..9acc939
--- /dev/null
+++ b/plugin/src/test/resources/rootNode/onlyaugment/submodule.yang
@@ -0,0 +1,21 @@
+submodule test6 {
+
+ belongs-to "test5" {
+ prefix "test";
+ }
+
+ revision "2016-07-04" {
+ description "Initial revision.";
+ }
+ container cont1 {
+ leaf leaf1 {
+ type int32;
+ }
+ }
+ container cont2 {
+ leaf leaf1 {
+ type int32;
+ }
+ }
+
+}