Introduce top-level pom file.
[mdsal.git] / code-generator / binding-java-api-generator / src / test / resources / simple-container-demo.yang
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 module simple-container-demo {
9         yang-version 1;
10     namespace "urn:simple.container.demo";
11     prefix "scd";
12
13     organization "OPEN DAYLIGHT";
14     contact "http://www.opendaylight.org/";
15
16     description "
17         This module contains the definitions of elements that creates network 
18         topology i.e. definition of network nodes and links. This module is
19         not designed to be used solely for network representation. This module
20         SHOULD be used as base module in defining the network topology.
21     ";
22
23     revision "2012-02-08" {
24         reference " WILL BE DEFINED LATER";
25     }
26
27     revision "2010-02-08" {
28         reference " WILL BE DEFINED LATER";
29     }
30
31     container simple-container {
32
33         leaf foo {
34                 type int32;
35         }
36
37         leaf bar {
38                 type string;
39                 config true;
40         }
41
42         container nested-container {
43                 leaf foo {
44                         type uint8;
45                 }
46
47                 leaf bar {
48                         type string;
49                 }
50         }
51     }
52 }