Remove odl-controller-exp-messagebus
[controller.git] / model / model-topology / src / main / yang / opendaylight-topology-view.yang
1 module opendaylight-topology-view  {
2     yang-version 1;
3     namespace "urn:opendaylight:model:topology:view";
4     // replace with IANA namespace when assigned
5     prefix "nt";
6
7     import yang-ext { prefix "ext"; }
8     import network-topology {prefix "topo"; revision-date "2013-10-21"; }
9
10     organization "TBD";
11
12     contact "WILL-BE-DEFINED-LATER";
13
14     revision 2013-10-30 {
15         description
16             "Initial revision.";
17     }
18     
19
20     grouping aggregate-topology {
21         leaf-list original-topology {
22             type topo:topology-ref;     
23         }
24     }
25
26     grouping aggregate-node {
27         list original-node {
28             leaf topology {
29                 type topo:topology-ref;
30             }
31             leaf node {
32                 type topo:node-ref;
33             }
34         }
35     }
36
37     augment "/topo:network-topology/topo:topology" {
38         ext:augment-identifier "aggregated-topology";
39         uses aggregate-topology;
40     }
41
42     augment "/topo:network-topology/topo:topology/topo:node" {
43         ext:augment-identifier "aggregated-node";
44         uses aggregate-node;
45     }
46 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.