1 module controller-network {
3 namespace "urn:opendaylight:controller:network";
6 import ietf-inet-types { prefix "inet"; }
9 description "Initial demo";
26 description "identifier for termination points on a port";
31 path "/network/topologies/topology/nodes/node/termination-points/termination-point/tp-id";
34 typedef topology-ref {
36 path "/network/topologies/topology/topology-id";
38 description "This type is used for leafs that reference topology identifier instance.";
44 path "/network/topologies/topology/nodes/node/node-id";
46 description "This type is used for leafs that reference a node instance.";
51 path "/network/topologies/topology/links/link/link-id";
53 description "This type is used for leafs that reference a link instance.";
57 typedef network-element-ref {
59 path "/network/network-elements/network-element/element-id";
68 container topologies {
71 This is the model of abstract topology which contains only Network
72 Nodes and Network Links. Each topology MUST be identified by
73 unique topology-id for reason that the store could contain many
80 It is presumed that datastore will contain many topologies. To
81 distinguish between topologies it is vital to have UNIQUE
88 The container for definition of topology types.
89 The augmenting modules should add empty optional leaf
90 to this container to signalize topology type.";
95 description "The list of network nodes defined for topology.";
100 description "The Topology identifier of network-node.";
104 type network-element-ref;
107 container termination-points {
108 list termination-point {
121 The Network Link which is defined by Local (Source) and
122 Remote (Destination) Network Nodes. Every link MUST be
123 defined either by identifier and his local and remote
124 Network Nodes (in real applications it is common that many
125 links are originated from one node and end up in same
126 remote node). To ensure that we would always know to
127 distinguish between links, every link SHOULD have
138 description "Source node identifier.";
144 container destination {
147 description "Destination node identifier.";
157 container network-elements {
159 list network-element {