1 module controller-network {
3 namespace "urn:opendaylight:controller:network";
6 import ietf-inet-types { prefix "inet"; }
9 description "Initial demo";
28 description "identifier for termination points on a port";
33 path "/network/topologies/topology/nodes/node/termination-points/termination-point/tp-id";
36 typedef topology-ref {
38 path "/network/topologies/topology/topology-id";
40 description "This type is used for leafs that reference topology identifier instance.";
46 path "/network/topologies/topology/nodes/node/node-id";
48 description "This type is used for leafs that reference a node instance.";
53 path "/network/topologies/topology/links/link/link-id";
55 description "This type is used for leafs that reference a link instance.";
59 typedef network-element-ref {
61 path "/network/network-elements/network-element/element-id";
71 container topologies {
74 This is the model of abstract topology which contains only Network
75 Nodes and Network Links. Each topology MUST be identified by
76 unique topology-id for reason that the store could contain many
83 It is presumed that datastore will contain many topologies. To
84 distinguish between topologies it is vital to have UNIQUE
91 The container for definition of topology types.
92 The augmenting modules should add empty optional leaf
93 to this container to signalize topology type.
99 description "The list of network nodes defined for topology.";
104 description "The Topology identifier of network-node.";
108 type network-element-ref;
111 container termination-points {
112 list termination-point {
125 The Network Link which is defined by Local (Source) and
126 Remote (Destination) Network Nodes. Every link MUST be
127 defined either by identifier and his local and remote
128 Network Nodes (in real applications it is common that many
129 links are originated from one node and end up in same
130 remote node). To ensure that we would always know to
131 distinguish between links, every link SHOULD have
142 description "Source node identifier.";
148 container destination {
151 description "Destination node identifier.";
161 container network-elements {
163 list network-element {