Speed up slow tell-based Distributed*IntegrationTest cases
[controller.git] / opendaylight / md-sal / sal-distributed-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         leaf name {
14             type string;
15         }
16
17         leaf desc {
18             type string;
19         }
20
21         list outer-list {
22             key id;
23             leaf id {
24                 type uint16;
25             }
26             choice outer-choice {
27                 case one {
28                     leaf one {
29                         type string;
30                     }
31                 }
32                 case two-three {
33                     leaf two {
34                         type string;
35                     }
36                     leaf three {
37                         type string;
38                     }
39                }
40            }
41            list inner-list {
42                 key name;
43                 leaf name {
44                     type string;
45                 }
46                 leaf value {
47                     type string;
48                 }
49             }
50         }
51
52         container outer-container {
53         }
54     }
55
56     container test2 {
57         presence "needs to be present when empty";
58     }
59 }