1 module opendaylight-topology {
3 namespace "urn:opendaylight:model:topology:general";
4 // replace with IANA namespace when assigned
7 import yang-ext { prefix "ext"; }
8 import ietf-inet-types { prefix "inet"; }
9 import opendaylight-inventory {prefix "inv";}
10 import network-topology {prefix "topo";}
14 contact "WILL-BE-DEFINED-LATER";
25 typedef node-type-ref {
31 identity topology-context {
35 identity topology-node-context {
39 grouping node-identifiers {
40 list node-identifier {
41 key "type identifier";
51 augment "/topo:network-topology/topo:topology" {
52 ext:context-instance "topology-context";
55 /* Inventory Augmentations */
56 augment "/topo:network-topology/topo:topology/topo:node" {
57 ext:context-instance "topology-node-context";
60 augment "/topo:network-topology/topo:topology/topo:node" {
61 ext:augment-identifier "identifiable-node";
62 uses node-identifiers;