Delay snapshot backed transaction ready error
[controller.git] / opendaylight / md-sal / sal-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 "needs to be present when empty";
12
13         list outer-list {
14             key id;
15             leaf id {
16                 type uint16;
17             }
18             choice outer-choice {
19                 case one {
20                     leaf one {
21                         type string;
22                     }
23                 }
24                 case two-three {
25                     leaf two {
26                         type string;
27                     }
28                     leaf three {
29                         type string;
30                     }
31                }
32            }
33            list inner-list {
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 }