3 namespace "urn:ietf:params:xml:ns:yang:ietf-network";
6 import ietf-inet-types {
12 "WILL-BE-DEFINED-LATER";
14 "This module defines a common base model for a collection
15 of nodes in a network. Node definitions s are further used
16 in network topologies and inventories.";
21 reference "draft-ietf-i2rs-yang-network-topo-01";
27 "Identifier for a node.";
33 "Identifier for a network.";
36 grouping network-ref {
38 "Contains the information necessary to reference a network,
39 for example an underlay network.";
42 path "/network/network-id";
45 "Used to reference a network, for example an underlay
52 "Contains the information necessary to reference a node.";
55 path "/network[network-id=current()/../network-ref]"+
59 "Used to reference a node.
60 Nodes are identified relative to the network they are
70 A network typically contains an inventory of nodes,
71 topological information (augmented through
72 network-topology model), as well as layering
74 container network-types {
76 "Serves as an augmentation target.
77 The network type is indicated through corresponding
78 presence containers augmented into this container.";
83 "Identifies a network.";
85 leaf server-provided {
89 "Indicates whether the information concerning this
90 particular network is populated by the server
91 (server-provided true, the general case for network
92 information discovered from the server),
93 or whether it is configured by a client
94 (server-provided true, possible e.g. for
95 service overlays managed through a controller).";
97 list supporting-network {
100 "An underlay network, used to represent layered network
104 path "/network/network-id";
107 "References the underlay network.";
113 "The inventory of nodes of this network.";
117 "Identifies a node uniquely within the containing
120 list supporting-node {
121 key "network-ref node-ref";
123 "Represents another node, in an underlay network, that
124 this node is supported by. Used to represent layering
128 path "../../../supporting-network/network-ref";
131 "References the underlay network that the
132 underlay node is part of.";
136 path "/network/node/node-id";
139 "References the underlay node itself.";