1 // vi: set smarttab sw=4 tabstop=4:
2 module abstract-topology {
7 import ietf-inet-types { prefix "inet"; }
8 import abstract-prefixes { prefix "abs-pref"; }
10 organization "OPEN DAYLIGHT";
11 contact "http://www.opendaylight.org/";
14 This module contains the definitions of elements that creates network
15 topology i.e. definition of network nodes and links. This module is
16 not designed to be used solely for network representation. This module
17 SHOULD be used as base module in defining the network topology.
20 revision "2013-02-08" {
21 reference " WILL BE DEFINED LATER";
24 revision "2013-03-08" {
25 reference " WILL BE DEFINED LATER";
28 revision "2012-02-08" {
29 reference " WILL BE DEFINED LATER";
32 typedef topology-id-ref {
34 path "/tp:topology/tp:topology-id";
36 description "This type is used for leafs that reference topology identifier instance.";
39 typedef network-node-id-ref {
41 path "/tp:topology/tp:network-nodes/tp:network-node/tp:node-id";
43 description "This type is used for leafs that reference network node instance.";
48 path "/tp:topology/tp:network-links/tp:network-link/tp:link-id";
50 description "This type is used for leafs that reference network link instance.";
55 This is the model of abstract topology which contains only Network
56 Nodes and Network Links. Each topology MUST be identified by
57 unique topology-id for reason that the store could contain many
64 It is presumed that datastore will contain many topologies. To
65 distinguish between topologies it is vital to have UNIQUE
70 container network-nodes {
72 description "The list of network nodes defined for topology.";
78 description "The Topology identifier of network-node.";
81 container attributes {
83 Additional attributes that can Network Node contains.
89 container network-links {
92 The Network Link which is defined by Local (Source) and
93 Remote (Destination) Network Nodes. Every link MUST be
94 defined either by identifier and his local and remote
95 Network Nodes (in real applications it is common that many
96 links are originated from one node and end up in same
97 remote node). To ensure that we would always know to
98 distinguish between links, every link SHOULD have
111 description "Source node identifier.";
115 container destination {
118 description "Destination node identifier.";
122 container attributes {
123 description "Aditional attributes that can Network Link contains.";
129 //TODO: add base operations