Introduce top-level pom file.
[mdsal.git] / binding / mdsal-binding-java-api-generator / src / test / resources / compilation / encoding-javadoc / encoding-javadoc.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 encoding-javadoc {
9     yang-version 1;
10     namespace "urn:opendaylight:encoding-javadoc";
11     prefix "enc";
12
13     revision "2014-04-09" {
14     }
15
16     container cont1 {
17         description "/e.g. 1/*/*";
18         reference "RFC 6020 - http://tools.ietf.org/html/rfc6020";
19
20         list list1 {
21             description "/e.g. 1/*/*";
22             reference "RFC 6020 - http://tools.ietf.org/html/rfc6020";
23
24             key "topology-id";
25             leaf topology-id {
26                 description "/e.g. 1/*/*";
27                 reference "RFC 6020 - http://tools.ietf.org/html/rfc6020";
28                 type int32;
29             }
30             uses link1;
31         }
32     }
33
34     grouping link1 {
35         list link1 {
36             description "/e.g. 1/*/*";
37             reference "RFC 6020 - http://tools.ietf.org/html/rfc6020";
38             key "link-id";
39             uses link-attributes;
40         }
41     }
42
43     grouping link-attributes {
44         leaf link-id {
45             description "/e.g. 1/*/*";
46             reference "RFC 6020 - http://tools.ietf.org/html/rfc6020";
47             type int8;
48         }
49     }
50
51     leaf inclusion-rulez {
52         description "/e.g. 1/*/*";
53         reference "RFC 6020 http://technet.com";
54
55         type string;
56     }
57
58     leaf inclusion-rule {
59         description "/e.g. 1/*/*";
60         default include;
61
62         type enumeration {
63             enum include {
64                 description
65                     "/e.g. 1/*/*";
66             }
67             enum exclude {
68                 description
69                     "/e.g. 1/*/*";
70             }
71         }
72     }
73 }