9 namespace "urn:ietf:params:xml:ns:yang:ietf-network";
12 import ietf-inet-types {
22 "WILL-BE-DEFINED-LATER";
24 "This module defines a common base model for a collection
25 of nodes in a network. Node definitions s are further used
26 in network topologies and inventories.";
31 reference "draft-ietf-i2rs-yang-network-topo-01";
37 "Identifier for a node.";
43 "Identifier for a network.";
46 grouping network-ref {
48 "Contains the information necessary to reference a network,
49 for example an underlay network.";
52 path "/network/network-id";
55 "Used to reference a network, for example an underlay
62 "Contains the information necessary to reference a node.";
65 path "/network[network-id=current()/../network-ref]"+
69 "Used to reference a node.
70 Nodes are identified relative to the network they are
81 A network typically contains an inventory of nodes,
82 topological information (augmented through
83 network-topology model), as well as layering
85 container network-types {
87 "Serves as an augmentation target.
88 The network type is indicated through corresponding
89 presence containers augmented into this container.";
94 "Identifies a network.";
96 leaf server-provided {
100 "Indicates whether the information concerning this
101 particular network is populated by the server
102 (server-provided true, the general case for network
103 information discovered from the server),
104 or whether it is configured by a client
105 (server-provided true, possible e.g. for
106 service overlays managed through a controller).";
108 list supporting-network {
111 "An underlay network, used to represent layered network
116 path "/network/network-id";
119 "References the underlay network.";
125 "The inventory of nodes of this network.";
129 "Identifies a node uniquely within the containing
132 list supporting-node {
133 key "network-ref node-ref";
135 "Represents another node, in an underlay network, that
136 this node is supported by. Used to represent layering
140 path "../../../supporting-network/network-ref";
143 "References the underlay network that the
144 underlay node is part of.";
148 path "/network/node/node-id";
151 "References the underlay node itself.";