Fixed organization and contact reference in yang test files.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-generator-impl / src / test / resources / simple-list-demo.yang
1 module simple-list-demo {
2         yang-version 1;
3     namespace "urn:simple.container.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 "2013-02-27" {
17         reference " WILL BE DEFINED LATER";
18     }
19
20     container list-parent-container {
21
22         list simple-list {
23                 key "list-key";
24
25                 leaf list-key {
26                         type int8;
27                 }
28             
29             container list-child-container {
30                 leaf foo {
31                     type uint8;
32                 }
33             }
34             
35                 leaf foo {
36                         type int32;
37                 }
38             
39             leaf-list simple-leaf-list {
40                 type int32;
41             }
42             
43                 leaf bar {
44                         type string;
45                         config true;
46                 }       
47         }
48     }
49 }