Move models to top-level directory
[controller.git] / 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 opendaylight-inventory {prefix "inv";}
9     import network-topology {prefix "topo"; revision-date "2013-10-21"; }
10
11     organization "TBD";
12
13     contact "WILL-BE-DEFINED-LATER";
14
15     revision 2013-10-30 {
16         description
17             "Initial revision.";
18     }
19
20     augment "/topo:network-topology/topo:topology/topo:node" {
21         ext:augment-identifier "inventory-node";
22         leaf inventory-node-ref {
23             type inv:node-ref;
24         }
25     }
26
27     augment "/topo:network-topology/topo:topology/topo:node/topo:termination-point" {
28         ext:augment-identifier "inventory-node-connector";
29         leaf inventory-node-connector-ref {
30             ext:context-reference "inv:node-connector-context";
31             type inv:node-connector-ref;
32         }
33     }
34 }