Merge "Ganymed patch fix"
[controller.git] / opendaylight / md-sal / 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";}
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         uses inv:node-context-ref;
25     }
26
27     augment "/topo:network-topology/topo:topology/topo:node/topo:termination-point" {
28         ext:augment-identifier "inventory-node-connector";
29         leaf node-connector {
30             ext:context-reference "inv:node-connector-context";
31             type inv:node-connector-ref;
32         }
33     }
34 }