9fccb9950b6390169d1054d485a319274057cd07
[controller.git] / opendaylight / model / model-topology / src / main / yang / opendaylight-topology-inventory.yang
1 module opendaylight-topology-inventory {
2     yang-version 1;
3     namespace "urn:opendaylight:model:topology:inventory";
4     // replace with IANA namespace when assigned
5     prefix "nt";
6
7     import yang-ext { prefix "ext"; }
8     import ietf-inet-types { prefix "inet"; }
9     import opendaylight-inventory {prefix "inv";}
10     import opendaylight-topology {prefix "odt";}
11     import network-topology {prefix "topo"; revision-date "2013-10-21"; }
12
13     organization "TBD";
14
15     contact "WILL-BE-DEFINED-LATER";
16
17     revision 2013-10-30 {
18         description
19             "Initial revision.";
20     }
21
22     augment "/topo:network-topology/topo:topology/topo:node" {
23         ext:augment-identifier "inventory-node";
24         leaf inventory-node-ref {
25             type inv:node-ref;
26         }
27     }
28
29     augment "/topo:network-topology/topo:topology/topo:node/topo:termination-point" {
30         ext:augment-identifier "inventory-node-connector";
31         leaf inventory-node-connector-ref {
32             ext:context-reference "inv:node-connector-context";
33             type inv:node-connector-ref;
34         }
35     }
36 }

©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.