1 module ietf-te-topology-state {
3 namespace "urn:ietf:params:xml:ns:yang:ietf-te-topology-state";
9 "RFC 8776: Common YANG Data Types for Traffic Engineering";
11 import ietf-te-topology {
14 "RFC 8795: YANG Data Model for Traffic Engineering (TE)
17 import ietf-network-state {
20 "RFC 8345: A YANG Data Model for Network Topologies";
22 import ietf-network-topology-state {
25 "RFC 8345: A YANG Data Model for Network Topologies";
29 "IETF Traffic Engineering Architecture and Signaling (TEAS)
32 "WG Web: <https://datatracker.ietf.org/wg/teas/>
33 WG List: <mailto:teas@ietf.org>
36 <mailto:xufeng.liu.ietf@gmail.com>
39 <mailto:i_bryskin@yahoo.com>
41 Editor: Vishnu Pavan Beeram
42 <mailto:vbeeram@juniper.net>
45 <mailto:tsaad@juniper.net>
48 <mailto:hshah@ciena.com>
50 Editor: Oscar Gonzalez de Dios
51 <mailto:oscar.gonzalezdedios@telefonica.com>";
53 "This YANG module defines a TE topology state model.
55 Copyright (c) 2020 IETF Trust and the persons identified as
56 authors of the code. All rights reserved.
58 Redistribution and use in source and binary forms, with or
59 without modification, is permitted pursuant to, and subject to
60 the license terms contained in, the Simplified BSD License set
61 forth in Section 4.c of the IETF Trust's Legal Provisions
62 Relating to IETF Documents
63 (https://trustee.ietf.org/license-info).
65 This version of this YANG module is part of RFC 8795; see the
66 RFC itself for full legal notices.";
72 "RFC 8795: YANG Data Model for Traffic Engineering (TE)
80 grouping te-node-connectivity-matrix-attributes {
82 "Termination point references of a connectivity matrix entry.";
85 "Reference to a source Link Termination Point (LTP).";
88 path "../../../../../../nt-s:termination-point/nt-s:tp-id";
91 "Relative reference to a termination point.";
93 uses te-types:label-set-info;
97 "Reference to a destination LTP.";
100 path "../../../../../../nt-s:termination-point/nt-s:tp-id";
103 "Relative reference to a termination point.";
105 uses te-types:label-set-info;
107 uses tet:connectivity-matrix-entry-path-attributes;
109 // te-node-connectivity-matrix-attributes
111 grouping te-node-tunnel-termination-point-llc-list {
113 "Local Link Connectivity List (LLCL) of a Tunnel Termination
114 Point (TTP) on a TE node.";
115 list local-link-connectivity {
118 "The termination capabilities between the TTP and the LTP.
119 This capability information can be used to compute
121 The Interface Adjustment Capability Descriptors (IACDs)
122 (defined in RFC 6001) on each LTP can be derived from
125 "RFC 6001: Generalized MPLS (GMPLS) Protocol Extensions
126 for Multi-Layer and Multi-Region Networks (MLN/MRN)";
129 path "../../../../../nt-s:termination-point/nt-s:tp-id";
134 uses te-types:label-set-info;
135 uses tet:connectivity-matrix-entry-path-attributes;
137 // local-link-connectivity
139 // te-node-tunnel-termination-point-llc-list
145 augment "/nw-s:networks/nw-s:network/nw-s:network-types" {
147 "Introduces a new network type for a TE topology.";
148 container te-topology {
149 presence "Indicates a TE topology";
151 "Its presence identifies the TE topology type.";
155 augment "/nw-s:networks" {
157 "Augmentation parameters for TE topologies.";
158 uses tet:te-topologies-augment;
161 augment "/nw-s:networks/nw-s:network" {
162 when 'nw-s:network-types/tet-s:te-topology' {
164 "Augmentation parameters apply only for networks with a
168 "Configuration parameters for a TE topology.";
169 uses tet:te-topology-augment;
172 augment "/nw-s:networks/nw-s:network/nw-s:node" {
173 when '../nw-s:network-types/tet-s:te-topology' {
175 "Augmentation parameters apply only for networks with a
179 "Configuration parameters for TE at the node level.";
181 type te-types:te-node-id;
183 "The identifier of a node in the TE topology.
184 A node is specific to a topology to which it belongs.";
187 must '../te-node-id' {
189 "'te-node-id' is mandatory.";
191 must 'count(../nw-s:supporting-node)<=1' {
193 "For a node in a TE topology, there cannot be more
194 than one supporting node. If multiple nodes are
195 abstracted, the 'underlay-topology' field is used.";
197 presence "TE support";
199 "Indicates TE support.";
200 uses tet:te-node-augment;
204 augment "/nw-s:networks/nw-s:network/nt-s:link" {
205 when '../nw-s:network-types/tet-s:te-topology' {
207 "Augmentation parameters apply only for networks with a
211 "Configuration parameters for TE at the link level.";
213 must 'count(../nt-s:supporting-link)<=1' {
215 "For a link in a TE topology, there cannot be more
216 than one supporting link. If one or more link paths are
217 abstracted, the underlay is used.";
219 presence "TE support";
221 "Indicates TE support.";
222 uses tet:te-link-augment;
226 augment "/nw-s:networks/nw-s:network/nw-s:node/"
227 + "nt-s:termination-point" {
228 when '../../nw-s:network-types/tet-s:te-topology' {
230 "Augmentation parameters apply only for networks with a
234 "Configuration parameters for TE at the termination point
236 uses tet:te-termination-point-augment;
239 augment "/nw-s:networks/nw-s:network/nt-s:link/te/"
240 + "bundle-stack-level/bundle/bundled-links/bundled-link" {
241 when '../../../../nw-s:network-types/tet-s:te-topology' {
243 "Augmentation parameters apply only for networks with a
247 "Augmentation for a TE bundled link.";
250 path "../../../../../nw-s:node[nw-s:node-id = "
251 + "current()/../../../../nt-s:source/"
252 + "nt-s:source-node]/"
253 + "nt-s:termination-point/nt-s:tp-id";
254 require-instance true;
257 "Reference to another TE termination point on the
262 path "../../../../../nw-s:node[nw-s:node-id = "
263 + "current()/../../../../nt-s:destination/"
265 + "nt-s:termination-point/nt-s:tp-id";
266 require-instance true;
269 "Reference to another TE termination point on the
270 same destination node.";
274 augment "/nw-s:networks/nw-s:network/nw-s:node/te/"
275 + "information-source-entry/connectivity-matrices/"
276 + "connectivity-matrix" {
277 when '../../../../../nw-s:network-types/tet-s:te-topology' {
279 "Augmentation parameters apply only for networks with a
283 "Augmentation for the TE node connectivity matrix.";
284 uses te-node-connectivity-matrix-attributes;
287 augment "/nw-s:networks/nw-s:network/nw-s:node/te/"
288 + "te-node-attributes/connectivity-matrices/"
289 + "connectivity-matrix" {
290 when '../../../../../nw-s:network-types/tet-s:te-topology' {
292 "Augmentation parameters apply only for networks with a
296 "Augmentation for the TE node connectivity matrix.";
297 uses te-node-connectivity-matrix-attributes;
300 augment "/nw-s:networks/nw-s:network/nw-s:node/te/"
301 + "tunnel-termination-point/local-link-connectivities" {
302 when '../../../../nw-s:network-types/tet-s:te-topology' {
304 "Augmentation parameters apply only for networks with a
308 "Augmentation for TE node TTP LLCs (Local Link
310 uses te-node-tunnel-termination-point-llc-list;