[ONOS-4636]YANG Grouping linking bug fix + YANG Code review comment fix
Change-Id: I68ee8dd08266a02593e217cef1a9bb010037d673
(cherry picked from commit 2ee9e7e892456543e0e5532f7b0de3774d42e561)
diff --git a/utils/yangutils/src/test/resources/groupingNodeSameAsModule/portpair.yang b/utils/yangutils/src/test/resources/groupingNodeSameAsModule/portpair.yang
new file mode 100644
index 0000000..3497f04
--- /dev/null
+++ b/utils/yangutils/src/test/resources/groupingNodeSameAsModule/portpair.yang
@@ -0,0 +1,29 @@
+module port-pair {
+
+ yang-version 1;
+
+ namespace "sfc.portpair";
+
+ prefix "port-pair";
+
+ grouping port-pair {
+ container port-pair {
+
+ leaf name {
+ type string;
+ }
+
+
+ leaf description {
+ type string;
+ }
+
+ }
+ }
+
+ rpc get-port-pair {
+ output {
+ uses port-pair;
+ }
+ }
+}