9 namespace "urn:ietf:params:xml:ns:yang:ietf-network";
12 import ietf-inet-types {
18 "WILL-BE-DEFINED-LATER";
20 "This module defines a common base model for a collection
21 of nodes in a network. Node definitions s are further used
22 in network topologies and inventories.";
27 reference "draft-ietf-i2rs-yang-network-topo-01";
33 "Identifier for a node.";
39 "Identifier for a network.";
42 grouping network-ref {
44 "Contains the information necessary to reference a network,
45 for example an underlay network.";
48 path "/network/network-id";
51 "Used to reference a network, for example an underlay
58 "Contains the information necessary to reference a node.";
61 path "/network[network-id=current()/../network-ref]"+
65 "Used to reference a node.
66 Nodes are identified relative to the network they are
77 A network typically contains an inventory of nodes,
78 topological information (augmented through
79 network-topology model), as well as layering
81 container network-types {
83 "Serves as an augmentation target.
84 The network type is indicated through corresponding
85 presence containers augmented into this container.";
90 "Identifies a network.";
92 leaf server-provided {
96 "Indicates whether the information concerning this
97 particular network is populated by the server
98 (server-provided true, the general case for network
99 information discovered from the server),
100 or whether it is configured by a client
101 (server-provided true, possible e.g. for
102 service overlays managed through a controller).";
104 list supporting-network {
107 "An underlay network, used to represent layered network
112 path "/network/network-id";
115 "References the underlay network.";
121 "The inventory of nodes of this network.";
125 "Identifies a node uniquely within the containing
128 list supporting-node {
129 key "network-ref node-ref";
131 "Represents another node, in an underlay network, that
132 this node is supported by. Used to represent layering
136 path "../../../supporting-network/network-ref";
139 "References the underlay network that the
140 underlay node is part of.";
144 path "/network/node/node-id";
147 "References the underlay node itself.";