4bdc209aa7b6f7afde77d393e203c67c4e740068
[mdsal.git] / code-generator / binding-java-api-generator / src / test / resources / compilation / augment-uses-to-augment / baz.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 baz {
9     yang-version 1;
10     namespace "urn:opendaylight.baz";
11     prefix "baz";
12
13     import foo {
14         prefix "fo";
15         revision-date 2013-10-08;
16     }
17
18     import bar {
19         prefix "br";
20         revision-date 2013-10-08;
21     }
22         
23         description "Baz - Network topology is the arrangement of the various elements (links, nodes, etc.) of a computer network.[1][2] Essentially, it is the topological[3] structure of a network, and may be depicted physically or logically. Physical topology is the placement of the various components of a network, including device location and cable installation, while logical topology illustrates how data flows within a network, regardless of its physical design. Distances between nodes, physical interconnections, transmission rates, or signal types may differ between two networks, yet their topologies may be identical.";
24         reference "RFC 6020 - http://tools.ietf.org/html/rfc6020";
25
26     revision "2013-10-08" {
27     }
28
29
30
31     augment "/br:network-topology/br:topology/br:link/fo:igp-link-attributes" {
32         uses link-attributes;
33     }
34
35     grouping link-attributes {
36         container ospf-link-attributes {
37                         description "Ospf-link-attributes - Network topology is the arrangement of the various elements (links, nodes, etc.) of a computer network.[1][2] Essentially, it is the topological[3] structure of a network, and may be depicted physically or logically. Physical topology is the placement of the various components of a network, including device location and cable installation, while logical topology illustrates how data flows within a network, regardless of its physical design. Distances between nodes, physical interconnections, transmission rates, or signal types may differ between two networks, yet their topologies may be identical.";
38                         reference "RFC 6020 - http://tools.ietf.org/html/rfc6020";
39             leaf multi-topology-id {
40                                 description "Multi-topology-id - Network topology is the arrangement of the various elements (links, nodes, etc.) of a computer network.[1][2] Essentially, it is the topological[3] structure of a network, and may be depicted physically or logically. Physical topology is the placement of the various components of a network, including device location and cable installation, while logical topology illustrates how data flows within a network, regardless of its physical design. Distances between nodes, physical interconnections, transmission rates, or signal types may differ between two networks, yet their topologies may be identical.";
41                                 reference "RFC 6020 - http://tools.ietf.org/html/rfc6020";
42                                 
43                 type uint8 {
44                     range "0..127";
45                 }
46             }
47         }
48     }
49
50 }