This adds a very basic test, which uncovered a failure to deal
with actions being multiply-inherited -- and fixes that issue.
Also a test model is added, so higher-layer components can be
tested.
Change-Id: I775341e2860e06f360fd4c6c6f6449e96ed92c64
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
--- /dev/null
+module actions {
+ yang-version 1.1;
+ prefix act;
+ namespace "urn:odl:actions";
+
+ container cont {
+ action foo {
+
+ }
+ }
+
+ grouping grp {
+ action bar {
+
+ }
+ }
+
+ grouping other {
+ uses grp;
+ }
+
+ container grpcont {
+ uses grp;
+ }
+
+ container othercont {
+ uses other;
+ }
+}
+