Merge "OF plugin classes must have a strict dependency on Connection Service"
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-generator-impl / src / test / resources / simple-leaf-list-demo.yang
1 module simple-leaf-list-demo {
2     yang-version 1;
3     namespace "urn:simple.leaf-list.demo";
4     prefix "scd";
5
6     organization "OPEN DAYLIGHT";
7     contact "http://www.opendaylight.org/";
8
9     description "
10         This module contains the definitions of elements that creates network 
11         topology i.e. definition of network nodes and links. This module is
12         not designed to be used solely for network representation. This module
13         SHOULD be used as base module in defining the network topology.
14     ";
15
16     revision "2012-02-08" {
17         reference " WILL BE DEFINED LATER";
18     }
19
20     revision "2010-02-08" {
21         reference " WILL BE DEFINED LATER";
22     }
23
24     container simple-container {
25
26         leaf-list foo {
27             type int32;
28         }
29
30         leaf bar {
31             type string;
32             config true;
33         }
34
35         container nested-container {
36             leaf foo {
37                 type uint8;
38             }
39
40             leaf-list bar {
41                 type string;
42                 config true;
43             }
44         }
45     }
46 }