Unable to resolve grouping test
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / resources / mdsal-531 / foo.yang
1 module foo {
2   yang-version 1.1;
3   namespace "a";
4   prefix a;
5   import bar { prefix b;}
6
7   grouping foo {
8     container bar {
9       leaf foo {
10         type string;
11       }
12       uses software-operation-state;
13     }
14
15     grouping software-operation-state {
16
17       leaf bar2 {
18         type empty;
19       }
20       uses next-operation-group;
21     }
22
23     grouping next-operation-group {
24       list next-operation {
25          key order;
26          config false;
27         // ui:group-ref "current-operation-group";
28          leaf order {
29              description "A logical sequence number of operations to be done.";
30              type uint8;
31          }
32
33          leaf operation-type {
34              description "Type of software action launched on the device.";
35              type string;
36
37          }
38
39          leaf software-name {
40              description "Name of the software on which the operation was performed. For download operations, the leaf only records the software name and not the complete URL.";
41              type string;
42          }
43       } // list next-operation
44     }
45   }
46
47   augment "/b:fooo" {
48     uses a:foo;
49   }
50 }