Delay snapshot backed transaction ready error
[mdsal.git] / dom / mdsal-dom-inmemory-datastore / src / test / resources / odl-datastore-test.yang
1 module odl-datastore-test {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test";
4     prefix "store-test";
5
6     revision "2014-03-13" {
7         description "Initial revision.";
8     }
9
10     container test {
11         presence "presence container";
12         list outer-list {
13             key id;
14             leaf id {
15                 type uint16;
16             }
17             choice outer-choice {
18                 case one {
19                     leaf one {
20                         type string;
21                     }
22                 }
23                 case two-three {
24                     leaf two {
25                         type string;
26                     }
27                     leaf three {
28                         type string;
29                     }
30                }
31            }
32            list inner-list {
33                 ordered-by user;
34                 key name;
35                 leaf name {
36                     type string;
37                 }
38                 leaf value {
39                     type string;
40                 }
41             }
42         }
43     }
44
45     container mandatory-data-test {
46         presence "needs to be present when empty";
47
48         leaf optional-data {
49             type string;
50         }
51         leaf mandatory-data {
52             type string;
53             mandatory true;
54         }
55     }
56 }