[ONOS-3894, 4071] YANG Advanced Construct Union & Grouping
Change-Id: I0f828adb5884c2d7b6e4120f9843c416608ae5e7
diff --git a/src/test/resources/GroupingAttributes.yang b/src/test/resources/GroupingAttributes.yang
new file mode 100644
index 0000000..7eb3880
--- /dev/null
+++ b/src/test/resources/GroupingAttributes.yang
@@ -0,0 +1,22 @@
+module Test {
+ yang-version 1;
+ namespace http://huawei.com;
+ prefix Ant;
+ list valid {
+ key address;
+ leaf address {
+ type ip;
+ }
+ grouping endpoint {
+ description "grouping under test";
+ status current;
+ reference "RFC 6020";
+ leaf address {
+ type ip-address;
+ }
+ leaf port {
+ type port-number;
+ }
+ }
+ }
+}