1 module controller-network {
3 namespace "urn:opendaylight:controller:network";
6 import ietf-inet-types { prefix "inet"; }
9 description "Initial demo";
29 description "identifier for termination points on a port";
34 path "/network/topologies/topology/nodes/node/termination-points/termination-point/tp-id";
37 typedef topology-ref {
39 path "/network/topologies/topology/topology-id";
41 description "This type is used for leafs that reference topology identifier instance.";
47 path "/network/topologies/topology/nodes/node/node-id";
49 description "This type is used for leafs that reference a node instance.";
54 path "/network/topologies/topology/links/link/link-id";
56 description "This type is used for leafs that reference a link instance.";
60 typedef network-element-ref {
62 path "/network/network-elements/network-element/element-id";
72 container topologies {
75 This is the model of abstract topology which contains only Network
76 Nodes and Network Links. Each topology MUST be identified by
77 unique topology-id for reason that the store could contain many
84 It is presumed that datastore will contain many topologies. To
85 distinguish between topologies it is vital to have UNIQUE
92 The container for definition of topology types.
93 The augmenting modules should add empty optional leaf
94 to this container to signalize topology type.
100 description "The list of network nodes defined for topology.";
105 description "The Topology identifier of network-node.";
109 type network-element-ref;
112 container termination-points {
113 list termination-point {
126 The Network Link which is defined by Local (Source) and
127 Remote (Destination) Network Nodes. Every link MUST be
128 defined either by identifier and his local and remote
129 Network Nodes (in real applications it is common that many
130 links are originated from one node and end up in same
131 remote node). To ensure that we would always know to
132 distinguish between links, every link SHOULD have
143 description "Source node identifier.";
149 container destination {
152 description "Destination node identifier.";
162 container network-elements {
164 list network-element {